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 \
|
||||
sh -lc 'nginx -t -c /etc/nginx/nginx.conf'
|
||||
|
||||
# APPLY/RE-APPLY THE POD (no explicit "down"; use --replace)
|
||||
- name: Apply pod (kube play --replace)
|
||||
# If --replace is NOT supported in your Podman, use this fallback instead:
|
||||
- name: Recreate pod (fallback)
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# If your Podman supports --replace, this is the cleanest:
|
||||
envsubst < deploy/prod-pod.yml | podman --remote kube play --replace -
|
||||
podman --remote pod rm -f sharenet-production-pod 2>/dev/null || true
|
||||
envsubst < deploy/prod-pod.yml | podman --remote kube play -
|
||||
|
||||
# If --replace is NOT supported in your Podman, use this fallback instead:
|
||||
# - name: Recreate pod (fallback)
|
||||
# If --replace IS supported in your Podman, use this instead:
|
||||
# - name: Apply pod (kube play --replace)
|
||||
# run: |
|
||||
# set -euo pipefail
|
||||
# podman --remote pod rm -f sharenet-production-pod 2>/dev/null || true
|
||||
# envsubst < deploy/prod-pod.yml | podman --remote kube play -
|
||||
# # If your Podman supports --replace, this is the cleanest:
|
||||
# envsubst < deploy/prod-pod.yml | podman --remote kube play --replace -
|
||||
|
||||
# VERIFY (install curl first)
|
||||
- name: Verify in-pod Nginx
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue