Skip to content
Snippets Groups Projects
Verified Commit d365433d authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wip new pipeline

parent aaec4ae5
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,13 @@ stages: ...@@ -9,6 +9,13 @@ stages:
- test - test
- deploy - deploy
before_script:
- git config --global user.email "${GITLAB_USER_EMAIL}"
- git config --global user.name "${GITLAB_USER_NAME}"
- git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=${CI_JOB_TOKEN}"; }; f'
- git config --global pull.rebase true
- git config --global http.sslVerify "false"
after_script: after_script:
- if [ -f .env-gitlab-ci ]; then rm .env-gitlab-ci; fi - if [ -f .env-gitlab-ci ]; then rm .env-gitlab-ci; fi
......
...@@ -120,19 +120,19 @@ ...@@ -120,19 +120,19 @@
cd ''${CI_PROJECT_DIR} || exit 1 cd ''${CI_PROJECT_DIR} || exit 1
${pkgs'.git}/bin/git config --global user.email "''${GITLAB_USER_EMAIL}" # ${pkgs'.git}/bin/git config --global user.email "''${GITLAB_USER_EMAIL}"
${pkgs'.git}/bin/git config --global user.name "''${GITLAB_USER_NAME}" # ${pkgs'.git}/bin/git config --global user.name "''${GITLAB_USER_NAME}"
${pkgs'.git}/bin/git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=''${CI_JOB_TOKEN}"; }; f' # ${pkgs'.git}/bin/git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=''${CI_JOB_TOKEN}"; }; f'
${pkgs'.git}/bin/git config --global pull.rebase true # ${pkgs'.git}/bin/git config --global pull.rebase true
${pkgs'.git}/bin/git config --global http.sslVerify "false" # ${pkgs'.git}/bin/git config --global http.sslVerify "false"
#
${pkgs'.git}/bin/git remote set-url origin "''${CI_REPOSITORY_URL}" # ${pkgs'.git}/bin/git remote set-url origin "''${CI_REPOSITORY_URL}"
#
${pkgs'.git}/bin/git fetch --all --tags --unshallow # ${pkgs'.git}/bin/git fetch --all --tags --unshallow
${pkgs'.git}/bin/git reset --hard origin/master # ${pkgs'.git}/bin/git reset --hard origin/master
${pkgs'.git}/bin/git clean -fd # ${pkgs'.git}/bin/git clean -fd
${pkgs'.git}/bin/git checkout $CI_COMMIT_REF_NAME # ${pkgs'.git}/bin/git checkout $CI_COMMIT_REF_NAME
${pkgs'.git}/bin/git pull origin $CI_COMMIT_REF_NAME # ${pkgs'.git}/bin/git pull origin $CI_COMMIT_REF_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment