mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
fix indentation in pipelines config
This commit is contained in:
@@ -37,25 +37,25 @@ pipelines:
|
||||
- parallel:
|
||||
{% for spath in scenario_paths %}
|
||||
- step:
|
||||
name: {{ spath.parts[2] }}/{{ spath.parts[4] }}
|
||||
caches:
|
||||
- ansible-collections
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- export ANSIBLE_CONFIG=./ansible.cfg
|
||||
- ./bin/install-ansible --dev
|
||||
- cd roles/{{ spath.parts[2] }}
|
||||
- pipenv run molecule test -s {{ spath.parts[4] }}
|
||||
name: {{ spath.parts[2] }}/{{ spath.parts[4] }}
|
||||
caches:
|
||||
- ansible-collections
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- export ANSIBLE_CONFIG=./ansible.cfg
|
||||
- ./bin/install-ansible --dev
|
||||
- cd roles/{{ spath.parts[2] }}
|
||||
- pipenv run molecule test -s {{ spath.parts[4] }}
|
||||
{% endfor %}
|
||||
|
||||
- step:
|
||||
name: Run Snyk security scan
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- ./bin/install-ansible --dev
|
||||
- apt-get update && apt-get install -y npm
|
||||
- npm install -g snyk
|
||||
- snyk auth $SNYK_TOKEN
|
||||
- pipenv run snyk monitor --severity-threshold=high --project-name=dc-deployments-automation
|
||||
name: Run Snyk security scan
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- ./bin/install-ansible --dev
|
||||
- apt-get update && apt-get install -y npm
|
||||
- npm install -g snyk
|
||||
- snyk auth $SNYK_TOKEN
|
||||
- pipenv run snyk monitor --severity-threshold=high --project-name=dc-deployments-automation
|
||||
|
||||
Reference in New Issue
Block a user