fix: put teh blockers for teh update of teh flakes first

This commit is contained in:
silver 2024-06-17 01:11:03 +00:00
parent c197f0df85
commit 6229abcefa

View file

@ -48,11 +48,11 @@ sync_repos:
- chmod +x ./sync.sh
- ./sync.sh
rules:
- if: $UPDATE_FLAKE == "yes"
when: never
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/skynet" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- sync/repos.csv
- if: $UPDATE_FLAKE == "yes"
when: never
.scripts_base: &scripts_base
# load nix environment
@ -79,6 +79,8 @@ sync_repos:
- *scripts_base
- *scripts_cache
rules:
- if: $UPDATE_FLAKE == "yes"
when: never
- changes:
- applications/**/*
- machines/**/*
@ -86,8 +88,6 @@ sync_repos:
- flake.*
- .gitlab-ci.yml
- config/**/*
- if: $UPDATE_FLAKE == "yes"
when: never
# deploy items only run on main
.deploy_template: &deployment
@ -96,6 +96,8 @@ sync_repos:
- *scripts_base
- *scripts_cache
rules:
- if: $UPDATE_FLAKE == "yes"
when: never
- if: '$CI_PROJECT_NAMESPACE == "compsoc1/skynet" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- flake.nix
@ -104,8 +106,6 @@ sync_repos:
- machines/**/*
- secrets/**/*
- config/**/*
- if: $UPDATE_FLAKE == "yes"
when: never
linter:
<<: *builder