forked from Computer_Society/open-goverance
wip: test pipeline
This commit is contained in:
parent
9791c5ac22
commit
d46055042f
1 changed files with 32 additions and 0 deletions
32
.gitlab-ci.yml
Normal file
32
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
.scripts_cache: &scripts_cache
|
||||||
|
- nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#attic-client
|
||||||
|
- attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
|
||||||
|
- attic use skynet-cache
|
||||||
|
|
||||||
|
handovers:
|
||||||
|
tags:
|
||||||
|
- nix
|
||||||
|
before_script:
|
||||||
|
- *scripts_cache
|
||||||
|
stage: build
|
||||||
|
|
||||||
|
# when it runs
|
||||||
|
# rules:
|
||||||
|
# - if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
|
# changes:
|
||||||
|
# - Committee/_Handovers/**/*
|
||||||
|
|
||||||
|
# what it runs
|
||||||
|
script:
|
||||||
|
# cache any dependencies
|
||||||
|
- attic watch-store skynet-cache &
|
||||||
|
- nix --experimental-features 'nix-command flakes' run .#handovers
|
||||||
|
|
||||||
|
# what it does afterwards
|
||||||
|
artifacts:
|
||||||
|
name: "Handovers"
|
||||||
|
paths:
|
||||||
|
- Committee/_Handovers_pdf/
|
Loading…
Reference in a new issue