Add e2e tests for image repository and policy
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
14
.github/workflows/e2e.yaml
vendored
14
.github/workflows/e2e.yaml
vendored
@@ -146,6 +146,20 @@ jobs:
|
|||||||
--chart=podinfo \
|
--chart=podinfo \
|
||||||
--chart-version="5.0.x" \
|
--chart-version="5.0.x" \
|
||||||
--service-account=dev-team
|
--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
|
- name: flux2-kustomize-helm-example
|
||||||
run: |
|
run: |
|
||||||
./bin/flux create source git flux-system \
|
./bin/flux create source git flux-system \
|
||||||
|
|||||||
Reference in New Issue
Block a user