From d82a26f8c323a77657183134016519f0f5ee5be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 23 Jul 2023 10:06:40 +0100 Subject: [PATCH] run CI on host container --- .gitea/workflows/build.yaml | 2 +- nixos/boxes/bolty/gitea-runner-token.sops | 6 +++--- nixos/boxes/bolty/gitea-runner.nix | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7bc33d6d..658a1a9e 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,7 +5,7 @@ env: DEV_SHELL_NAME: CI jobs: build: - runs-on: node-latest + runs-on: linux_amd64 steps: - name: Hello run: | diff --git a/nixos/boxes/bolty/gitea-runner-token.sops b/nixos/boxes/bolty/gitea-runner-token.sops index 1bdbad84..e98c6d32 100644 --- a/nixos/boxes/bolty/gitea-runner-token.sops +++ b/nixos/boxes/bolty/gitea-runner-token.sops @@ -1,5 +1,5 @@ { - "data": "ENC[AES256_GCM,data:uB3IL1q5vxUWhmD0W6H4Jf+0VzN6OYb9qZozL/PEcFw8/d6a+blARDZNTjaevA0=,iv:4SU5lxvH9hryE4pVsXqCy/Ie5fWNCu0fMA4SligKNsU=,tag:SQuUGgUofOvr88eUs475TQ==,type:str]", + "data": "ENC[AES256_GCM,data:83nNd8Kfwlh8aufoQaDDjOuslyLW1ePv5hrTpeuEjv5gmzo4it2YsRfb0/BXwlav,iv:TPsuo2gS9ZU/ftYOcOiWk4EybkIOAq6DT+c72UFW0wY=,tag:9d7gLY1QrJ9bZQN7CtRW3Q==,type:str]", "sops": { "kms": null, "gcp_kms": null, @@ -47,8 +47,8 @@ "enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTXVwRzVSd2NSSi90SVVu\na05jeitPNnE5TVJ1NXk5WGd6UnhObUwveHg0CjU0dTNxUUdtb253ZHdTMFkycWdI\nbjZsanUwSGdHcFZkckIrRDRTWldha3cKLS0tIE8wM09WMnhNeklnYytUWkVTc01E\neldXYlJXRm1OMWo0T1U3UlY4SFBndVEKs56uk3j02g1g7Ae16UGfwRQJghPvS8iG\nDcIrJp6tb5ToYKeAGcTDpDvaQeNWKBX6fSLVIiJbgDWIbbZp1HRYpw==\n-----END AGE ENCRYPTED FILE-----\n" } ], - "lastmodified": "2023-07-01T07:55:25Z", - "mac": "ENC[AES256_GCM,data:fl9wQif8ntLDB4hYz5A0V3EudbtAbaHIkI2j8KGd+tNEyoLPiyEnJWykXN016H48x8Ifk568itfKwHT0Q5uDtX0BGq9wBGdJLyl50H4cs6njUIAohHGboYozw9++WLO5hfq4B579kOzu81TI4zQU+XlaImPuy87Uh3dTEUViQ28=,iv:Joi6dKclZSjXPk7zldhI05WC8zJvhlv/b0IH/Ak1I1E=,tag:dzufkp/n4P6WZsHM8sIbuQ==,type:str]", + "lastmodified": "2023-07-23T08:55:53Z", + "mac": "ENC[AES256_GCM,data:wAI7TVTbMzpiJrncGFeQDY/Qv4GnpXhuTjUwLi86f4KvTGVlNIX5hipDmZfCk+wAfanP14bYB2vdZ3jeJoko8nSfFQmrJ2LVMudg3uym4eOxYSRraRjcvLGrprzLUoFY0Tf+/60tRTjvFufq/AXbo7W12lHAgyE/Lk1DgQlnYi8=,iv:RWnui/ghVmB/tLPMkvHOyBGoWeCgg8ELn7PtMEFe5zQ=,tag:DqoJQ1JleP7tZbhRlzEQ0g==,type:str]", "pgp": null, "unencrypted_suffix": "_unencrypted", "version": "3.7.3" diff --git a/nixos/boxes/bolty/gitea-runner.nix b/nixos/boxes/bolty/gitea-runner.nix index af1c8c27..4049b332 100644 --- a/nixos/boxes/bolty/gitea-runner.nix +++ b/nixos/boxes/bolty/gitea-runner.nix @@ -29,6 +29,7 @@ in "node16:docker://node:16-bullseye" # compat with github actions "node-latest:docker://node:lts-bookworm" # compat with github actions "ubuntu-kinetic:docker://ubuntu:kinetic" # compat with github actions + "linux_amd64:host" # compat with github actions ]; }; };