Update e2e testing with new cli args

Signed-off-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
pull/860/head
Jonathan Innis 4 years ago committed by jonathan-innis
parent fa98403aa8
commit ade6bfcbca
No known key found for this signature in database
GPG Key ID: 5046BA5825A72350

@ -166,12 +166,18 @@ jobs:
./bin/flux create image repository podinfo \ ./bin/flux create image repository podinfo \
--image=ghcr.io/stefanprodan/podinfo \ --image=ghcr.io/stefanprodan/podinfo \
--interval=1m --interval=1m
- name: flux create image policy - name: flux create image policy select-semver
run: | run: |
./bin/flux create image policy podinfo \ ./bin/flux create image policy podinfo-semver \
--image-ref=podinfo \ --image-ref=podinfo \
--interval=1m \ --interval=1m \
--semver=5.0.x --select-semver=5.0.x
- name: flux create image policy select-alpha
run: |
./bin/flux create image policy podinfo-alpha \
--image-ref=podinfo \
--interval=1m \
--select-alpha=desc
- name: flux get image policy - name: flux get image policy
run: | run: |
./bin/flux get image policy podinfo | grep '5.0.3' ./bin/flux get image policy podinfo | grep '5.0.3'

Loading…
Cancel
Save