fix(actions): install bash into the runner before testing
Some checks failed
/ validate (push) Failing after 2s
Some checks failed
/ validate (push) Failing after 2s
This commit is contained in:
parent
7aaafc6fc4
commit
1202879644
2 changed files with 7 additions and 9 deletions
|
|
@ -7,6 +7,8 @@ jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup
|
||||||
|
run: apk add bash
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ spec:
|
||||||
app: forgejo-runner
|
app: forgejo-runner
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
image: code.forgejo.org/forgejo/runner:3.5.1
|
image: code.forgejo.org/forgejo/runner:3.5.1
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|
@ -25,11 +25,7 @@ spec:
|
||||||
--token ${FORGEJO_RUNNER_REGISTRATION_TOKEN} \
|
--token ${FORGEJO_RUNNER_REGISTRATION_TOKEN} \
|
||||||
--name ${FORGEJO_RUNNER_NAME} \
|
--name ${FORGEJO_RUNNER_NAME} \
|
||||||
--labels docker:docker://node:22-alpine && \
|
--labels docker:docker://node:22-alpine && \
|
||||||
<<<<<<< HEAD
|
|
||||||
sleep 5 && \
|
|
||||||
=======
|
|
||||||
sleep 5 && \
|
sleep 5 && \
|
||||||
>>>>>>> main
|
|
||||||
forgejo-runner daemon
|
forgejo-runner daemon
|
||||||
env:
|
env:
|
||||||
- name: FORGEJO_INSTANCE_URL
|
- name: FORGEJO_INSTANCE_URL
|
||||||
|
|
@ -48,10 +44,10 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: dind-storage
|
- name: dind-storage
|
||||||
mountPath: /var/lib/docker
|
mountPath: /var/lib/docker
|
||||||
- name: dind
|
- name: dind
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
env:
|
env:
|
||||||
- name: DOCKER_TLS_CERTDIR
|
- name: DOCKER_TLS_CERTDIR
|
||||||
value: ""
|
value: ""
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue