Skip to content

Commit

Permalink
Add new output
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Nov 20, 2024
1 parent d2f4323 commit d74ad83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions templates/galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ topology_template:

dns_name:
type: string
description: DNS name of the Galaxy portal
description: DNS name of the Galaxy portal (leave empty to use galaxy.<node_ip>.nip.io)
default: ''

node_templates:
Expand Down Expand Up @@ -62,5 +62,7 @@ topology_template:
- host: simple_node

outputs:
galaxy_url:
value: { concat: [ 'https://', get_attribute: [ simple_node, public_address, 0 ], ':8443/' ] }
galaxy_nip_url:
value: { concat: [ 'https://galaxy.', get_attribute: [ simple_node, public_address, 0 ], 'nip.io/' ] }
galaxy_dns_url:
value: { concat: [ 'https://', { get_input: dns_name }, '/' ] }
8 changes: 5 additions & 3 deletions templates/slurm_galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ topology_template:
default: adminpass
galaxy_dns_name:
type: string
description: DNS name of the Galaxy portal
description: DNS name of the Galaxy portal (leave empty to use galaxy.<node_ip>.nip.io)
default: ''


Expand Down Expand Up @@ -92,5 +92,7 @@ topology_template:
- dependency: galaxy_portal

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

0 comments on commit d74ad83

Please sign in to comment.