mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-07 07:51:38 +01:00
chore(ci): Update YAML files to comply with YAMLLINT
This commit is contained in:
132
.gitlab-ci.yml
132
.gitlab-ci.yml
@@ -27,7 +27,7 @@ variables:
|
|||||||
description: "The name of namespaces to deploy to."
|
description: "The name of namespaces to deploy to."
|
||||||
value: ""
|
value: ""
|
||||||
CLUSTER:
|
CLUSTER:
|
||||||
description: "Define which cluster to use - don't select prototype when you are not explicitly knowing what you are doing!"
|
description: "Define which cluster to use"
|
||||||
value: "develop"
|
value: "develop"
|
||||||
options:
|
options:
|
||||||
- "dev"
|
- "dev"
|
||||||
@@ -61,7 +61,7 @@ variables:
|
|||||||
- "yes"
|
- "yes"
|
||||||
- "no"
|
- "no"
|
||||||
DEPLOY_UCS:
|
DEPLOY_UCS:
|
||||||
description: "Enable Univention Corporate Server deployment. Depends on `DEPLOY_KEYCLOAK` and `DEPLOY_VAULT`."
|
description: "Enable Univention Corporate Server deployment."
|
||||||
value: "no"
|
value: "no"
|
||||||
options:
|
options:
|
||||||
- "yes"
|
- "yes"
|
||||||
@@ -79,7 +79,7 @@ variables:
|
|||||||
- "yes"
|
- "yes"
|
||||||
- "no"
|
- "no"
|
||||||
DEPLOY_KEYCLOAK:
|
DEPLOY_KEYCLOAK:
|
||||||
description: "Enable Keycloak deployment. 'yes' deploys upstream (bitnami) Keycloak, select 'keycloak_univention' to install Univention maintained Keycloak."
|
description: "Enable Keycloak deployment."
|
||||||
value: "no"
|
value: "no"
|
||||||
options:
|
options:
|
||||||
- "yes"
|
- "yes"
|
||||||
@@ -156,14 +156,15 @@ variables:
|
|||||||
field: "credentials"
|
field: "credentials"
|
||||||
file: false
|
file: false
|
||||||
script:
|
script:
|
||||||
- cd "${CI_PROJECT_DIR}/helmfile/apps/${COMPONENT}"
|
- "cd ${CI_PROJECT_DIR}/helmfile/apps/${COMPONENT}"
|
||||||
# MASTER_PASSWORD_WEB_VAR as precedence for MASTER_PASSWORD
|
# MASTER_PASSWORD_WEB_VAR as precedence for MASTER_PASSWORD
|
||||||
- |
|
- |
|
||||||
if ! [ -z "${MASTER_PASSWORD_WEB_VAR}" ]; then
|
if ! [ -z "${MASTER_PASSWORD_WEB_VAR}" ]; then
|
||||||
export MASTER_PASSWORD="${MASTER_PASSWORD_WEB_VAR}"
|
export MASTER_PASSWORD="${MASTER_PASSWORD_WEB_VAR}"
|
||||||
fi;
|
fi;
|
||||||
- echo "Installing ${COMPONENT} into ${NAMESPACE} namespace as ${HELMFILE_ENVIRONMENT} environment on ${CLUSTER}"
|
- >
|
||||||
- helmfile --namespace ${NAMESPACE} apply --suppress-diff
|
echo "Installing ${COMPONENT} into ${NAMESPACE} namespace as ${HELMFILE_ENVIRONMENT} environment on ${CLUSTER}"
|
||||||
|
- "helmfile --namespace ${NAMESPACE} apply --suppress-diff"
|
||||||
tags:
|
tags:
|
||||||
- "docker"
|
- "docker"
|
||||||
- "kubernetes"
|
- "kubernetes"
|
||||||
@@ -178,7 +179,10 @@ env-cleanup:
|
|||||||
action: "stop"
|
action: "stop"
|
||||||
needs: []
|
needs: []
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && $ENV_STOP_BEFORE != "no"
|
- if: >
|
||||||
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
$ENV_STOP_BEFORE != "no"
|
||||||
when: "always"
|
when: "always"
|
||||||
script:
|
script:
|
||||||
- "helmfile destroy --namespace ${NAMESPACE}"
|
- "helmfile destroy --namespace ${NAMESPACE}"
|
||||||
@@ -193,10 +197,12 @@ env-start:
|
|||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
image: "${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/k8s:1.25.6"
|
image: "${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/k8s:1.25.6"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/
|
- if: >
|
||||||
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/
|
||||||
when: "always"
|
when: "always"
|
||||||
script:
|
script:
|
||||||
- 'echo "Deploying to Environment ${NAMESPACE} in ${CLUSTER} Cluster"'
|
- "echo \"Deploying to Environment ${NAMESPACE} in ${CLUSTER} Cluster\""
|
||||||
- "kubectl create namespace ${NAMESPACE} --dry-run=client -o yaml | kubectl apply -f -"
|
- "kubectl create namespace ${NAMESPACE} --dry-run=client -o yaml | kubectl apply -f -"
|
||||||
- >
|
- >
|
||||||
kubectl create secret
|
kubectl create secret
|
||||||
@@ -212,8 +218,11 @@ services-deploy:
|
|||||||
stage: "basic-services-deploy"
|
stage: "basic-services-deploy"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_SERVICES != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_SERVICES != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "services"
|
COMPONENT: "services"
|
||||||
|
|
||||||
@@ -221,8 +230,11 @@ ucs-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_UCS != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_UCS != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "univention-corporate-container"
|
COMPONENT: "univention-corporate-container"
|
||||||
|
|
||||||
@@ -230,8 +242,11 @@ provisioning-deploy:
|
|||||||
stage: "component-deploy-stage-2"
|
stage: "component-deploy-stage-2"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_UCS != "no" || $DEPLOY_PROVISIONING != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_UCS != "no" || $DEPLOY_PROVISIONING != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "provisioning"
|
COMPONENT: "provisioning"
|
||||||
|
|
||||||
@@ -239,18 +254,24 @@ keycloak-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_KEYCLOAK != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_KEYCLOAK != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "keycloak"
|
COMPONENT: "keycloak"
|
||||||
|
|
||||||
keycloak-bootstrap-deploy:
|
keycloak-bootstrap-deploy:
|
||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
timeout: 30m
|
timeout: "30m"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_KEYCLOAK != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_KEYCLOAK != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "keycloak-bootstrap"
|
COMPONENT: "keycloak-bootstrap"
|
||||||
|
|
||||||
@@ -258,8 +279,11 @@ ox-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_OX != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_OX != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "open-xchange"
|
COMPONENT: "open-xchange"
|
||||||
|
|
||||||
@@ -267,8 +291,11 @@ ics-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_ICS != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_ICS != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "intercom-service"
|
COMPONENT: "intercom-service"
|
||||||
|
|
||||||
@@ -276,8 +303,11 @@ xwiki-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_XWIKI != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_XWIKI != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "xwiki"
|
COMPONENT: "xwiki"
|
||||||
|
|
||||||
@@ -285,8 +315,11 @@ collabora-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_NEXTCLOUD != "no" || $DEPLOY_COLLABORA != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_NEXTCLOUD != "no" || $DEPLOY_COLLABORA != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "collabora"
|
COMPONENT: "collabora"
|
||||||
|
|
||||||
@@ -294,8 +327,11 @@ nextcloud-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_NEXTCLOUD != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_NEXTCLOUD != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "nextcloud"
|
COMPONENT: "nextcloud"
|
||||||
|
|
||||||
@@ -303,8 +339,11 @@ openproject-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_OPENPROJECT != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_OPENPROJECT != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "openproject"
|
COMPONENT: "openproject"
|
||||||
|
|
||||||
@@ -312,8 +351,11 @@ jitsi-deploy:
|
|||||||
stage: "component-deploy-stage-1"
|
stage: "component-deploy-stage-1"
|
||||||
extends: ".deploy-common"
|
extends: ".deploy-common"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && ($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_JITSI != "no")
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" &&
|
||||||
|
$NAMESPACE =~ /.+/ &&
|
||||||
|
($DEPLOY_ALL_COMPONENTS != "no" || $DEPLOY_JITSI != "no")
|
||||||
|
when: "always"
|
||||||
variables:
|
variables:
|
||||||
COMPONENT: "jitsi"
|
COMPONENT: "jitsi"
|
||||||
|
|
||||||
@@ -325,10 +367,12 @@ env-stop:
|
|||||||
image: "${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/k8s:1.25.6"
|
image: "${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/k8s:1.25.6"
|
||||||
needs: []
|
needs: []
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/
|
- if: >
|
||||||
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/
|
||||||
when: "manual"
|
when: "manual"
|
||||||
script:
|
script:
|
||||||
- "echo 'We do not stop the env (delete the namespace) at the moment in this stage, as deleting a branches also triggers this env-stop stage and we do not want this to happen.'"
|
- "echo 'We do not stop the env (delete the namespace) at the moment in this stage, as deleting a branches also
|
||||||
|
triggers this env-stop stage and we do not want this to happen.'"
|
||||||
# - kubectl delete namespace "${NAMESPACE}"
|
# - kubectl delete namespace "${NAMESPACE}"
|
||||||
stage: "env-stop"
|
stage: "env-stop"
|
||||||
variables:
|
variables:
|
||||||
@@ -344,8 +388,9 @@ run-tests:
|
|||||||
- "${CLUSTER}"
|
- "${CLUSTER}"
|
||||||
stage: "tests"
|
stage: "tests"
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && $RUN_TESTS == "yes"
|
- if: >
|
||||||
when: always
|
$CI_PIPELINE_SOURCE =~ "web|schedules|triggers" && $NAMESPACE =~ /.+/ && $RUN_TESTS == "yes"
|
||||||
|
when: "always"
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
COMPONENTS="login or portal or profile or navigation"
|
COMPONENTS="login or portal or profile or navigation"
|
||||||
@@ -383,10 +428,11 @@ run-tests:
|
|||||||
|
|
||||||
common-yaml-linter:
|
common-yaml-linter:
|
||||||
except:
|
except:
|
||||||
- tags
|
- "tags"
|
||||||
- web
|
- "web"
|
||||||
|
|
||||||
reuse-linter:
|
reuse-linter:
|
||||||
|
allow_failure: false
|
||||||
except:
|
except:
|
||||||
- tags
|
- "tags"
|
||||||
- web
|
- "web"
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
---
|
---
|
||||||
keycloakConfigCli:
|
keycloakConfigCli:
|
||||||
configuration:
|
configuration:
|
||||||
|
# yamllint disable rule:line-length
|
||||||
idp.json: |
|
idp.json: |
|
||||||
{
|
{
|
||||||
"id": "$(IDENTIFIER)",
|
"id": "$(IDENTIFIER)",
|
||||||
@@ -1688,4 +1689,5 @@ keycloakConfigCli:
|
|||||||
],
|
],
|
||||||
"browserFlow": "2fa-browser"
|
"browserFlow": "2fa-browser"
|
||||||
}
|
}
|
||||||
|
# yamllint enable rule:line-length
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -10,12 +10,14 @@ auth:
|
|||||||
adminUser: "kcadmin"
|
adminUser: "kcadmin"
|
||||||
# not working as expected with older helm chart, check if it works with most recent one.
|
# not working as expected with older helm chart, check if it works with most recent one.
|
||||||
# meanwhile we set the loglevel using the extraEnvVars a bit below.
|
# meanwhile we set the loglevel using the extraEnvVars a bit below.
|
||||||
#logging:
|
# logging:
|
||||||
# level: "DEBUG"
|
# level: "DEBUG"
|
||||||
extraEnvVars:
|
extraEnvVars:
|
||||||
- name: "KC_LOG_LEVEL"
|
- name: "KC_LOG_LEVEL"
|
||||||
value: "INFO"
|
value: "INFO"
|
||||||
extraStartupArgs: "-Dkeycloak.profile.feature.token_exchange=enabled -Dkeycloak.profile.feature.admin_fine_grained_authz=enabled"
|
extraStartupArgs: >
|
||||||
|
-Dkeycloak.profile.feature.token_exchange=enabled
|
||||||
|
-Dkeycloak.profile.feature.admin_fine_grained_authz=enabled
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: "ClusterIP"
|
type: "ClusterIP"
|
||||||
@@ -44,8 +46,12 @@ extraVolumeMounts:
|
|||||||
|
|
||||||
keycloakConfigCli:
|
keycloakConfigCli:
|
||||||
enabled: true
|
enabled: true
|
||||||
command: [ "java", "-jar" ,"/opt/bitnami/keycloak-config-cli/keycloak-config-cli-19.0.3.jar" ]
|
command:
|
||||||
args: [ "--import.var-substitution.enabled=true" ]
|
- "java"
|
||||||
|
- "-jar"
|
||||||
|
- "/opt/bitnami/keycloak-config-cli/keycloak-config-cli-19.0.3.jar"
|
||||||
|
args:
|
||||||
|
- "--import.var-substitution.enabled=true"
|
||||||
cache:
|
cache:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,9 @@ cronjob:
|
|||||||
postStartCommand:
|
postStartCommand:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
- 'sed -i "s/\*\/5 \* \* \* \* php -f \/var\/www\/html\/cron.php/\*\/1 \* \* \* \* php -f \/var\/www\/html\/cron.php/g" /var/spool/cron/crontabs/www-data'
|
- >
|
||||||
|
sed -i "s/\*\/5 \* \* \* \* php -f \/var\/www\/html\/cron.php/\*\/1 \* \* \* \* php -f
|
||||||
|
\/var\/www\/html\/cron.php/g" /var/spool/cron/crontabs/www-data
|
||||||
|
|
||||||
internalDatabase:
|
internalDatabase:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ appsuite:
|
|||||||
status:
|
status:
|
||||||
# enable admin pack
|
# enable admin pack
|
||||||
# admin: enabled
|
# admin: enabled
|
||||||
documents: disabled
|
documents: "disabled"
|
||||||
guard: enabled
|
guard: "enabled"
|
||||||
packages:
|
packages:
|
||||||
status:
|
status:
|
||||||
open-xchange-oidc: enabled
|
open-xchange-oidc: "enabled"
|
||||||
open-xchange-authentication-database: disabled
|
open-xchange-authentication-database: "disabled"
|
||||||
open-xchange-authentication-oauth: enabled
|
open-xchange-authentication-oauth: "enabled"
|
||||||
properties:
|
properties:
|
||||||
com.openexchange.UIWebPath: "/appsuite/"
|
com.openexchange.UIWebPath: "/appsuite/"
|
||||||
# OIDC
|
# OIDC
|
||||||
@@ -50,10 +50,10 @@ appsuite:
|
|||||||
com.openexchange.mail.transportServer: "postfix"
|
com.openexchange.mail.transportServer: "postfix"
|
||||||
com.openexchange.mail.transportServerSource: "global"
|
com.openexchange.mail.transportServerSource: "global"
|
||||||
# Mailfilter
|
# Mailfilter
|
||||||
com.openexchange.mail.filter.loginType: global
|
com.openexchange.mail.filter.loginType: "global"
|
||||||
com.openexchange.mail.filter.credentialSource: mail
|
com.openexchange.mail.filter.credentialSource: "mail"
|
||||||
com.openexchange.mail.filter.server: dovecot
|
com.openexchange.mail.filter.server: "dovecot"
|
||||||
com.openexchange.mail.filter.preferredSaslMech: XOAUTH2
|
com.openexchange.mail.filter.preferredSaslMech: "XOAUTH2"
|
||||||
# Capabilities
|
# Capabilities
|
||||||
com.openexchange.capability.client-onboarding: "true"
|
com.openexchange.capability.client-onboarding: "true"
|
||||||
com.openexchange.capability.dynamic-theme: "true"
|
com.openexchange.capability.dynamic-theme: "true"
|
||||||
@@ -64,7 +64,7 @@ appsuite:
|
|||||||
com.openexchange.capability.public-sector: "true"
|
com.openexchange.capability.public-sector: "true"
|
||||||
com.openexchange.capability.smime: "true"
|
com.openexchange.capability.smime: "true"
|
||||||
# Secondary Accounts
|
# Secondary Accounts
|
||||||
com.openexchange.mail.secondary.authType: XOAUTH2
|
com.openexchange.mail.secondary.authType: "XOAUTH2"
|
||||||
# Nextcloud integration
|
# Nextcloud integration
|
||||||
com.openexchange.file.storage.nextcloud.oauth.url: "http://nextcloud/"
|
com.openexchange.file.storage.nextcloud.oauth.url: "http://nextcloud/"
|
||||||
com.openexchange.file.storage.nextcloud.oauth.webdav.username.strategy: "user"
|
com.openexchange.file.storage.nextcloud.oauth.webdav.username.strategy: "user"
|
||||||
@@ -97,17 +97,18 @@ appsuite:
|
|||||||
io.ox/core//features/managedResources: "true"
|
io.ox/core//features/managedResources: "true"
|
||||||
# Categories
|
# Categories
|
||||||
io.ox/core//features/categories: "true"
|
io.ox/core//features/categories: "true"
|
||||||
io.ox/core//categories/predefined: '[{ "name": "Predefined", "color": "orange", "icon": "bi/exclamation-circle.svg" }]'
|
io.ox/core//categories/predefined: >
|
||||||
|
[{ "name": "Predefined", "color": "orange", "icon": "bi/exclamation-circle.svg" }]
|
||||||
# Nextcloud integration
|
# Nextcloud integration
|
||||||
# io.ox.nextcloud//server: "https://ics.<DOMAIN>/fs/"
|
# io.ox.nextcloud//server: "https://ics.<DOMAIN>/fs/"
|
||||||
# Central navigation
|
# Central navigation
|
||||||
io.ox.public-sector//navigation/oxtabname: tab_groupware
|
io.ox.public-sector//navigation/oxtabname: "tab_groupware"
|
||||||
# io.ox.public-sector//ics/url: "https://ics.<DOMAIN>/"
|
# io.ox.public-sector//ics/url: "https://ics.<DOMAIN>/"
|
||||||
io.ox/core//apps/quickLaunchCount: "0"
|
io.ox/core//apps/quickLaunchCount: "0"
|
||||||
io.ox/core//coloredIcons: "false"
|
io.ox/core//coloredIcons: "false"
|
||||||
# Dynamic theme
|
# Dynamic theme
|
||||||
io.ox/dynamic-theme//mainColor: "#004B76"
|
io.ox/dynamic-theme//mainColor: "#004B76"
|
||||||
io.ox/dynamic-theme//logoURL: io.ox.public-sector/logo.svg
|
io.ox/dynamic-theme//logoURL: "io.ox.public-sector/logo.svg"
|
||||||
io.ox/dynamic-theme//logoWidth: "80"
|
io.ox/dynamic-theme//logoWidth: "80"
|
||||||
io.ox/dynamic-theme//topbarBackground: "#fff"
|
io.ox/dynamic-theme//topbarBackground: "#fff"
|
||||||
io.ox/dynamic-theme//topbarColor: "#1f1f1f"
|
io.ox/dynamic-theme//topbarColor: "#1f1f1f"
|
||||||
@@ -120,10 +121,10 @@ appsuite:
|
|||||||
|
|
||||||
asConfig:
|
asConfig:
|
||||||
default:
|
default:
|
||||||
host: all
|
host: "all"
|
||||||
pageHeaderPrefix: "as8.souvap App Suite"
|
pageHeaderPrefix: "as8.souvap App Suite"
|
||||||
oidcLogin: true
|
oidcLogin: true
|
||||||
oidcPath: /oidc
|
oidcPath: "/oidc"
|
||||||
|
|
||||||
core-ui:
|
core-ui:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ openproject:
|
|||||||
# seed will only be executed on initial installation
|
# seed will only be executed on initial installation
|
||||||
seed_locale: "de"
|
seed_locale: "de"
|
||||||
|
|
||||||
# For more details and more options see https://www.openproject.org/docs/installation-and-operations/configuration/environment/
|
# For more details and more options see
|
||||||
|
# https://www.openproject.org/docs/installation-and-operations/configuration/environment/
|
||||||
environment:
|
environment:
|
||||||
OPENPROJECT_LOG__LEVEL: "info"
|
OPENPROJECT_LOG__LEVEL: "info"
|
||||||
OPENPROJECT_OPENID__CONNECT_KEYCLOAK_ATTRIBUTE__MAP_LOGIN: "phoenixusername"
|
OPENPROJECT_OPENID__CONNECT_KEYCLOAK_ATTRIBUTE__MAP_LOGIN: "phoenixusername"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ ingress:
|
|||||||
|
|
||||||
oxConnector:
|
oxConnector:
|
||||||
ldapHost: "univention-corporate-container"
|
ldapHost: "univention-corporate-container"
|
||||||
#ldapHostIp: ""
|
# ldapHostIp: ""
|
||||||
ldapBaseDn: "dc=swp-ldap,dc=internal"
|
ldapBaseDn: "dc=swp-ldap,dc=internal"
|
||||||
ldapHostDn: "cn=admin,dc=swp-ldap,dc=internal"
|
ldapHostDn: "cn=admin,dc=swp-ldap,dc=internal"
|
||||||
notifierServer: "univention-corporate-container"
|
notifierServer: "univention-corporate-container"
|
||||||
|
|||||||
@@ -39,10 +39,13 @@ properties:
|
|||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.btn-primary-bg": "@brand-primary"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.btn-primary-bg": "@brand-primary"
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-color": "@brand-primary"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-color": "@brand-primary"
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-color": "@brand-primary"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-color": "@brand-primary"
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-hover-color": "@brand-primary"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-hover-color":
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-active-color": "@brand-primary"
|
"@brand-primary"
|
||||||
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-active-color":
|
||||||
|
"@brand-primary"
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-bg": "#fff"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-bg": "#fff"
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-hover-bg": "#fff"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-hover-bg": "#fff"
|
||||||
|
# yamllint disable-line rule:line-length
|
||||||
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.lessCode": "'@list-group-active-border: @list-group-border; @gray-light: #727272; @text-muted: @gray; @xwiki-drawer-menu-item-hover-bg: @list-group-hover-bg; @xwiki-drawer-menu-item-hover-color: @list-group-link-hover-color; @well-bg: @body-bg; .navbar-default { border-bottom: 3px solid @brand-primary !important; } #menuview .navbar-brand img { padding: 5px; }'"
|
"property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.lessCode": "'@list-group-active-border: @list-group-border; @gray-light: #727272; @text-muted: @gray; @xwiki-drawer-menu-item-hover-bg: @list-group-hover-bg; @xwiki-drawer-menu-item-hover-color: @list-group-link-hover-color; @well-bg: @body-bg; .navbar-default { border-bottom: 3px solid @brand-primary !important; } #menuview .navbar-brand img { padding: 5px; }'"
|
||||||
"property:xwiki:XWiki.AuthService.Configuration^XWiki.AuthService.ConfigurationClass.authService": "oidc"
|
"property:xwiki:XWiki.AuthService.Configuration^XWiki.AuthService.ConfigurationClass.authService": "oidc"
|
||||||
|
|
||||||
@@ -52,8 +55,9 @@ customConfigs:
|
|||||||
xwiki.properties:
|
xwiki.properties:
|
||||||
oidc.scope: "openid,profile,email,address,phoenix"
|
oidc.scope: "openid,profile,email,address,phoenix"
|
||||||
oidc.endpoint.userinfo.method: "GET"
|
oidc.endpoint.userinfo.method: "GET"
|
||||||
oidc.user.nameFormater: '${oidc.user.phoenixusername._lowerCase}'
|
oidc.user.nameFormater: "${oidc.user.phoenixusername._lowerCase}"
|
||||||
oidc.user.subjectFormater: '${oidc.user.subject}'
|
oidc.user.subjectFormater: "${oidc.user.subject}"
|
||||||
|
# yamllint disable-line rule:line-length
|
||||||
oidc.userinfoclaims: "xwiki_user_accessibility,xwiki_user_company,xwiki_user_displayHiddenDocuments,xwiki_user_editor,xwiki_user_usertype"
|
oidc.userinfoclaims: "xwiki_user_accessibility,xwiki_user_company,xwiki_user_displayHiddenDocuments,xwiki_user_editor,xwiki_user_usertype"
|
||||||
oidc.clientid: "xwiki"
|
oidc.clientid: "xwiki"
|
||||||
oidc.endpoint.token.auth_method: "client_secret_basic"
|
oidc.endpoint.token.auth_method: "client_secret_basic"
|
||||||
|
|||||||
Reference in New Issue
Block a user