Match CI smoke mounts to chart runtime
This commit is contained in:
1 parent
9d57ceaf5f
commit
288fcef0b7
1 file changed
+3
-1
@@ -57,7 +57,9 @@ jobs:
|
||||
--label "org.opencontainers.image.version=${APP_VERSION}" \
|
||||
--label "org.opencontainers.image.revision=${COMMIT_SHA}" \
|
||||
--tag "${IMAGE_REPOSITORY}:${CHART_VERSION}" image
|
||||
container_id=$(podman run --detach --rm --publish 127.0.0.1:18080:8080 \
|
||||
container_id=$(podman run --detach --rm --read-only \
|
||||
--tmpfs /tmp:rw,mode=1777 --tmpfs /var/cache/nginx:rw,mode=1777 \
|
||||
--publish 127.0.0.1:18080:8080 \
|
||||
"${IMAGE_REPOSITORY}:${CHART_VERSION}")
|
||||
for attempt in $(seq 1 30); do
|
||||
if curl --fail --silent http://127.0.0.1:18080/index.html >/dev/null; then break; fi
|
||||
|
||||
Reference in new issue
Block a user