Loading gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ deploy: variables: - $REPOSITORY =~ /^\S+$/ script: - echo "Deploying...\n\tRepository - [${REPOSITORY}]\n\tPlaybook - [${PLAYBOOK:-run.yml}]\n\tParameters - [${PARAMETERS}]\n\tAnsible image - [${ANSIBLE_IMAGE}]" - echo -e "Deploying...\n\tRepository - [${REPOSITORY}]\n\tPlaybook - [${PLAYBOOK:-run.yml}]\n\tParameters - [${PARAMETERS}]\n\tAnsible image - [${ANSIBLE_IMAGE}]" - export INVENTORY_DIRECTORY="`pwd`" - export ANSIBLE_CONFIG="${INVENTORY_DIRECTORY}/ansible.cfg" - git config --global credential.helper store && echo "https://${GIT_LOGIN}:${GIT_PASSWORD}@$(echo ${REPOSITORY} | sed -r 's#([^/])/[^/].*#\1#' | sed -e 's|https://||g')" > ~/.git-credentials Loading Loading
gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ deploy: variables: - $REPOSITORY =~ /^\S+$/ script: - echo "Deploying...\n\tRepository - [${REPOSITORY}]\n\tPlaybook - [${PLAYBOOK:-run.yml}]\n\tParameters - [${PARAMETERS}]\n\tAnsible image - [${ANSIBLE_IMAGE}]" - echo -e "Deploying...\n\tRepository - [${REPOSITORY}]\n\tPlaybook - [${PLAYBOOK:-run.yml}]\n\tParameters - [${PARAMETERS}]\n\tAnsible image - [${ANSIBLE_IMAGE}]" - export INVENTORY_DIRECTORY="`pwd`" - export ANSIBLE_CONFIG="${INVENTORY_DIRECTORY}/ansible.cfg" - git config --global credential.helper store && echo "https://${GIT_LOGIN}:${GIT_PASSWORD}@$(echo ${REPOSITORY} | sed -r 's#([^/])/[^/].*#\1#' | sed -e 's|https://||g')" > ~/.git-credentials Loading