More CI workflow fixes
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 0s
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) Failing after 0s
Some checks failed
CI/CD Pipeline with Secure Ephemeral PiP / test-backend (push) Failing after 0s
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) Failing after 0s
This commit is contained in:
parent
bb24e07bf7
commit
a0cb1011df
1 changed files with 65 additions and 0 deletions
|
@ -28,6 +28,19 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
test-backend:
|
test-backend:
|
||||||
runs-on: [ci]
|
runs-on: [ci]
|
||||||
|
|
||||||
|
# <— make podman CLI available inside the job container
|
||||||
|
container:
|
||||||
|
image: ${{ env.PODMAN_CLIENT_IMG_DIGEST }}
|
||||||
|
# If you prefer to be independent of runner-wide options, also pass these:
|
||||||
|
options: >-
|
||||||
|
--volume=/run/user/999/podman:/run/user/999/podman:rw
|
||||||
|
--env=XDG_RUNTIME_DIR=/run/user/999
|
||||||
|
|
||||||
|
env:
|
||||||
|
# <— hardcode the socket path that exists on your CI host for UID 999
|
||||||
|
PODMAN_SOCK: /run/user/999/podman/podman.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -131,6 +144,19 @@ jobs:
|
||||||
test-frontend:
|
test-frontend:
|
||||||
runs-on: [ci]
|
runs-on: [ci]
|
||||||
needs: test-backend
|
needs: test-backend
|
||||||
|
|
||||||
|
# <— make podman CLI available inside the job container
|
||||||
|
container:
|
||||||
|
image: ${{ env.PODMAN_CLIENT_IMG_DIGEST }}
|
||||||
|
# If you prefer to be independent of runner-wide options, also pass these:
|
||||||
|
options: >-
|
||||||
|
--volume=/run/user/999/podman:/run/user/999/podman:rw
|
||||||
|
--env=XDG_RUNTIME_DIR=/run/user/999
|
||||||
|
|
||||||
|
env:
|
||||||
|
# <— hardcode the socket path that exists on your CI host for UID 999
|
||||||
|
PODMAN_SOCK: /run/user/999/podman/podman.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -186,6 +212,19 @@ jobs:
|
||||||
build-backend:
|
build-backend:
|
||||||
runs-on: [ci]
|
runs-on: [ci]
|
||||||
needs: test-frontend
|
needs: test-frontend
|
||||||
|
|
||||||
|
# <— make podman CLI available inside the job container
|
||||||
|
container:
|
||||||
|
image: ${{ env.PODMAN_CLIENT_IMG_DIGEST }}
|
||||||
|
# If you prefer to be independent of runner-wide options, also pass these:
|
||||||
|
options: >-
|
||||||
|
--volume=/run/user/999/podman:/run/user/999/podman:rw
|
||||||
|
--env=XDG_RUNTIME_DIR=/run/user/999
|
||||||
|
|
||||||
|
env:
|
||||||
|
# <— hardcode the socket path that exists on your CI host for UID 999
|
||||||
|
PODMAN_SOCK: /run/user/999/podman/podman.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -250,6 +289,19 @@ jobs:
|
||||||
build-frontend:
|
build-frontend:
|
||||||
runs-on: [ci]
|
runs-on: [ci]
|
||||||
needs: test-frontend
|
needs: test-frontend
|
||||||
|
|
||||||
|
# <— make podman CLI available inside the job container
|
||||||
|
container:
|
||||||
|
image: ${{ env.PODMAN_CLIENT_IMG_DIGEST }}
|
||||||
|
# If you prefer to be independent of runner-wide options, also pass these:
|
||||||
|
options: >-
|
||||||
|
--volume=/run/user/999/podman:/run/user/999/podman:rw
|
||||||
|
--env=XDG_RUNTIME_DIR=/run/user/999
|
||||||
|
|
||||||
|
env:
|
||||||
|
# <— hardcode the socket path that exists on your CI host for UID 999
|
||||||
|
PODMAN_SOCK: /run/user/999/podman/podman.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -315,6 +367,19 @@ jobs:
|
||||||
runs-on: [prod]
|
runs-on: [prod]
|
||||||
needs: [build-backend, build-frontend]
|
needs: [build-backend, build-frontend]
|
||||||
if: success()
|
if: success()
|
||||||
|
|
||||||
|
# <— make podman CLI available inside the job container
|
||||||
|
container:
|
||||||
|
image: ${{ env.PODMAN_CLIENT_IMG_DIGEST }}
|
||||||
|
# If you prefer to be independent of runner-wide options, also pass these:
|
||||||
|
options: >-
|
||||||
|
--volume=/run/user/999/podman:/run/user/999/podman:rw
|
||||||
|
--env=XDG_RUNTIME_DIR=/run/user/999
|
||||||
|
|
||||||
|
env:
|
||||||
|
# <— hardcode the socket path that exists on your CI host for UID 999
|
||||||
|
PODMAN_SOCK: /run/user/999/podman/podman.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue