Skip to content

Commit

Permalink
Merge pull request #216 from grycap/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
micafer authored Dec 2, 2024
2 parents b31d5b9 + 44252a8 commit 8252f3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion artifacts/ai4eosc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
traefik_host: "{{ nsupdate_dns }}"
when: nsupdate_dns is defined and nsupdate_dns != ""

- name: Set "ai4oshub/" prefix to image if not set
set_fact:
image: "ai4oshub/{{ image }}"
when: "'/' not in image"

- name: Create docker-compose file
copy:
dest: /opt/ai4eosc/docker-compose.yaml
Expand All @@ -32,7 +37,7 @@
version: "3.9"
services:
app:
image: ai4oshub/{{ image }}
image: {{ image }}
labels:
- "traefik.enable=true"
- "traefik.http.routers.app.service=app"
Expand Down
1 change: 1 addition & 0 deletions artifacts/lrms/nomad_ai4eosc_fe_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
- name: Set facts
set_fact:
consul_servers_ip: "{{ consul_servers_ip + [ consul_join ] }}"

Check warning on line 168 in artifacts/lrms/nomad_ai4eosc_fe_install.yml

View workflow job for this annotation

GitHub Actions / test-artifacts

jinja[spacing]

Jinja2 spacing could be improved: {{ consul_servers_ip + [ consul_join ] }} -> {{ consul_servers_ip + \[consul_join] }}
from_scratch_cluster_installation: false
when: consul_join != ''

- name: Set facts
Expand Down
2 changes: 1 addition & 1 deletion templates/slurm_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ topology_template:

outputs:
galaxy_nip_url:
value: { concat: [ 'https://galaxy.', get_attribute: [ simple_node, public_address, 0 ], 'nip.io/' ] }
value: { concat: [ 'https://galaxy.', get_attribute: [ lrms_server, public_address, 0 ], 'nip.io/' ] }
galaxy_dns_url:
value: { concat: [ 'https://', { get_input: galaxy_dns_name }, '/' ] }

0 comments on commit 8252f3f

Please sign in to comment.