Commit b3cd4dd7 authored by Дмитрий Сафронов's avatar Дмитрий Сафронов
Browse files

Merge branch 'zimniy-master-patch-56098' into 'master'

Update gitlab-ci.yml

See merge request tools/continuous-integration/infrastructure/deployment-sites!36
parents a695297a ee84c025
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ deploy:
    variables:
      - $REPOSITORY =~ /^\S+$/
  script:
    - echo "Deploying configuration [${REPOSITORY}] with parameters [${PARAMETERS}] and playbook [${PLAYBOOK:-run.yml}]"
    - echo "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