about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-23 23:32:56 +0200
committerAlan Pearce2024-04-23 23:32:56 +0200
commitd2a85e99c50b841ef93e59b732c6330c636b391f (patch)
tree567fb250af56022355e516a39a5ceb2776756662
parentafdd3934600d1c4d3e54701677361cea7253e856 (diff)
downloadwebsite-d2a85e99c50b841ef93e59b732c6330c636b391f.tar.lz
website-d2a85e99c50b841ef93e59b732c6330c636b391f.tar.zst
website-d2a85e99c50b841ef93e59b732c6330c636b391f.zip
remove gitlab CI file
-rw-r--r--gitlab-ci.yml47
1 files changed, 0 insertions, 47 deletions
diff --git a/gitlab-ci.yml b/gitlab-ci.yml
deleted file mode 100644
index 815fe33..0000000
--- a/gitlab-ci.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-image: nixpkgs/nix-flakes
-
-stages:
-  - check
-  - build
-  - deploy
-
-check:
-  stage: check
-  script:
-    - nix flake check . --print-build-logs
-
-build:
-  stage: build
-  needs:
-    - check
-  before_script:
-    - . <(nix print-dev-env .#ci)
-    - mkdir -p "/etc/containers/"
-    - echo '{"default":[{"type":"insecureAcceptAnything"}]}' > /etc/containers/policy.json
-    - just docker-image-fly
-  script:
-    - export DOCKER_TAG="$(date --utc +%Y%m%d%H%M%S)-${CI_COMMIT_SHA}"
-    - just nix-build builder
-    - just docker-image-fly
-    - just docker-inspect result --tmpdir=$TMPDIR
-    - just print-docker-tag
-    - |
-      if fly auth whoami > /dev/null 2>&1
-      then
-        fly auth docker
-        just push-to-registry --tmpdir=$TMPDIR
-        echo FLY_REGISTRY_IMAGE_TAG=$(just print-docker-tag) >> build.env
-      fi
-  artifacts:
-    reports:
-      dotenv: build.env
-
-deploy:
-  stage: deploy
-  needs:
-    - build
-  script:
-    - fly auth docker
-    - fly deploy --image $FLY_REGISTRY_IMAGE_TAG
-  rules:
-    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH