ci: improved pipeline
This commit is contained in:
parent
d04a677387
commit
e718be207a
1 changed files with 6 additions and 22 deletions
|
@ -9,7 +9,7 @@ stages:
|
|||
- attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
|
||||
- attic use skynet-cache
|
||||
|
||||
handovers:
|
||||
.build_base: &pdf_base
|
||||
tags:
|
||||
- nix
|
||||
before_script:
|
||||
|
@ -21,15 +21,15 @@ handovers:
|
|||
rules:
|
||||
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
changes:
|
||||
- Committee/_Handovers/**/*
|
||||
- Committee/_Handovers/**/*
|
||||
- Minutes/**/*
|
||||
|
||||
handovers:
|
||||
<<: *pdf_base
|
||||
# what it runs
|
||||
script:
|
||||
# cache any dependencies
|
||||
- attic watch-store skynet-cache &
|
||||
- nix --extra-experimental-features 'nix-command flakes' run .#handovers
|
||||
|
||||
# what it does afterwards
|
||||
artifacts:
|
||||
name: "Handovers"
|
||||
paths:
|
||||
|
@ -37,26 +37,10 @@ handovers:
|
|||
|
||||
|
||||
minutes:
|
||||
tags:
|
||||
- nix
|
||||
before_script:
|
||||
- *scripts_base
|
||||
- *scripts_cache
|
||||
stage: build
|
||||
|
||||
# when it runs
|
||||
rules:
|
||||
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/compsoc" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
changes:
|
||||
- Minutes/**/*
|
||||
|
||||
# what it runs
|
||||
<<: *pdf_base
|
||||
script:
|
||||
# cache any dependencies
|
||||
- attic watch-store skynet-cache &
|
||||
- nix --extra-experimental-features 'nix-command flakes' run .#minutes
|
||||
|
||||
# what it does afterwards
|
||||
artifacts:
|
||||
name: "Minutes"
|
||||
paths:
|
||||
|
|
Loading…
Reference in a new issue