Make additional fixes to CI workflow
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 31s
CI/CD Pipeline with Secure Ephemeral PiP / test-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-backend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / deploy-prod (push) Has been skipped
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 31s
CI/CD Pipeline with Secure Ephemeral PiP / test-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-backend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / build-frontend (push) Has been skipped
CI/CD Pipeline with Secure Ephemeral PiP / deploy-prod (push) Has been skipped
This commit is contained in:
parent
ce66586ec0
commit
bb24e07bf7
1 changed files with 12 additions and 24 deletions
|
@ -31,12 +31,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Resolve Podman user socket for this runner
|
|
||||||
run: |
|
|
||||||
SVC_USER="ci-service" # CI runner user on the CI host
|
|
||||||
uid=$(id -u "$SVC_USER")
|
|
||||||
echo "PODMAN_SOCK=/run/user/${uid}/podman/podman.sock" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- name: Verify runner wiring to Podman
|
- name: Verify runner wiring to Podman
|
||||||
run: |
|
run: |
|
||||||
podman --version
|
podman --version
|
||||||
|
@ -70,6 +64,9 @@ jobs:
|
||||||
chmod +x ./pip_ready.sh
|
chmod +x ./pip_ready.sh
|
||||||
./pip_ready.sh
|
./pip_ready.sh
|
||||||
|
|
||||||
|
- name: Verify Podman socket inside PiP
|
||||||
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'test -S /run/podman-host/podman.sock && echo OK'
|
||||||
|
|
||||||
- name: Network sanity from PiP
|
- name: Network sanity from PiP
|
||||||
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
||||||
|
|
||||||
|
@ -137,12 +134,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Resolve Podman user socket for this runner
|
|
||||||
run: |
|
|
||||||
SVC_USER="ci-service" # CI runner user on the CI host
|
|
||||||
uid=$(id -u "$SVC_USER")
|
|
||||||
echo "PODMAN_SOCK=/run/user/${uid}/podman/podman.sock" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- name: Verify runner wiring to Podman
|
- name: Verify runner wiring to Podman
|
||||||
run: |
|
run: |
|
||||||
podman --version
|
podman --version
|
||||||
|
@ -171,6 +162,9 @@ jobs:
|
||||||
chmod +x ./pip_ready.sh
|
chmod +x ./pip_ready.sh
|
||||||
./pip_ready.sh
|
./pip_ready.sh
|
||||||
|
|
||||||
|
- name: Verify Podman socket inside PiP
|
||||||
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'test -S /run/podman-host/podman.sock && echo OK'
|
||||||
|
|
||||||
- name: Network sanity from PiP
|
- name: Network sanity from PiP
|
||||||
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
||||||
|
|
||||||
|
@ -195,12 +189,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Resolve Podman user socket for this runner
|
|
||||||
run: |
|
|
||||||
SVC_USER="ci-service" # CI runner user on the CI host
|
|
||||||
uid=$(id -u "$SVC_USER")
|
|
||||||
echo "PODMAN_SOCK=/run/user/${uid}/podman/podman.sock" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- name: Verify runner wiring to Podman
|
- name: Verify runner wiring to Podman
|
||||||
run: |
|
run: |
|
||||||
podman --version
|
podman --version
|
||||||
|
@ -222,6 +210,9 @@ jobs:
|
||||||
chmod +x ./pip_ready.sh
|
chmod +x ./pip_ready.sh
|
||||||
./pip_ready.sh
|
./pip_ready.sh
|
||||||
|
|
||||||
|
- name: Verify Podman socket inside PiP
|
||||||
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'test -S /run/podman-host/podman.sock && echo OK'
|
||||||
|
|
||||||
- name: Network sanity from PiP
|
- name: Network sanity from PiP
|
||||||
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
||||||
|
|
||||||
|
@ -262,12 +253,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Resolve Podman user socket for this runner
|
|
||||||
run: |
|
|
||||||
SVC_USER="ci-service" # CI runner user on the CI host
|
|
||||||
uid=$(id -u "$SVC_USER")
|
|
||||||
echo "PODMAN_SOCK=/run/user/${uid}/podman/podman.sock" >> "$GITHUB_ENV"
|
|
||||||
|
|
||||||
- name: Verify runner wiring to Podman
|
- name: Verify runner wiring to Podman
|
||||||
run: |
|
run: |
|
||||||
podman --version
|
podman --version
|
||||||
|
@ -289,6 +274,9 @@ jobs:
|
||||||
chmod +x ./pip_ready.sh
|
chmod +x ./pip_ready.sh
|
||||||
./pip_ready.sh
|
./pip_ready.sh
|
||||||
|
|
||||||
|
- name: Verify Podman socket inside PiP
|
||||||
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'test -S /run/podman-host/podman.sock && echo OK'
|
||||||
|
|
||||||
- name: Network sanity from PiP
|
- name: Network sanity from PiP
|
||||||
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
run: podman exec ci-pip-${{ env.RUN_ID }} sh -lc 'getent hosts git.gcdo.org && curl -sS -o /dev/null -w "status=%{http_code}\n" https://git.gcdo.org/api/healthz'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue