Skip to content

Commit

Permalink
Add profile and notification plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bensofficial committed Jan 19, 2024
1 parent 4342af4 commit 80d1b3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/artemis/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ artemis_spring_profile_env: "prod"
artemis_spring_profile_user_management: "{% if user_management.jira is defined and user_management.jira is not none %},jira{% endif %}" # none HAS to be lowercase ¯\_(ツ)_/¯
artemis_spring_profile_ldap: "{% if ldap.password is defined and ldap.password is not none %}{% if user_management.jira is defined and user_management.jira is not none %},ldap{% else %},ldap-only{% endif %}{% endif %}"
artemis_spring_profile_version_control: "{% if version_control.bitbucket is defined and version_control.bitbucket is not none %},bitbucket{% elif version_control.gitlab is defined and version_control.gitlab is not none %},gitlab{% elif version_control.localvc is defined and version_control.localvc is not none %},localvc{% endif %}"
artemis_spring_profile_continuous_integration: "{% if continuous_integration.bamboo is defined and continuous_integration.bamboo is not none %},bamboo{% elif continuous_integration.jenkins is defined and continuous_integration.jenkins is not none %},jenkins{% elif continuous_integration.localci is defined and continuous_integration.localci is not none %},localci{% endif %}"
artemis_spring_profile_continuous_integration: "{% if continuous_integration.bamboo is defined and continuous_integration.bamboo is not none %},bamboo{% elif continuous_integration.jenkins is defined and continuous_integration.jenkins is not none %},jenkins{% elif continuous_integration.localci is defined and continuous_integration.localci is not none %},localci{% elif continuous_integration.gitlabci is defined and continuous_integration.gitlabci is not none %},gitlabci{% endif %}"
artemis_spring_profile_athena: "{% if athena is defined and athena is not none %},athena{% endif %}"
artemis_spring_profile_apollon: "{% if apollon_url is defined and apollon_url is not none %},apollon{% endif %}"
artemis_spring_profile_scheduling: "{% if node_id is defined and node_id == 1 %},scheduling{% endif %}"
Expand Down
1 change: 1 addition & 0 deletions roles/artemis/templates/application-prod.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ artemis:
continuous-integration:
build-timeout: 30
artemis-authentication-token-value: {{ continuous_integration.gitlabci.result_token }}
notification-plugin: "ls1tum/artemis-notification-plugin:1.0.0"
{% endif %}

{% if lti is defined %}
Expand Down
1 change: 1 addition & 0 deletions roles/artemis/templates/artemis.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ ARTEMIS_CONTINUOUSINTEGRATION_DOCKERCONNECTIONURI='unix:///var/run/docker.sock'
{% if continuous_integration.gitlabci is defined %}
ARTEMIS_CONTINUOUSINTEGRATION_BUILDTIMEOUT=30
ARTEMIS_CONTINUOUSINTEGRATION_ARTEMISAUTHENTICATIONTOKENVALUE={{ continuous_integration.gitlabci.result_token }}
ARTEMIS_CONTINUOUSINTEGRATION_NOTIFICATIONPLUGIN: "ls1tum/artemis-notification-plugin:1.0.0"
{% endif %}
ARTEMIS_USERMANAGEMENT_LOGIN_ACCOUNTNAME='{{ artemis_account_login_info }}'
{% if lti is defined %}
Expand Down

0 comments on commit 80d1b3c

Please sign in to comment.