From 6642638d2a7a2df3fe7992f7fb60485a601db6d7 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 26 Jul 2021 03:34:45 +0200 Subject: [PATCH] core-services-01(autodeploy): enforce nix label, update drone runner module --- .drone.yml | 3 +++ machines/core-services-01/drone-runners.nix | 2 +- machines/core-services-01/nix/sources.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8681c01..a347686 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,9 @@ kind: pipeline type: exec name: Test NixOS configurations +node: + nix: true + platform: os: linux arch: amd64 diff --git a/machines/core-services-01/drone-runners.nix b/machines/core-services-01/drone-runners.nix index 51675ea..00568b1 100644 --- a/machines/core-services-01/drone-runners.nix +++ b/machines/core-services-01/drone-runners.nix @@ -9,7 +9,7 @@ in env = [ "DRONE_RUNNER_CAPACITY=${toString capacity}" "CLIENT_DRONE_RPC_HOST=127.0.0.1:${toString config.services.drone-server.port}" - "DRONE_RUNNER_LABELS=nix:true,core:true" # nix-ready and runs on a core machine. + "DRONE_RUNNER_LABELS=nix:true" # nix-ready machine. ]; envFile = config.age.secrets.droneKeyFile.path; }; diff --git a/machines/core-services-01/nix/sources.json b/machines/core-services-01/nix/sources.json index edc3ecf..5853cb2 100644 --- a/machines/core-services-01/nix/sources.json +++ b/machines/core-services-01/nix/sources.json @@ -14,7 +14,7 @@ "klubrz-nur": { "branch": "main", "repo": "https://git.rz.ens.wtf/Klub-RZ/nur", - "rev": "2d9da6ab1f53af1bff116426e79aeb35408681f6", + "rev": "3f6a760254c3259e6abc0dcf443c533cd999a739", "type": "git" }, "niv": {