Compare commits

...
Author SHA1 Message Date
moritz bad917e693 downgrade version label to last stable version 2026-10-07 22:41:46 +02:00
moritz 6459f9df67 fix(monitoring): primary key collision with mila 2026-09-09 21:00:37 +02:00
moritz aa97c3b519 fix missing KIMAI_GROUP and MILA_GROUP in compose files 2026-09-09 20:57:28 +02:00
moritz be9ebb3160 fix collectives.svg: convert png to svg 2026-09-01 12:01:31 +02:00
moritz c37700d793 downgrade image to last stable version 2026-08-31 23:48:12 +02:00
moritz c64e1308ad chore: publish 12.1.1+2026.8.0 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2026-08-31 18:05:09 +02:00
moritz 041eb3e4b9 fix(check_blueprints): reapply failed blueprints
continuous-integration/drone/push Build is failing
2026-08-25 23:03:30 +02:00
moritz e2cb5d2aae fix abra.sh return states of quitened functions 2026-08-25 21:27:30 +02:00
moritz 2f01ac90a2 add readiness-hook check_blueprints 2026-08-25 21:22:14 +02:00
javielico 576aa69bdd chore: publish 12.1.0+2026.8.0 release
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2026-08-19 11:24:09 +00:00
javielico ce22dab747 chore: update image tags
continuous-integration/drone/push Build is failing
2026-08-19 12:20:43 +01:00
7 changed files with 44 additions and 9 deletions
+37 -4
View File
@@ -15,7 +15,7 @@ export KIMAI_CONFIG_VERSION=v3
export ZAMMAD_CONFIG_VERSION=v4
export RALLLY_CONFIG_VERSION=v5
export HEDGEDOC_CONFIG_VERSION=v4
export MONITORING_CONFIG_VERSION=v5
export MONITORING_CONFIG_VERSION=v6
export MILA_CONFIG_VERSION=v2
export DB_ENTRYPOINT_VERSION=v1
export PG_BACKUP_VERSION=v2
@@ -78,6 +78,7 @@ for group_name in groups:
group.users.add(admin)
print(f'add akadmin to group {group_name}')
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
@@ -108,6 +109,7 @@ with open('/tmp/$1', newline='') as file:
group.users.add(new_user)
print(f'add {username} to group {group_name}')
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
set_user_pass() {
@@ -119,7 +121,7 @@ user.set_password('$password')
user.save()
print('Changed $username password')
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
set_admin_pass() {
@@ -157,6 +159,7 @@ else:
)
print('Created authentik-bootstrap-token')
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
rotate_db_pass() {
@@ -182,6 +185,7 @@ update_and_disable_blueprint() {
apply_blueprint $@
sleep 1
disable_blueprint $@ 2>&1 | quieten
return ${PIPESTATUS[0]}
}
disable_blueprint() {
@@ -195,6 +199,7 @@ enable_blueprint() {
apply_blueprint() {
echo apply blueprint $@
ak apply_blueprint $@ 2>&1 | quieten
return ${PIPESTATUS[0]}
}
blueprint_state() {
@@ -212,7 +217,7 @@ time.sleep(1)
blueprint.save()
print(f'{blueprint.name} enabled: {blueprint.enabled}')
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
# This function adds each application with its name, slug and group if passed
@@ -242,6 +247,7 @@ for name, details in applications.items():
app.open_in_new_tab = True
app.save()
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
# This function adds one application with its name, slug and group if passed
@@ -271,6 +277,7 @@ else:
app.open_in_new_tab = True
app.save()
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
## This function is for renaming apps - usage: rename "old name" "new name"
@@ -287,12 +294,13 @@ if app:
else:
print(f'No application found with name: {old_name}')
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
quieten() {
# 'SyntaxWarning|version_regex|"http\['
# is a workaround to get rid of some verbose syntax warnings, this might be fixed with another version
grep -Pv '"level": "(info|debug)"|SyntaxWarning|version_regex|"http\[|RuntimeWarning:|### authentik shell|### Node| objects imported automatically|^$'
grep -Pv '"level": "(info|debug)"|SyntaxWarning|version_regex|"http\[|RuntimeWarning:|### authentik shell|### Node| objects imported automatically|^$' || true
}
add_email_templates() {
@@ -386,6 +394,29 @@ Brand.objects.filter(default=True).delete()
apply_blueprints
}
check_blueprints() {
failed_blueprints=$(/manage.py shell -c """
print(','.join(b.path for b in BlueprintInstance.objects.exclude(status='successful').exclude(name='Default - Out-of-box-experience flow')))
""" 2>&1 | quieten | tail -n1)
if [ -z "$failed_blueprints" ]; then
echo "All Blueprints Successful"
return 0
fi
echo "These Blueprints failed:"
echo "$failed_blueprints" | tr ',' '\n'
echo "execute failed Blueprints"
export AUTHENTIK_LOG_LEVEL=warning
for bp in $(echo "$failed_blueprints" | tr ',' '\n'); do
echo "Applying: $bp"
ak apply_blueprint "/blueprints/$bp" 2>&1 | quieten
done
return 1
}
get_certificate() {
/manage.py shell -c """
provider_name='$1'
@@ -397,12 +428,14 @@ saml = provider.samlprovider
cert = saml.signing_kp
print(''.join(cert.certificate_data.splitlines()[1:-1]))
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
get_user_uid() {
/manage.py shell -c """
print(User.objects.filter(username='$1').first().uid)
""" 2>&1 | quieten
return ${PIPESTATUS[0]}
}
get_secrets() {
+1
View File
@@ -3,6 +3,7 @@ services:
worker:
environment:
- KIMAI_DOMAIN
- KIMAI_GROUP
configs:
- source: kimai
target: /blueprints/kimai.yaml
+1
View File
@@ -6,6 +6,7 @@ services:
- mila_secret
environment:
- MILA_DOMAIN
- MILA_GROUP
configs:
- source: mila
target: /blueprints/mila.yaml
+1 -1
View File
@@ -1,7 +1,7 @@
version: "3.8"
services:
authentik_ldap:
image: ghcr.io/goauthentik/ldap:2026.5.6
image: ghcr.io/goauthentik/ldap:2026.8.0
# Optionally specify which networks the container should be
# might be needed to reach the core authentik server
networks:
+3 -3
View File
@@ -35,7 +35,7 @@ x-env: &env
version: '3.8'
services:
app:
image: ghcr.io/goauthentik/server:2026.5.6
image: ghcr.io/goauthentik/server:2026.5.2
command: server
depends_on:
- db
@@ -71,14 +71,14 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect,${STACK_NAME}-frameOptions,${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN"
- "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}"
- "coop-cloud.${STACK_NAME}.version=12.0.6+2026.5.6"
- "coop-cloud.${STACK_NAME}.version=12.0.2+2026.5.2"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.regex=^https://(${REDIRECTS})/(.*)"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.replacement=https://${DOMAIN}/$${2}"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.permanent=true"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
worker:
image: ghcr.io/goauthentik/server:2026.5.6
image: ghcr.io/goauthentik/server:2026.5.2
command: worker
depends_on:
- db
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+1 -1
View File
@@ -33,7 +33,7 @@ entries:
conditions: []
id: monitoring_provider
identifiers:
pk: 9990
pk: 9988
model: authentik_providers_oauth2.oauth2provider
state: present