summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Dybiec <pdybiec@stud.cs.uni.wroc.pl>2023-08-27 20:37:10 +0000
committerPaweł Dybiec <pdybiec@stud.cs.uni.wroc.pl>2023-08-27 20:37:10 +0000
commita203c2581c3e6ef3ea6e6026df52669105fd4c21 (patch)
tree07d80439b22f0efeaa30a5207aee19692cb80749
parentTerminate on connection error (diff)
parentMove CI to nixos runner (diff)
Merge branch 'nixos_test' into 'main'
Move CI to nixos runner

See merge request continuum/random/vavbot!1
-rw-r--r--.gitlab-ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c680d0b..65cc4b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,12 +1,10 @@
 stages:
   - nix
-nix:
-  image: docker:stable
+
+nixos:
+  tags: ["nix"]
   stage: nix
   script:
-  - apk add curl git
-  - curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --extra-conf "sandbox = false" --init none --no-confirm
-  - export PATH="${PATH}:/nix/var/nix/profiles/default/bin"
   - nix flake check
   - nix build .#dockerImage
   - ./result | docker load