From ade6bfcbcad674e45c00776d1ebf6aeb5c160caf Mon Sep 17 00:00:00 2001 From: Jonathan Innis Date: Wed, 3 Feb 2021 17:29:53 -0800 Subject: [PATCH] Update e2e testing with new cli args Signed-off-by: Jonathan Innis --- .github/workflows/e2e.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 7e05737a..566489be 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -166,12 +166,18 @@ jobs: ./bin/flux create image repository podinfo \ --image=ghcr.io/stefanprodan/podinfo \ --interval=1m - - name: flux create image policy + - name: flux create image policy select-semver run: | - ./bin/flux create image policy podinfo \ + ./bin/flux create image policy podinfo-semver \ --image-ref=podinfo \ --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 run: | ./bin/flux get image policy podinfo | grep '5.0.3'