Skip to content

Commit

Permalink
Update scripts URL for test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanevet committed Mar 3, 2021
1 parent b4edeec commit d14678f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci/pipeline.yaml
Expand Up @@ -63,7 +63,7 @@ mr:argocd:diff:
- export PATH="/tmp:$PATH"
script:
- set -o allexport && . .env && set +o allexport
- python3 -c "import urllib.request; print(urllib.request.urlopen('https://raw.githubusercontent.com/camptocamp/camptocamp-devops-stack/v$CAMPTOCAMP_DEVOPS_STACK_VERSION/scripts/app-diff.sh').read().decode())" | bash
- python3 -c "import urllib.request; print(urllib.request.urlopen('https://raw.githubusercontent.com/mcanevet/camptocamp-devops-stack/get-rid-of-outputs-json/scripts/app-diff.sh').read().decode())" | bash
needs:
- job: mr:terraform:plan
artifacts: true
Expand Down Expand Up @@ -113,7 +113,7 @@ pb:argocd:wait-for-app-of-apps:
- export PATH="/tmp:$PATH"
script:
- set -o allexport && . .env && set +o allexport
- python3 -c "import urllib.request; print(urllib.request.urlopen('https://raw.githubusercontent.com/camptocamp/camptocamp-devops-stack/v$CAMPTOCAMP_DEVOPS_STACK_VERSION/scripts/wait-for-app-of-apps.sh').read().decode())" | bash
- python3 -c "import urllib.request; print(urllib.request.urlopen('https://raw.githubusercontent.com/mcanevet/camptocamp-devops-stack/get-rid-of-outputs-json/scripts/wait-for-app-of-apps.sh').read().decode())" | bash
needs:
- job: pb:terraform:apply
artifacts: true
Expand Down
5 changes: 1 addition & 4 deletions scripts/app-diff.sh
Expand Up @@ -15,10 +15,7 @@ set -e
export KUBECTL_EXTERNAL_DIFF="diff -u"
export ARGOCD_OPTS="--plaintext --port-forward --port-forward-namespace argocd"

pwd
ls

# cd /tmp || exit
cd /tmp || exit

git clone "$REPO_URL"
cd camptocamp-devops-stack || exit
Expand Down

0 comments on commit d14678f

Please sign in to comment.