forked from Computer_Society/open-goverance
34 lines
No EOL
1 KiB
YAML
34 lines
No EOL
1 KiB
YAML
stages:
|
|
- build
|
|
|
|
pdf:
|
|
tags:
|
|
- nix
|
|
before_script:
|
|
# basic stuff
|
|
- nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bash
|
|
|
|
# setup the cache stuff
|
|
- 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
|
|
stage: build
|
|
# what it runs
|
|
script:
|
|
- attic watch-store skynet-cache &
|
|
- nix --extra-experimental-features 'nix-command flakes' run .#handovers
|
|
- nix --extra-experimental-features 'nix-command flakes' run .#minutes
|
|
- nix --extra-experimental-features 'nix-command flakes' run .#budget
|
|
artifacts:
|
|
name: "PDFs"
|
|
paths:
|
|
- Handovers_pdf/
|
|
- Minutes_pdf/
|
|
- Budget_pdf/
|
|
- errors.log
|
|
rules:
|
|
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
|
changes:
|
|
- Committee/**/Handovers/*
|
|
- Minutes/**/*
|
|
- Committee/**/Budget/* |