Skip to content
Snippets Groups Projects
Commit cb8e0d7d authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

CI: update rules and add all system to ACL update

parent a0f89d94
Branches
No related tags found
No related merge requests found
......@@ -121,8 +121,8 @@ sync_repo_on_HPC:
- cd /p/fastdata/zam/swmanage/EasyBuild/2023
- hostname
- git pull https://project_2497_bot1:$GITLAB_TOKEN@gitlab.jsc.fz-juelich.de/software-team/easybuild.git
only:
- '2023'
rules:
- if: '$CI_PROJECT_NAMESPACE == "software-team" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
update_acls:
stage: deploy
......@@ -130,8 +130,10 @@ update_acls:
matrix:
- SYSTEM:
- juwels
- juwels_boster
- jureca
- jusuf
- hdfml
tags:
- jacamar
- ${SYSTEM}
......@@ -142,8 +144,9 @@ update_acls:
- ml Stages/2023
- pushd /p/fastdata/zam/swmanage/EasyBuild/$STAGE/bin
- ./setacls -c ../acls.yml --force -m
only:
changes:
rules:
- if: '$CI_PROJECT_NAMESPACE == "software-team" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
- changes:
- 'acls.yml'
push_public_mirror:
......@@ -162,8 +165,8 @@ push_public_mirror:
- git add -A
- git commit -a -m "Sync"
- git push https://$GITHUB_USER:$GITHUB_TOKEN@github.com/easybuilders/JSC.git
only:
- '2023'
rules:
- if: '$CI_PROJECT_NAMESPACE == "software-team" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: manual
pull_public_mirror:
......@@ -176,5 +179,5 @@ pull_public_mirror:
- hostname
- cd /p/usersoftware/swmanage/user_installations/2023/
- git pull
only:
- '2023'
rules:
- if: '$CI_PROJECT_NAMESPACE == "software-team" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment