feature/1-self-sovereign-passports-for-user-identity #2
1 changed files with 8 additions and 8 deletions
|
|
@ -293,19 +293,19 @@ jobs:
|
||||||
docker.io/nginx:alpine \
|
docker.io/nginx:alpine \
|
||||||
sh -lc 'nginx -t -c /etc/nginx/nginx.conf'
|
sh -lc 'nginx -t -c /etc/nginx/nginx.conf'
|
||||||
|
|
||||||
# APPLY/RE-APPLY THE POD (no explicit "down"; use --replace)
|
# If --replace is NOT supported in your Podman, use this fallback instead:
|
||||||
- name: Apply pod (kube play --replace)
|
- name: Recreate pod (fallback)
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# If your Podman supports --replace, this is the cleanest:
|
podman --remote pod rm -f sharenet-production-pod 2>/dev/null || true
|
||||||
envsubst < deploy/prod-pod.yml | podman --remote kube play --replace -
|
envsubst < deploy/prod-pod.yml | podman --remote kube play -
|
||||||
|
|
||||||
# If --replace is NOT supported in your Podman, use this fallback instead:
|
# If --replace IS supported in your Podman, use this instead:
|
||||||
# - name: Recreate pod (fallback)
|
# - name: Apply pod (kube play --replace)
|
||||||
# run: |
|
# run: |
|
||||||
# set -euo pipefail
|
# set -euo pipefail
|
||||||
# podman --remote pod rm -f sharenet-production-pod 2>/dev/null || true
|
# # If your Podman supports --replace, this is the cleanest:
|
||||||
# envsubst < deploy/prod-pod.yml | podman --remote kube play -
|
# envsubst < deploy/prod-pod.yml | podman --remote kube play --replace -
|
||||||
|
|
||||||
# VERIFY (install curl first)
|
# VERIFY (install curl first)
|
||||||
- name: Verify in-pod Nginx
|
- name: Verify in-pod Nginx
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue