Splitting out moderator check from syntax check

- Attempt to clarify CI runs from contributors
This commit is contained in:
Brad Beam
2017-01-24 22:44:06 -06:00
parent 85a8a54d3e
commit 2333ec4d1f
3 changed files with 14 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
stages:
- moderator
- unit-tests
- deploy-gce-part1
- deploy-gce-part2
@@ -506,15 +507,21 @@ ubuntu-rkt-sep:
only: ['master', /^pr-.*$/]
# Premoderated with manual actions
syntax-check:
ci-authorized:
<<: *job
stage: unit-tests
stage: moderator
before_script:
- apt-get -y install jq
script:
- ansible-playbook -i inventory/local-tests.cfg -u root -e ansible_ssh_user=root -b --become-user=root cluster.yml -vvv --syntax-check
- /bin/sh scripts/premoderator.sh
except: ['triggers', 'master']
syntax-check:
<<: *job
stage: unit-tests
script:
- ansible-playbook -i inventory/local-tests.cfg -u root -e ansible_ssh_user=root -b --become-user=root cluster.yml -vvv --syntax-check
except: ['triggers', 'master']
tox-inventory-builder:
stage: unit-tests