1
1
Fork 0
Signed by @spirillen
This commit is contained in:
spirillen 2021-09-11 18:11:26 +02:00
parent 9650aade07
commit 45d43ebb84
No known key found for this signature in database
GPG Key ID: 30562ED6FB236E4E
1 changed files with 10 additions and 8 deletions

View File

@ -9,18 +9,20 @@ before_script:
- echo "Before script section"
- echo "For example you might run an update here or install a build dependency"
- echo "Or perhaps you might print out some debugging details"
- echo "'"$GIT_USER_NAME""_CI_ACCESS_TOKEN"'"
- echo "$GITLAB_USER_LOGIN"
- echo "$GITLAB_USER_NAME"
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install -yqqf bash git pgp
- git config --global commit.gpgsign true
- git config --global user.email "$GITLAB_USER_EMAIL"
- git config --global user.name "$GIT_USER_NAME"
- git remote set-url origin https://$GIT_USER_NAME:$GIT_USER_NAME_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
- gpg -v --import <(echo "$$GITLAB_USER_LOGIN_$GPG_PUB_KEY")
- gpg -v --import <(echo "$$GITLAB_USER_LOGIN_$GPG_PRIVATE_KEY")
# - git config --global user.email "$GITLAB_USER_EMAIL"
# - git config --global user.name "$GIT_USER_NAME"
# - git remote set-url origin https://$GIT_USER_NAME:$GIT_USER_NAME_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
# - gpg -v --import <(echo "$GITLAB_USER_LOGIN_$GPG_PUB_KEY")
# - gpg -v --import <(echo "$GITLAB_USER_LOGIN_$GPG_PRIVATE_KEY")
- git config --global user.email "$pdns@pm.me"
- git config --global user.name "$mypdns"
- git remote set-url origin https://$mypdns:$mypdns_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
- gpg -v --import <(echo "$GITLAB_USER_LOGIN_$GPG_PUB_KEY")
- gpg -v --import <(echo "$GITLAB_USER_LOGIN_$GPG_PRIVATE_KEY")
after_script:
- echo "After script section"