Add e2e tests for image repository and policy

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/711/head
Stefan Prodan 4 years ago
parent 43c33a0cc3
commit 5e1c93a167
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -146,6 +146,20 @@ jobs:
--chart=podinfo \
--chart-version="5.0.x" \
--service-account=dev-team
- name: flux create image repository
run: |
./bin/flux create image repository podinfo \
--image=ghcr.io/stefanprodan/podinfo \
--interval=1m
- name: flux create image policy
run: |
./bin/flux create image policy podinfo \
--image-ref=podinfo \
--interval=1m \
--semver=5.0.x
- name: flux get image policy
run: |
./bin/flux get image policy podinfo | grep '5.0.3'
- name: flux2-kustomize-helm-example
run: |
./bin/flux create source git flux-system \

Loading…
Cancel
Save