From d3c7486583e696087ce3c4362b4c019f01a5a8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 1 Jul 2023 09:00:59 +0100 Subject: [PATCH] try to use actual ubuntu asbase image --- .gitea/workflows/build.yaml | 19 +++++++++---------- nixos/boxes/bolty/gitea-runner-token.sops | 6 +++--- nixos/boxes/bolty/gitea-runner.nix | 1 + 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 06eeda4d..d425dc0a 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,18 +5,17 @@ env: DEV_SHELL_NAME: CI jobs: build: - runs-on: node-latest + runs-on: ubuntu-kinetic steps: + - name: Install dependencies + run: | + apt-get update + apt-get install -y nodejs git curl + curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux \ + --extra-conf "sandbox = false" \ + --init none \ + --no-confirm - uses: actions/checkout@v3 - - name: Install Nix - uses: https://github.com/DeterminateSystems/nix-installer-action@v4 - with: - logger: pretty - log-directives: nix_installer=trace - backtrace: full - init: none - - name: Run the Magic Nix Cache - uses: https://github.com/DeterminateSystems/magic-nix-cache-action@v1 - name: Check run: | nix flake metadata diff --git a/nixos/boxes/bolty/gitea-runner-token.sops b/nixos/boxes/bolty/gitea-runner-token.sops index 8c65c067..1bdbad84 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:kL3X7zzjnBfWJhYq2keOGr+V/Q26rWgNVBncUSr4DtqjtNNnA6Jc5B6EQK5fwEFk,iv:z3lzpb6PG1eGjVm8f3h/0QF1VWxzc+aEmV+UGhjT+kA=,tag:AhUC3On5tkYGmVbdHWDd3Q==,type:str]", + "data": "ENC[AES256_GCM,data:uB3IL1q5vxUWhmD0W6H4Jf+0VzN6OYb9qZozL/PEcFw8/d6a+blARDZNTjaevA0=,iv:4SU5lxvH9hryE4pVsXqCy/Ie5fWNCu0fMA4SligKNsU=,tag:SQuUGgUofOvr88eUs475TQ==,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:48:01Z", - "mac": "ENC[AES256_GCM,data:7EGb7OMazurKAUqmDHf9cdPuJSimoQnpx0UHBu0PxlqzHVu0lloLMuK5vxbMJ5fpYqrEgjiJBnXJb7PUroCOrIb6N42emujVnpMgnZey7KD3JGlmG/WUQ7ddkWqmcf02sczOF3c1tf+y//PtnvNj6P54oS3XsMoJ4nLIs7tM5k4=,iv:EI4/tPYirRbRtHCbV8KhespS/Hl3hkTBEC7KnvdkbPw=,tag:kHcoJiI6SyRUsLK8FMoDrw==,type:str]", + "lastmodified": "2023-07-01T07:55:25Z", + "mac": "ENC[AES256_GCM,data:fl9wQif8ntLDB4hYz5A0V3EudbtAbaHIkI2j8KGd+tNEyoLPiyEnJWykXN016H48x8Ifk568itfKwHT0Q5uDtX0BGq9wBGdJLyl50H4cs6njUIAohHGboYozw9++WLO5hfq4B579kOzu81TI4zQU+XlaImPuy87Uh3dTEUViQ28=,iv:Joi6dKclZSjXPk7zldhI05WC8zJvhlv/b0IH/Ak1I1E=,tag:dzufkp/n4P6WZsHM8sIbuQ==,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 82d230a4..5c1e6e98 100644 --- a/nixos/boxes/bolty/gitea-runner.nix +++ b/nixos/boxes/bolty/gitea-runner.nix @@ -17,6 +17,7 @@ "nix-flakes:docker://nixpkgs/nix-flakes:latest" "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 ]; }; }