Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(smoketest): use updated cryostat3 container image tag #146

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion smoketest/compose/cryostat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
limits:
cpus: '0.5'
memory: 512m
image: quay.io/cryostat/cryostat3:dev
image: quay.io/cryostat/cryostat:3.0.0-snapshot
volumes:
- ${XDG_RUNTIME_DIR}/podman/podman.sock:/run/user/0/podman/podman.sock:Z
security_opt:
Expand Down
2 changes: 1 addition & 1 deletion smoketest/compose/cryostat_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
limits:
cpus: '0.5'
memory: 512m
image: quay.io/cryostat/cryostat3:dev
image: quay.io/cryostat/cryostat:3.0.0-snapshot
volumes:
- /var/run/docker.sock:/var/run/docker.sock:Z
security_opt:
Expand Down
4 changes: 2 additions & 2 deletions smoketest/compose/cryostat_k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
condition: service_healthy
s3:
condition: service_healthy
image: quay.io/cryostat/cryostat3:dev
image: quay.io/cryostat/cryostat:3.0.0-snapshot
hostname: cryostat3
user: "0"
expose:
Expand All @@ -29,4 +29,4 @@ services:
interval: 10s
retries: 3
start_period: 10s
timeout: 5s
timeout: 5s
2 changes: 1 addition & 1 deletion smoketest/k8s/cryostat-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
value: "true"
- name: STORAGE_BUCKETS_ARCHIVES_NAME
value: archivedrecordings
image: quay.io/cryostat/cryostat3:dev
image: quay.io/cryostat/cryostat:3.0.0-snapshot
livenessProbe:
exec:
command:
Expand Down
3 changes: 1 addition & 2 deletions smoketest/k8s/smoketest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ while [ "$#" -ne 0 ]; do
kind)
cleanKind
kind create cluster
kind load docker-image "quay.io/${IMAGE_REPOSITORY}/cryostat3:dev"
;;
unkind)
cleanKind
Expand All @@ -40,7 +39,7 @@ while [ "$#" -ne 0 ]; do
--for condition=available \
--timeout=5m \
deployment db
kubectl patch -p "{\"spec\":{\"template\":{\"spec\":{\"\$setElementOrder/containers\":[{\"name\":\"cryostat\"}],\"containers\":[{\"image\":\"quay.io/$IMAGE_REPOSITORY/cryostat3:dev\",\"name\":\"cryostat\"}]}}}}" deployment/cryostat
kubectl patch -p "{\"spec\":{\"template\":{\"spec\":{\"\$setElementOrder/containers\":[{\"name\":\"cryostat\"}],\"containers\":[{\"image\":\"quay.io/$IMAGE_REPOSITORY/cryostat:3.0.0-snapshot\",\"name\":\"cryostat\"}]}}}}" deployment/cryostat
kubectl wait \
--for condition=available \
--timeout=5m \
Expand Down
Loading