Skip to content

Commit

Permalink
test: Run imagery standardising smoke test on infra changes TDE-1285
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Oct 16, 2024
1 parent 1b8b0ab commit 77d0e25
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
on: [push]
env:
ARGO_URL: https://github.com/argoproj/argo-workflows/releases/download/v3.5.5/argo-linux-amd64.gz
jobs:
main:
name: Build, Format and Test
Expand All @@ -13,7 +15,7 @@ jobs:
run: docker run --volume="${PWD}:/repo" --workdir=/repo actionlint -color
- name: Install Argo
run: |
curl -sLO https://github.com/argoproj/argo-workflows/releases/download/v3.5.5/argo-linux-amd64.gz
curl --location --remote-name --silent "${{ env.ARGO_URL }}"
gunzip argo-linux-amd64.gz
chmod +x argo-linux-amd64
./argo-linux-amd64 version
Expand Down Expand Up @@ -108,3 +110,13 @@ jobs:
for cwf in $CRON_WORKFLOWS; do
kubectl apply -f "$cwf" --namespace argo
done
- name: Install Argo
if: steps.get-infra-changes.outputs.run_infra == 'true'
run: |
curl --location --remote-name --silent "${{ env.ARGO_URL }}"
gunzip argo-linux-amd64.gz
chmod +x argo-linux-amd64
- name: Smoke test
if: steps.get-infra-changes.outputs.run_infra == 'true'
run: |
./argo-linux-amd64 --namespace=argo submit --wait --from=wftmpl/imagery-standardising --parameter=validate=false --parameter=gsd=0.3 --parameter=start_datetime=2017-12-02 --parameter=end_datetime=2018-03-11 --parameter=lifecycle="under development" --generate-name="test-ci-is-"

0 comments on commit 77d0e25

Please sign in to comment.