DCD-686: Update pipelines config.

This commit is contained in:
Steve Smith
2019-10-04 11:39:43 +10:00
parent 6a940a7183
commit 5e85f71ae8
5 changed files with 43 additions and 63 deletions

View File

@@ -1,2 +1,2 @@
generate-pipeline:
@python pipeline.py
@python3 pipeline.py

View File

@@ -46,14 +46,13 @@ class Step:
class ScriptCommand:
INSTALL_PACKAGES_COMMAND = "apt-get update && apt-get install -y virtualenv python-dev"
INSTALL_ANSIBLE_COMMAND = "./bin/install-ansible"
PACKAGE_INSTALL_COMMAND = "./bin/install-ansible --dev"
def __init__(self, test_command):
self.test_command = test_command
def all_commands(self):
return [self.INSTALL_PACKAGES_COMMAND, self.INSTALL_ANSIBLE_COMMAND, self.test_command]
return [self.PACKAGE_INSTALL_COMMAND, self.test_command]
def main():

View File

@@ -1,6 +1,6 @@
---
image: atlassian/default-image:2
image: ubuntu:disco
options:
size: 2x
@@ -36,4 +36,4 @@ pipelines:
{% for scriptCommand in parallel_step.scriptCommands -%}
- {{ scriptCommand }}
{% endfor %}
{% endfor %}
{% endfor %}