1
1
Fork 0

Wondering if this wond is the right one

It's twin gave you that scar...

Signed by @spirillen
This commit is contained in:
spirillen 2021-09-11 13:58:33 +02:00
parent b1b8f8fc60
commit 638d7859ab
No known key found for this signature in database
GPG Key ID: 30562ED6FB236E4E
1 changed files with 5 additions and 10 deletions

View File

@ -11,17 +11,19 @@ before_script:
- echo "Or perhaps you might print out some debugging details"
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install -yqqf bash git npm
- apt-get install -yqqf bash git pgp
- git config --global commit.gpgsign true
- git config --global user.email "${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}"
- git config --global user.name "${GIT_USER_NAME:-$GITLAB_USER_NAME}"
- git remote set-url origin https://mypdns:$MYPDNS_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
- git remote set-url origin https://${GIT_USER_NAME:-$GITLAB_USER_NAME}:${GIT_USER_NAME:-$GITLAB_USER_NAME}_CI_ACCESS_TOKEN@mypdns.org/$CI_PROJECT_PATH.git
- - gpg -v --import <(echo "${GIT_USER_NAME:-$GITLAB_USER_NAME}_$GPG_PRIVATE_KEY")
after_script:
- echo "After script section"
- echo "For example you might do some clean up here"
- echo -e "After script section...\n"
- git add .
- git commit -m "Auto committed from the CI runner `date '+%F %T %Z %z'`"
- git commit -S -m "Source sorted by CI runner `date '+%F %T %Z %z'`"
- git status
- git push "https://${GITLAB_USER_NAME}:${MYPDNS_CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci
@ -39,13 +41,6 @@ build:
# "{}" | sort -u | awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", \
# $i; print $1}' \;
test1:
## Bump the project version
stage: test
script:
- echo "Bumping project version"
- npm version --no-git-tag-version patch
# test1:
# stage: test
# script: