-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v0.4.16 * updated sanity pipeline --------- Signed-off-by: Noam Gal <[email protected]>
- Loading branch information
Showing
4 changed files
with
60 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
VERSION=v0.4.15 | ||
VERSION=v0.4.16 | ||
OUT_DIR=dist | ||
|
||
CLI_NAME?=argocd-autopilot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ steps: | |
title: Clean old repo | ||
image: 'codefresh/kube-helm' | ||
commands: | ||
- curl -H "Authorization:Bearer $GIT_TOKEN" -X DELETE "https://api.github.com/repos/${{GIT_REPO}}" || true | ||
- curl -H "Authorization:Bearer $GITHUB_TOKEN" -X DELETE "https://api.github.com/repos/${{GIT_REPO}}" || true | ||
when: | ||
steps: | ||
- name: prep | ||
|
@@ -81,6 +81,7 @@ steps: | |
commands: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "cf-ci-bot" | ||
- export GIT_TOKEN=${{GITHUB_TOKEN}} | ||
- export GIT_REPO=https://github.com/${{GIT_REPO}} | ||
- argocd-autopilot repo bootstrap -n $NAMESPACE | ||
- argocd-autopilot project create e2e | ||
|
@@ -96,10 +97,11 @@ steps: | |
title: "delete bootstrap & cleanup" | ||
image: "codefresh/kube-helm" | ||
commands: | ||
- export GIT_TOKEN=${{GITHUB_TOKEN}} | ||
- export GIT_REPO=https://github.com/${{GIT_REPO}} | ||
- argocd-autopilot repo uninstall --request-timeout 5m | ||
- kubectl delete namespace $NAMESPACE | ||
- curl -H "Authorization:Bearer $GIT_TOKEN" -X DELETE "https://api.github.com/repos/${{GIT_REPO}}" || true | ||
- curl -H "Authorization:Bearer $GITHUB_TOKEN" -X DELETE "https://api.github.com/repos/${{GIT_REPO}}" || true | ||
when: | ||
steps: | ||
- name: run_bootstrap | ||
|
@@ -113,9 +115,13 @@ steps: | |
commands: | ||
- kubectl delete application autopilot-bootstrap -n $NAMESPACE --request-timeout ${{KUBECTL_TIMEOUT}} || true | ||
- kubectl delete ns $NAMESPACE --request-timeout ${{KUBECTL_TIMEOUT}} || true | ||
- curl -H "Authorization:Bearer $GIT_TOKEN" -X DELETE "https://api.github.com/repos/${{GIT_REPO}}" || true | ||
- curl -H "Authorization:Bearer $GITHUB_TOKEN" -X DELETE "https://api.github.com/repos/${{GIT_REPO}}" || true | ||
when: | ||
steps: | ||
- name: run_bootstrap | ||
on: | ||
- failure | ||
any: | ||
- name: run_bootstrap | ||
on: | ||
- failure | ||
- name: delete_bootstrap | ||
on: | ||
- failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters