mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-686: Update pipelines config.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
generate-pipeline:
|
||||
@python pipeline.py
|
||||
@python3 pipeline.py
|
||||
|
||||
@@ -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():
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user