Skip to content

Commit

Permalink
Add configuration option for push notification relay
Browse files Browse the repository at this point in the history
  • Loading branch information
bensofficial committed Jan 28, 2025
1 parent 9ef2b78 commit 5067af6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/artemis/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ artemis_version_control_default_branch_name: main

enable_science_event_logging: false

push_notification_relay: "https://hermes.artemis.cit.tum.de"

#theia:
# portal_url: https://theia-yannik.k8s.ase.cit.tum.de
# images:
Expand Down
3 changes: 3 additions & 0 deletions roles/artemis/templates/application-prod.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ artemis:
build-logs-path: {{ artemis_repo_basepath }}/build-logs
data-export-path: {{ artemis_data_export_path }}
bcrypt-salt-rounds: {{ artemis_bcrypt_salt_rounds }}
{% if push_notification_relay is defined and push_notification_relay is not none %}
push-notification-relay: {{ push_notification_relay }}
{% endif %}
user-management:
{% if user_management.jira is defined and user_management.jira is not none %}
use-external: true
Expand Down
3 changes: 3 additions & 0 deletions roles/artemis/templates/artemis.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ ARTEMIS_SUBMISSIONEXPORTPATH='{{ artemis_repo_basepath }}/exports'
ARTEMIS_LEGALPATH='{{ artemis_legal_path }}'
ARTEMIS_DATAEXPORTPATH='{{ artemis_data_export_path }}'
ARTEMIS_BCRYPTSALTROUNDS='{{ artemis_bcrypt_salt_rounds }}'
{% if push_notification_relay is defined and push_notification_relay is not none %}
ARTEMIS_PUSHNOTIFICATIONRELAY='{{ push_notification_relay }}'
{% endif %}
{% if user_management.jira is defined and user_management.jira is not none %}
ARTEMIS_USERMANAGEMENT_USEEXTERNAL='true'
ARTEMIS_USERMANAGEMENT_EXTERNAL_URL='{{ user_management.jira.url }}'
Expand Down

0 comments on commit 5067af6

Please sign in to comment.