Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Run imagery standardising smoke test on infra changes TDE-1285 #818

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-"