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

CI: add ACLs and public mirror sync

parent 0b78ff97
No related branches found
No related tags found
No related merge requests found
......@@ -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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment