Skip to content
Snippets Groups Projects
Verified Commit b7a2251a authored by Julian's avatar Julian
Browse files

Switch from deploy tokens to deploy keys due to expiry issues with tokens

parent cba7e3c1
Branches
Tags 6.10.6
No related merge requests found
......@@ -22,7 +22,9 @@ image: registry.git.cccv.de/infra/packages/docker-images/utility
dependencies: []
needs: []
script:
- git clone "https://${GITLAB_ACCESS_USER}:${GITLAB_ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git" autoupdate-checkout
- mkdir -p ~/.ssh && chmod 0700 ~/.ssh && echo "$SSH_DEPLOY_KEY" > ~/.ssh/id_ed25519 && chmod 0600 ~/.ssh/id_ed25519
- echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
- git clone "git@${CI_SERVER_SHELL_SSH_HOST}:${CI_PROJECT_PATH}.git" autoupdate-checkout
- cd autoupdate-checkout
- wget "${SHARED_CI_SCRIPTS_URL_PREFIX}/filter-versions-from-github.py"
- chmod 555 filter-versions-from-github.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment