From 84f03f39d1d4794f57975907c5c30a0dbb1b4e0f Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Fri, 1 Sep 2023 02:24:52 +0200 Subject: [PATCH] fixup! fixup! fixup! Add CI using Gitea actions --- .gitea/workflows/lint.yaml | 2 +- docker/docker/gitea/docker-compose.yaml | 2 +- docker/docker/gitea/runner-config.yaml | 2 +- docker/envs/gitea/.env | 26 ++++++++++++------------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index f6a5278..8adf4c8 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: ubuntu-latest + runs-on: docker-ubuntu-22.04 steps: - run: echo "it works!" - name: Check out repo diff --git a/docker/docker/gitea/docker-compose.yaml b/docker/docker/gitea/docker-compose.yaml index 7fc3677..a210133 100644 --- a/docker/docker/gitea/docker-compose.yaml +++ b/docker/docker/gitea/docker-compose.yaml @@ -71,7 +71,7 @@ services: restart: unless-stopped environment: CONFIG_FILE: /opt/runner-config.yaml - GITEA_INSTANCE_URL: "http://gitea:3000" + GITEA_INSTANCE_URL: "https://git.pbrinkmeier.de" GITEA_RUNNER_REGISTRATION_TOKEN: "${GITEA_RUNNER_REGISTRATION_TOKEN}" GITEA_RUNNER_NAME: "basic-bitchboy" volumes: diff --git a/docker/docker/gitea/runner-config.yaml b/docker/docker/gitea/runner-config.yaml index d8912c8..833a183 100644 --- a/docker/docker/gitea/runner-config.yaml +++ b/docker/docker/gitea/runner-config.yaml @@ -29,7 +29,7 @@ runner: # 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. labels: - - "ubuntu-latest:docker://node:16-bullseye" + - "docker-ubuntu-22.04:docker://ubuntu:22.04" cache: # Enable cache server to use actions/cache. diff --git a/docker/envs/gitea/.env b/docker/envs/gitea/.env index c3afc41..d8757c3 100644 --- a/docker/envs/gitea/.env +++ b/docker/envs/gitea/.env @@ -1,14 +1,14 @@ $ANSIBLE_VAULT;1.1;AES256 -36313935323466313437663838313931393336623035366637653139363264626537373031383538 -3966343164386636646666363436326438383361643135640a336238623632366135666438333038 -63323666613830336434363038633538636564616533616166663730326437393964373130303463 -6564316262633630630a633964653332383631363337656161383862306262663162653661343133 -36653462343037666537333032666235343535353062323562323233623964626532366461623361 -38386165383932643538316361393631303137643765643435653134326630636366386636613165 -30653031333630386465383136623431393633396535356239353736383639353132333734343938 -35383834633761346530373532666566656331633361393333333763653563636434646532653666 -30323961383134343030656563623262363338626237366264646433303830316361366163646236 -33356333643034373764616263353832303639633737326136663739313237323336346462613964 -63623238313932643662303961386630303837393564663837396565356262303738316661646237 -66653064396262373339323936303933383432383735303136616235383235386537646162653735 -37626238363830623432363038303830656632653664666137316331356533346134 +37346664363637623736353332666565336434313635373037366631313138376638643930653532 +3430373431323766396333303130663765656262393830300a306466666263306533633635636439 +34346333383131326237383333663966633936373730333266646538313165373335363161663737 +3135306232623835370a343564323764633839653566333236613865323662373864643337323430 +66323161663166623539653836396463613831613633313266643930636533326430633633373233 +31613330306239303064353231616333353931333632383764353032373131396331303965333364 +39336139356166336632666234383931326232626361356362346630646238333831383064616238 +61656664656435326364316366376265653531326166323632653431316239343230643339646138 +62336635666232386535353864303931613838633364363063653366306364643336356531623265 +36343239383965643562353130383335313532356662643864653732343836666339613330373937 +65643236663930306561666162623438306437316635666464306435653862363031366434616230 +34333636353036326164616166356361303062663334323961323737343164333239366332303132 +64383735663536643762626434306533333032623562343435666530373331383436