diff --git a/infrastructure/dpladm/bin/sync-site.sh b/infrastructure/dpladm/bin/sync-site.sh index 124afa5f..2aa33bc7 100755 --- a/infrastructure/dpladm/bin/sync-site.sh +++ b/infrastructure/dpladm/bin/sync-site.sh @@ -34,6 +34,19 @@ function getSiteDplCmsRelease { return } + +function getWebmasterDplCmsRelease { + local wmRelease + wmRelease=$(yq eval ".sites.${1}.moduletest-dpl-cms-release" "${2}") + if [[ "${wmRelease}" == "null" ]]; then + echo "" + return + fi + + echo "${wmRelease}" + return +} + function getSiteReleaseImageRepository { local repository repository=$(yq eval ".sites.${1}.releaseImageRepository" "${2}") diff --git a/infrastructure/environments/dplplat01/sites.yaml b/infrastructure/environments/dplplat01/sites.yaml index e501415f..d4ccb003 100644 --- a/infrastructure/environments/dplplat01/sites.yaml +++ b/infrastructure/environments/dplplat01/sites.yaml @@ -18,6 +18,7 @@ sites: releaseImageName: dpl-cms-source dpl-cms-release: "2024.35.1" plan: webmaster + moduletest-dpl-cms-release: "2024.32.1" deploy_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIhuA0K7CNvRoe+Xx7RaXG4+a8KcSpzuWn+G4sUPzNWx" cms-school: name: "CMS-skole" @@ -38,6 +39,7 @@ sites: description: "Eksempel på bibliotek der kører på 'webmaster' plan, og derfor har et modultest-miljø" deploy_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILj8lXv7C/7s7te9sEpwcHQhgDWfzsCkAN7rqQ4sdTzk" plan: webmaster + moduletest-dpl-cms-release: "2024.32.1" <<: *default-release-image-source # Production sites aabenraa: @@ -461,7 +463,6 @@ sites: - nginx.main.kobenhavn.dplplat01.dpl.reload.dk - varnish.main.kobenhavn.dplplat01.dpl.reload.dk plan: webmaster - webmaster-cms-version: 2024.27.1 deploy_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHaTkDvjLW/b2qVj8FIvtX9x3TxFFZTENn+w2CFELeoC" <<: *webmaster-release-image-source koge: