mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
Update e2e testing with new cli args
Signed-off-by: Jonathan Innis <jonathan.innis.ji@gmail.com>
This commit is contained in:
parent
a6e01c4d28
commit
b0c45dc8dc
1 changed files with 11 additions and 3 deletions
14
.github/workflows/e2e.yaml
vendored
14
.github/workflows/e2e.yaml
vendored
|
|
@ -166,12 +166,20 @@ 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 \
|
||||||
|
--filter-regex="^main-[a-fA-F0-9]+-(?P<ts>.*)" \
|
||||||
|
--filter-extract="$ts"
|
||||||
- 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…
Reference in a new issue