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

Update gitlab-ci.yml

parent a695297a
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