Skip to content

Commit

Permalink
Set var labs engine repo
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Oct 4, 2024
1 parent 08ea17b commit bfe889f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ansible/host_vars/dev-labs.gvl.org.au.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git_branch: dev
labs_engine_branch: dev
2 changes: 1 addition & 1 deletion ansible/host_vars/labs.usegalaxy.org.au.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git_branch: main
labs_engine_branch: main
6 changes: 4 additions & 2 deletions ansible/roles/galaxy_labs_engine/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
git_branch: main

labs_engine_repo: https://github.com/usegalaxy-au/galaxy-labs-engine.git
labs_engine_branch: main
labs_engine_docker_image: neoformit/galaxy-labs-engine:latest

project_root: /home/ubuntu/labs-engine
config_root: /home/ubuntu/config
django_root: "{{ project_root }}/app"

labs_engine_docker_image: neoformit/galaxy-labs-engine:latest

labs_engine:
templates:
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/galaxy_labs_engine/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

- name: clone git repository for galaxy-labs-engine
ansible.builtin.git:
repo: https://github.com/neoformit/galaxy-labs-engine.git
version: "{{ git_branch }}"
repo: "{{ labs_engine_repo }}"
version: "{{ labs_engine_branch }}"
dest: "{{ project_root }}"
clone: yes
force: yes
Expand Down

0 comments on commit bfe889f

Please sign in to comment.