Skip to content

Commit 3c561ef

Browse files
committed
fix merge conflict
2 parents e208070 + 969298f commit 3c561ef

File tree

47 files changed

+323
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+323
-64
lines changed

.github/workflows/molecule-loadbalancer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
build:
2424
runs-on: ubuntu-20.04
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727

2828
- name: Set up Python 3.8
2929
uses: actions/setup-python@v5

.github/workflows/molecule-mongo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build:
1818
runs-on: ubuntu-20.04
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121

2222
- name: Set up Python 3.8
2323
uses: actions/setup-python@v5

.github/workflows/syntax.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323

2424
- name: Set up Python 3.8
2525
uses: actions/setup-python@v5

environments/template/group_vars/all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ httpd_csp:
3434
lenient: "default-src 'self'; object-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'"
3535
lenient_with_static_img: "default-src 'self'; object-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' https://{{ static_vhost }} http://localhost:* data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'"
3636
lenient_with_static_img_with_oidcng: "default-src 'self'; object-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://{{ oidcng_vhost }}; img-src 'self' https://{{ static_vhost }} http://localhost:* data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'"
37-
strict: "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'"
38-
strict_with_static_img: "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self'; img-src 'self' https://{{ static_vhost }} http://localhost:* data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'"
37+
strict: "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'; manifest-src 'self'"
38+
strict_with_static_img: "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self'; img-src 'self' https://{{ static_vhost }} http://localhost:* data:; form-action 'self'; frame-ancestors 'none'; base-uri 'none'; manifest-src 'self'"
3939
lenient_with_static_img_for_idp: "default-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self' https://{{ oidcng_vhost }}; img-src 'self' https://{{ static_vhost }} http://localhost:* data:; form-action 'self' https://*.{{ base_domain }}; frame-ancestors 'none'; base-uri 'none'"
4040
lenient_with_static_img_for_idp_frcapi: "default-src 'none'; frame-src https://global.frcapi.com/; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; font-src 'self'; connect-src 'self' https://{{ oidcng_vhost }}; img-src 'self' https://{{ static_vhost }} http://localhost:* data:; form-action 'self' https://*.{{ base_domain }}; frame-ancestors 'none'; base-uri 'none'"
4141
nothing: "default-src 'none'; frame-ancestors 'none'; form-action 'none'; base-uri 'none'"

environments/template/group_vars/template.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ myconext:
283283
feature_mail_inactivity_mails: true
284284
feature_nudge_app_mail: true
285285
feature_service_desk_active: true
286+
feature_use_remote_creation_for_affiliation: true
286287
feature_send_js_exceptions: true
287288
feature_deny_disposable_email_providers: true
288289
feature_create_eduid_institution_enabled: true
@@ -302,6 +303,7 @@ myconext:
302303
- { name: "privacy_policy" , url: "https://example.org/x/MIzaAQ" }
303304
- { name: "terms_of_service" , url: "https://example.org/x/LozaAQ"}
304305
- { name: "voorwaarden" , url: "https://example.org/x/HYzaAQ"}
306+
geo_location_ external_url: "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={license_key}&suffix=tar.gz"
305307

306308
monitoring_tests:
307309
metadata_sp_url: "{{ monitoring_tests_metadata_sp_url }}"

roles/dashboard/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
dashboard_organization: SURFconext
22
dashboard_hide_tabs: none
3+
dashboard_server_restart_policy: always
4+
dashboard_server_restart_retries: 0

roles/dashboard/tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
TZ: "{{ timezone }}"
2828
image: ghcr.io/openconext/openconext-dashboard/dashboard-server:{{ dashboard_server_version }}
2929
pull: true
30-
restart_policy: "always"
30+
restart_policy: "{{ dashboard_server_restart_policy }}"
31+
restart_retries: "{{ dashboard_server_restart_retries }}" # Only for restart policy on-failure
3132
state: started
3233
networks:
3334
- name: "loadbalancer"

roles/galera/tasks/cluster_nodes.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@
225225
login_user: root
226226
login_password: "{{ mariadb_root_password }}"
227227
login_unix_socket: /var/lib/mysql/mysql.sock
228-
run_once: true # run once because it is synced to other cluster nodes
228+
run_once: true
229+
no_log: true
229230

230231
# Add backup user
231232
- name: add mariadb backup user
@@ -237,8 +238,13 @@
237238
login_user: root
238239
login_password: "{{ mariadb_root_password }}"
239240
login_unix_socket: /var/lib/mysql/mysql.sock
241+
<<<<<<< HEAD
240242
run_once: true # run once because it is synced to other cluster nodes
241243

244+
=======
245+
run_once: true
246+
no_log: true
247+
>>>>>>> main
242248

243249
- name: Add Galera clustercheck user, used for keepalived to connect
244250
mysql_user:
@@ -249,7 +255,12 @@
249255
login_user: root
250256
login_password: "{{ mariadb_root_password }}"
251257
login_unix_socket: /var/lib/mysql/mysql.sock
258+
<<<<<<< HEAD
252259
run_once: true # run once because it is synced to other cluster nodes
260+
=======
261+
run_once: true
262+
no_log: true
263+
>>>>>>> main
253264

254265
- name: Create the backup directory
255266
file:
@@ -288,6 +299,7 @@
288299
run_once: true # run once because it is synced to other cluster nodes
289300
tags: galera_create_db
290301

302+
<<<<<<< HEAD
291303
- name: Create database super users for provisioning users and databases
292304
mysql_user:
293305
name: "{{ item.0.name }}"
@@ -304,6 +316,8 @@
304316
run_once: true # run once because it is synced to other cluster nodes
305317
tags: galera_create_db
306318

319+
=======
320+
>>>>>>> main
307321
- name: MySQL my.cnf
308322
template:
309323
src: "my.cnf.j2"

roles/invite/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@ invite_manage_provision_oauth_rs_scopes: "openid"
1515
invite_mock_install: false
1616
# Override is in the dockerX.env host_var files
1717
invite_cronjobmaster: true
18+
invite_logback_json: true
1819
invite_docker_networks:
1920
- name: loadbalancer
21+
invite_server_restart_policy: always
22+
invite_server_restart_retries: 0

roles/invite/tasks/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
mode: "0644"
1717
with_items:
1818
- serverapplication.yml
19+
- logback.xml
1920
notify: restart inviteserver
2021

2122
- name: Copy private key for manage secrets encryption
@@ -62,13 +63,17 @@
6263
TZ: "{{ timezone }}"
6364
image: ghcr.io/openconext/openconext-invite/inviteserver:{{ invite_server_version }}
6465
pull: true
65-
restart_policy: "always"
66+
restart_policy: "{{ invite_server_restart_policy }}"
67+
restart_retries: "{{ invite_server_restart_retries }}" # Only for restart policy on-failure
6668
state: started
6769
networks: "{{ invite_docker_networks }}"
6870
mounts:
6971
- source: /opt/openconext/invite/serverapplication.yml
7072
target: /application.yml
7173
type: bind
74+
- source: /opt/openconext/invite/logback.xml
75+
target: /logback.xml
76+
type: bind
7277
- source: /opt/openconext/invite/private_key_pkcs8.pem
7378
target: /private_key_pkcs8.pem
7479
type: bind

0 commit comments

Comments
 (0)