Skip to content

Commit

Permalink
tesT
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveenrajmani committed Sep 30, 2024
1 parent 6e94098 commit 00f186e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/functests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
- name: Build docker image
run: |
docker build --quiet -t quay.io/minio/directpv:${VERSION} .
docker inspect quay.io/minio/directpv:${VERSION}
docker build --quiet -t example.org/test/sleep:v0.0.1 -f functests/Dockerfile.sleep functests
- name: Setup Minikube
Expand All @@ -73,8 +72,8 @@ jobs:
- name: Configure kustomize
run: |
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
image_with_digest=$(docker inspect --format='{{index .RepoDigests 0}}' quay.io/minio/directpv:${VERSION})
export DIGEST=${image_with_digest##*@}
# image_with_digest=$(docker inspect --format='{{index .RepoDigests 0}}' quay.io/minio/directpv:${VERSION})
# export DIGEST=${image_with_digest##*@}
envsubst < functests/base/kustomize-template.yaml > functests/base/kustomization.yaml
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion functests/base/kustomize-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ resources:

images:
- name: quay.io/minio/directpv
digest: ${DIGEST}
newTag: ${VERSION}
2 changes: 1 addition & 1 deletion functests/legacy/kustomize-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ resources:

images:
- name: quay.io/minio/directpv
digest: ${DIGEST}
newTag: ${VERSION}

0 comments on commit 00f186e

Please sign in to comment.