Skip to content

Commit

Permalink
Add new galaxy params
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Dec 4, 2024
1 parent 4047d33 commit d81555d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions custom_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,16 @@ node_types:
description: DNS name of the portal
required: false
default: ''
version:
type: string
description: Version of the Galaxy portal
required: false
default: 'latest'
brand:
type: string
description: Brand of the Galaxy portal
required: false
default: 'Galaxy'
requirements:
- lrms:
capability: tosca.capabilities.indigo.LRMS
Expand All @@ -941,6 +951,8 @@ node_types:
galaxy_lrms: { get_property: [ SELF, lrms, type ] }
galaxy_server_name: { get_attribute: [ HOST, private_address, 0 ] }
galaxy_dns_name: { get_property: [ SELF, dns_name ] }
galaxy_image_version: { get_property: [ SELF, version ] }
galaxy_brand: { get_property: [ SELF, brand ] }

tosca.nodes.indigo.GalaxyWN:
derived_from: tosca.nodes.SoftwareComponent
Expand Down
12 changes: 12 additions & 0 deletions templates/galaxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ topology_template:
type: string
description: Password of the Galaxy admin user
default: adminpass
brand:
type: string
description: Brand of the Galaxy portal
default: Galaxy
version:
type: string
description: Version of the Galaxy portal
default: 24.1
constraints:
- valid_values: [ '24.1' ]

dns_name:
type: string
Expand All @@ -51,6 +61,8 @@ topology_template:
admin_email: { get_input: admin_email }
admin_password: { get_input: admin_password }
dns_name: { get_input: dns_name }
brand: { get_input: brand }
version: { get_input: version }
requirements:
- lrms: local_lrms
- host: simple_node
Expand Down

0 comments on commit d81555d

Please sign in to comment.