Skip to content

Commit

Permalink
test(smoketest): use updated cryostat3 container image tag (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Nov 8, 2023
1 parent fb24f45 commit edb04d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
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

0 comments on commit edb04d9

Please sign in to comment.