From 228b9249326d1f827c7bf89b8c349868948f78bb Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Mon, 4 Dec 2023 14:52:37 +0000 Subject: [PATCH] Refactor (ci): Rearrange and add missing variables in test `.env` files The build `.env` and the update `.env` now only differ by the `PIPELINE` and `GAME_UPDATE_COUNT` values. Co-authored-by: leo --- test/build-hlds-cstrike.env | 12 +++++++----- test/build-srcds-hl2mp.env | 12 +++++++----- test/update-hlds-cstrike.env | 17 +++++++++++------ test/update-srcds-hl2mp.env | 17 +++++++++++------ 4 files changed, 36 insertions(+), 22 deletions(-) diff --git a/test/build-hlds-cstrike.env b/test/build-hlds-cstrike.env index df91b77d..842431e6 100644 --- a/test/build-hlds-cstrike.env +++ b/test/build-hlds-cstrike.env @@ -1,9 +1,5 @@ -DOCKER_REPOSITORY=goldsourceservers/cstrike -REGISTRY_USER= -REGISTRY_PASSWORD= - PIPELINE=build - +GAME_UPDATE_COUNT=0 GAME_VERSION=1127 APPID=90 CLIENT_APPID=10 @@ -13,7 +9,13 @@ FIX_APPMANIFEST= INSTALL_COUNT= LATEST=true CACHE= +NO_PULL=true NO_CACHE= NO_TEST= NO_PUSH=true +DOCKER_REPOSITORY=goldsourceservers/cstrike +REGISTRY_USER= +REGISTRY_PASSWORD= STEAM_LOGIN= +STEAM_USERNAME= +STEAM_PASSWORD= diff --git a/test/build-srcds-hl2mp.env b/test/build-srcds-hl2mp.env index b6dd2246..70187b75 100644 --- a/test/build-srcds-hl2mp.env +++ b/test/build-srcds-hl2mp.env @@ -1,9 +1,5 @@ -DOCKER_REPOSITORY=sourceservers/hl2mp -REGISTRY_USER= -REGISTRY_PASSWORD= - PIPELINE=build - +GAME_UPDATE_COUNT=0 GAME_VERSION=6630498 APPID=232370 CLIENT_APPID=320 @@ -13,7 +9,13 @@ FIX_APPMANIFEST= INSTALL_COUNT= LATEST=true CACHE= +NO_PULL=true NO_CACHE= NO_TEST= NO_PUSH=true +DOCKER_REPOSITORY=sourceservers/hl2mp +REGISTRY_USER= +REGISTRY_PASSWORD= STEAM_LOGIN= +STEAM_USERNAME= +STEAM_PASSWORD= diff --git a/test/update-hlds-cstrike.env b/test/update-hlds-cstrike.env index b7d161dc..8942b403 100644 --- a/test/update-hlds-cstrike.env +++ b/test/update-hlds-cstrike.env @@ -1,16 +1,21 @@ -DOCKER_REPOSITORY=goldsourceservers/cstrike -REGISTRY_USER=foo -REGISTRY_PASSWORD=foo - PIPELINE=update - +GAME_UPDATE_COUNT=1 GAME_VERSION=1127 APPID=90 +CLIENT_APPID=10 GAME=cstrike -GAME_UPDATE_COUNT=1 +MOD=cstrike +FIX_APPMANIFEST= INSTALL_COUNT= +LATEST=true +CACHE= NO_PULL=true NO_CACHE= NO_TEST= NO_PUSH=true +DOCKER_REPOSITORY=goldsourceservers/cstrike +REGISTRY_USER= +REGISTRY_PASSWORD= STEAM_LOGIN= +STEAM_USERNAME= +STEAM_PASSWORD= diff --git a/test/update-srcds-hl2mp.env b/test/update-srcds-hl2mp.env index 6510fa2a..5bd71cde 100644 --- a/test/update-srcds-hl2mp.env +++ b/test/update-srcds-hl2mp.env @@ -1,16 +1,21 @@ -DOCKER_REPOSITORY=sourceservers/hl2mp -REGISTRY_USER=foo -REGISTRY_PASSWORD=foo - PIPELINE=update - +GAME_UPDATE_COUNT=1 GAME_VERSION=6630498 APPID=232370 +CLIENT_APPID=320 GAME=hl2mp -GAME_UPDATE_COUNT=1 +MOD= +FIX_APPMANIFEST= INSTALL_COUNT= +LATEST=true +CACHE= NO_PULL=true NO_CACHE= NO_TEST= NO_PUSH=true +DOCKER_REPOSITORY=sourceservers/hl2mp +REGISTRY_USER= +REGISTRY_PASSWORD= STEAM_LOGIN= +STEAM_USERNAME= +STEAM_PASSWORD=