From 9ca4e0f8e3f8e2dd3db9339e2dc11191d78dd20a Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Fri, 1 Sep 2023 02:32:00 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! Add CI using Gitea actions --- .gitea/workflows/lint.yaml | 2 +- docker/docker/gitea/runner-config.yaml | 4 +++- docker/envs/gitea/.env | 26 +++++++++++++------------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index 8adf4c8..1312a6a 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -3,7 +3,7 @@ run-name: "${{ gitea.actor }} is linting Ansible files!" on: [push] jobs: lint-ansible-files: - runs-on: docker-ubuntu-22.04 + runs-on: ubuntu-22.04 steps: - run: echo "it works!" - name: Check out repo diff --git a/docker/docker/gitea/runner-config.yaml b/docker/docker/gitea/runner-config.yaml index 833a183..bfa8c9a 100644 --- a/docker/docker/gitea/runner-config.yaml +++ b/docker/docker/gitea/runner-config.yaml @@ -28,8 +28,10 @@ runner: # Like: ["macos-arm64:host", "ubuntu-latest:docker://node:16-bullseye", "ubuntu-22.04:docker://node:16-bullseye"] # If it's empty when registering, it will ask for inputting labels. # If it's empty when execute `deamon`, will use labels in `.runner` file. + # Some (most?) GitHub actions use node for scripting, so just using + # ubuntu:22.04 here is not enough. labels: - - "docker-ubuntu-22.04:docker://ubuntu:22.04" + - "ubuntu-22.04:docker://node:16-bullseye" cache: # Enable cache server to use actions/cache. diff --git a/docker/envs/gitea/.env b/docker/envs/gitea/.env index d8757c3..1a204e8 100644 --- a/docker/envs/gitea/.env +++ b/docker/envs/gitea/.env @@ -1,14 +1,14 @@ $ANSIBLE_VAULT;1.1;AES256 -37346664363637623736353332666565336434313635373037366631313138376638643930653532 -3430373431323766396333303130663765656262393830300a306466666263306533633635636439 -34346333383131326237383333663966633936373730333266646538313165373335363161663737 -3135306232623835370a343564323764633839653566333236613865323662373864643337323430 -66323161663166623539653836396463613831613633313266643930636533326430633633373233 -31613330306239303064353231616333353931333632383764353032373131396331303965333364 -39336139356166336632666234383931326232626361356362346630646238333831383064616238 -61656664656435326364316366376265653531326166323632653431316239343230643339646138 -62336635666232386535353864303931613838633364363063653366306364643336356531623265 -36343239383965643562353130383335313532356662643864653732343836666339613330373937 -65643236663930306561666162623438306437316635666464306435653862363031366434616230 -34333636353036326164616166356361303062663334323961323737343164333239366332303132 -64383735663536643762626434306533333032623562343435666530373331383436 +35623364633833623964623536646534373634663736613561333561343136333965306638396532 +6162393239383936386338666565306132646230383066630a336337613636383431623738343663 +61343262363631376665383035323139313863626331666439336134613035663439376231343863 +3032353139643138640a383365356630323835383538393734643134343133653033383663333464 +62386361633435633664306531623835353665326432393932336163316561653866343137323030 +63643262323436356166373533363235366238393633336631336266373837373932313134303563 +65633337393938623134636538653561356565333831356638373862376333336163363438626438 +39343436383732313561396236656530303064363961663636353538346264633532633866333162 +35303032303662646166333537373566316462633536333463323433353539623363323036643763 +34376365613932303133366236613235636238643139666663356436326532616437383432303437 +39376535656266383465373837643634383937656431323265386163373138336164383666383962 +64623762613332363731323739666238613634646237396331666463363663313461313966356233 +30653362353061333739303234336461373337346632646433623462623765353330