Use Europe/Paris build time for ops health manifest
This commit is contained in:
1 parent
9bc4eeb3e7
commit
ddcd0acd4d
1 file changed
+2
-2
@@ -297,7 +297,7 @@ jobs:
|
|||||||
docker image tag archicratie-web:blue "archicratie-web:blue.BAK.${TS}" || true
|
docker image tag archicratie-web:blue "archicratie-web:blue.BAK.${TS}" || true
|
||||||
docker image tag archicratie-web:green "archicratie-web:green.BAK.${TS}" || true
|
docker image tag archicratie-web:green "archicratie-web:green.BAK.${TS}" || true
|
||||||
|
|
||||||
BUILD_TIME_RAW="$(date '+%Y-%m-%dT%H:%M:%S%z')"
|
BUILD_TIME_RAW="$(TZ=Europe/Paris date '+%Y-%m-%dT%H:%M:%S%z')"
|
||||||
BUILD_TIME="${BUILD_TIME_RAW:0:${#BUILD_TIME_RAW}-2}:${BUILD_TIME_RAW:${#BUILD_TIME_RAW}-2}"
|
BUILD_TIME="${BUILD_TIME_RAW:0:${#BUILD_TIME_RAW}-2}:${BUILD_TIME_RAW:${#BUILD_TIME_RAW}-2}"
|
||||||
|
|
||||||
PUBLIC_OPS_ENV=staging \
|
PUBLIC_OPS_ENV=staging \
|
||||||
@@ -371,7 +371,7 @@ jobs:
|
|||||||
docker compose -p "$PROJ" -f docker-compose.yml up -d --force-recreate --remove-orphans web_green || true
|
docker compose -p "$PROJ" -f docker-compose.yml up -d --force-recreate --remove-orphans web_green || true
|
||||||
}
|
}
|
||||||
|
|
||||||
BUILD_TIME_RAW="$(date '+%Y-%m-%dT%H:%M:%S%z')"
|
BUILD_TIME_RAW="$(TZ=Europe/Paris date '+%Y-%m-%dT%H:%M:%S%z')"
|
||||||
BUILD_TIME="${BUILD_TIME_RAW:0:${#BUILD_TIME_RAW}-2}:${BUILD_TIME_RAW:${#BUILD_TIME_RAW}-2}"
|
BUILD_TIME="${BUILD_TIME_RAW:0:${#BUILD_TIME_RAW}-2}:${BUILD_TIME_RAW:${#BUILD_TIME_RAW}-2}"
|
||||||
|
|
||||||
PUBLIC_OPS_ENV=prod \
|
PUBLIC_OPS_ENV=prod \
|
||||||
|
|||||||
Reference in new issue
Block a user