Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new output #212

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }, '/' ] }
Loading