diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98536bfb3b2e0bd9a9dcb18daefcb8443fd30417..89f6bfa886f324697c84ff7987ad3ac555943f84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,3 +123,57 @@ sync_repo_on_HPC: - git pull https://project_2497_bot1:$GITLAB_TOKEN@gitlab.jsc.fz-juelich.de/software-team/easybuild.git only: - '2023' + +update_acls: + stage: deploy + matrix: + - SYSTEM: juwels + - SYSTEM: jureca + - SYSTEM: jusuf + tags: + - jacamar + - ${SYSTEM} + - shell + needs: ['sync_repo_on_HPC'] + script: + - hostname + - ml Stages/2023 + - pushd /p/fastdata/zam/swmanage/EasyBuild/$STAGE/bin + - ./setacls -c ../acls.yml --force -m + only: + - '2023' + changes: + - 'acls.yml' + +push_public_mirror: + stage: deploy + tags: + - jacamar + - juwels + - shell + needs: ['sync_repo_on_HPC'] + script: + - hostname + - ml Stages/2023 + - cd /p/project/cswmanage/easybuilders-JSC/2023 + - git pull + - ./filter.sh + - git add -A + - git commit -a -m "Sync" + - git push https://$GITHUB_USER:$GITHUB_TOKEN@github.com/easybuilders/JSC.git + only: + - '2023' + when: manual + +pull_public_mirror: + stage: deploy + tags: + - jacamar + - juwels + - shell + script: + - hostname + - cd /p/usersoftware/swmanage/user_installations/2023/ + - git pull + only: + - '2023'