Skip to content

Commit

Permalink
fix: update .gitlab-ci.yml, disable pull_role
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Nov 13, 2017
1 parent 76d2e1b commit fa7406d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ test:
script:
- molecule test

pull_role:
stage: build
tags:
- dev
script:
- if [ -z "$ANSIBLE_SERVER_PATH" ]; then exit 1; fi
- rsync -r "$PWD/" "$ANSIBLE_SERVER_PATH/../$CI_PROJECT_NAME/"
#- cd $ANSIBLE_SERVER_PATH && git pull origin master
only:
- master
#pull_role:
# stage: build
# tags:
# - dev
# script:
# - if [ -z "$ANSIBLE_SERVER_PATH" ]; then exit 1; fi
# - rsync -r "$PWD/" "$ANSIBLE_SERVER_PATH/../$CI_PROJECT_NAME/"
# #- cd $ANSIBLE_SERVER_PATH && git pull origin master
# only:
# - master

"adeploy server-scripts":
tags:
Expand Down

0 comments on commit fa7406d

Please sign in to comment.