Compare commits

..

No commits in common. "5657ec530a16f1969f8b8a6eff2e6a9a0dabe7b5" and "713d60bccc6c40739db15f5d2609a8f94c87cba0" have entirely different histories.

3 changed files with 1 additions and 29 deletions

View File

@ -1,20 +0,0 @@
name: ci
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: go test ./...

View File

@ -23,9 +23,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Docker CLI
run: apt-get update -qq && apt-get install -y -qq docker.io
- name: Login to Gitea registry
run: |
echo "${{ secrets.REGISTRY_PASSWORD }}" \

View File

@ -100,18 +100,13 @@ resource "kubernetes_deployment" "act_runner" {
command = ["/bin/sh", "-c"]
args = [<<-EOT
set -e
echo "Waiting for Docker daemon..."
until docker -H tcp://localhost:2375 info > /dev/null 2>&1; do
sleep 2
done
echo "Docker daemon ready."
if [ ! -f /data/.runner ]; then
act_runner register \
--no-interactive \
--instance http://gitea-http.gitea.svc.cluster.local:3000 \
--token "$(cat /etc/runner-token/token)" \
--name "k3d-runner-$(hostname)" \
--labels ubuntu-latest:docker:node:20
--labels ubuntu-latest
fi
exec act_runner daemon --config /etc/act-runner/config.yaml
EOT