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

Development: Add Theia configuration #86

Merged
merged 6 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions roles/artemis/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ artemis_version_control_default_branch_name: main

enable_science_event_logging: false

artemis_theia_base_url: https://theia-yannik.k8s.ase.cit.tum.de

iyannsch marked this conversation as resolved.
Show resolved Hide resolved
# If the password of some users is stored externally, you need to provide a name and the reset links. They will be displayed as a hint in the reset form of Artemis.
# You need to at least provide the provider and the English reset link.
artemis_external_password_provider: TUMonline
Expand Down
7 changes: 7 additions & 0 deletions roles/artemis/templates/application-prod.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,11 @@ artemis:
{% endif %}
{% endif %}

{% if artemis_theia_base_url is defined and artemis_theia_base_url is not none %}
theia:
portal-url: {{ artemis_theia_base_url }}
{% endif %}

{% if aeolus.url is defined and aeolus.url is not none %}
aeolus:
url: {{ aeolus.url }}
Expand All @@ -299,6 +304,8 @@ aeolus:
{% endif %}
{% endif %}



iyannsch marked this conversation as resolved.
Show resolved Hide resolved
jhipster:

{% if artemis_jhipster_jwt is not none %}
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 @@ -192,6 +192,9 @@ ARTEMIS_IRIS_SECRETTOKEN='{{ iris.secret }}'
{% if enable_science_event_logging is defined %}
ARTEMIS_SCIENCE_EVENTLOGGING_ENABLE='{{ enable_science_event_logging | lower }}'
{% endif %}
{% if artemis_theia_base_url is defined and artemis_theia_base_url is not none %}
ARTEMIS_THEIA_BASE_URL='{{ artemis_theia_base_url }}'
iyannsch marked this conversation as resolved.
Show resolved Hide resolved
{% endif %}
{% if aeolus.url is defined and aeolus.url is not none %}
AEOLUS_URL='{{ aeolus.url }}'
{% if aeolus.token is defined and aeolus.token is not none %}
Expand Down
Loading