Skip to content

Commit

Permalink
ensure that the .lagoon.yaml file on moduletest matches the one one main
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip committed Jun 7, 2024
1 parent db5c79f commit bb3b518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infrastructure/dpladm/bin/dpladm-shared.source
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ EndOfMessage
fi

# Only render secondary domains if we have a primary domain.
SECONDARY_DOMAINS=""
if [[ -n "${primaryDomain}" && -n "${secondaryDomainsString}" ]]; then
SECONDARY_DOMAINS=""
IFS=' '
for secondaryDomain in ${secondaryDomainsString}; do
SECONDARY_DOMAINS+=$(cat << EndOfMessage
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/dpladm/bin/sync-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ set -o errexit
syncEnvRepo "${SITE}" "${releaseTag}" "${BRANCH}" "${siteImageRepository}" "${siteReleaseImageName}" "${importTranslationsCron}" "${autogenerateRoutes}" "${primaryDomain}" "${secondaryDomains}"

if [ "${plan}" = "webmaster" ] && [ "${BRANCH}" = "main" ]; then
syncEnvRepo "${SITE}" "${releaseTag}" "moduletest" "${siteImageRepository}" "${siteReleaseImageName}" "${importTranslationsCron}"
syncEnvRepo "${SITE}" "${releaseTag}" "moduletest" "${siteImageRepository}" "${siteReleaseImageName}" "${importTranslationsCron}" "${autogenerateRoutes}" "${primaryDomain}" "${secondaryDomains}"
fi

0 comments on commit bb3b518

Please sign in to comment.