2024-05-12 13:32:39 +01:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
2024-05-20 03:05:24 +01:00
|
|
|
pdf:
|
2024-05-12 13:32:39 +01:00
|
|
|
tags:
|
|
|
|
- nix
|
|
|
|
before_script:
|
2024-05-20 03:05:24 +01:00
|
|
|
# basic stuff
|
|
|
|
- nix --extra-experimental-features 'nix-command flakes' profile install nixpkgs#bash
|
2024-05-12 13:32:39 +01:00
|
|
|
|
2024-05-20 03:05:24 +01:00
|
|
|
# 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
|
2024-05-12 13:32:39 +01:00
|
|
|
# what it runs
|
|
|
|
script:
|
|
|
|
- attic watch-store skynet-cache &
|
2024-05-12 14:03:22 +01:00
|
|
|
- nix --extra-experimental-features 'nix-command flakes' run .#handovers
|
2024-05-12 15:53:06 +01:00
|
|
|
- nix --extra-experimental-features 'nix-command flakes' run .#minutes
|
2024-05-20 02:44:50 +01:00
|
|
|
- nix --extra-experimental-features 'nix-command flakes' run .#budget
|
|
|
|
artifacts:
|
2024-05-20 03:05:24 +01:00
|
|
|
name: "PDFs"
|
2024-05-20 02:44:50 +01:00
|
|
|
paths:
|
2024-05-20 03:41:38 +01:00
|
|
|
- pdf_Handovers/
|
|
|
|
- pdf_Minutes/
|
|
|
|
- pdf_Budget/
|
2024-05-20 02:44:50 +01:00
|
|
|
- errors.log
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
|
|
|
changes:
|
2024-05-20 03:05:24 +01:00
|
|
|
- Committee/**/Handovers/*
|
|
|
|
- Minutes/**/*
|
2024-05-20 02:44:50 +01:00
|
|
|
- Committee/**/Budget/*
|