From 7dd3e6109977b3ad87c062dbc99bac990fdc30ae Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sun, 8 Dec 2019 00:02:55 -0500 Subject: [PATCH] galaxy Signed-off-by: Paul Belanger --- .zuul.yaml | 23 +++++++++++++++-------- playbooks/run.yaml | 16 ++++++++++++++++ 2 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 playbooks/run.yaml diff --git a/.zuul.yaml b/.zuul.yaml index b9b52fc..5617802 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,10 +1,17 @@ +- nodeset: + name: ubuntu-bionic-1vcpu + nodes: + - name: ubuntu-bionic + label: ubuntu-bionic-1vcpu + +- job: + name: galaxy-quick-start + run: playbooks/run.yaml + required-projects: + - name: github.com/ansible/galaxy + nodeset: ubuntu-bionic-1vcpu + - project: - post: + check: jobs: - - release-ansible-collection-galaxy-dev - pre-rlease: - jobs: - - release-ansible-collection-galaxy-dev - release: - jobs: - - release-ansible-collection-galaxy-dev + - galaxy-quick-start diff --git a/playbooks/run.yaml b/playbooks/run.yaml new file mode 100644 index 0000000..1e3df37 --- /dev/null +++ b/playbooks/run.yaml @@ -0,0 +1,16 @@ +- hosts: all + tasks: + - name: Executor install-docker role + include_role: + name: install-docker + + - name: Ensure docker-compose is installed + become: true + package: + name: docker-compose + state: installed + + - name: Run docker-compose up + shell: docker-compose up -d -g galaxy -f compose.yml + args: + chdir: "{{ zuul.projects['github.com/ansible/galaxy'].src_dir }}/scripts/docker/dev"