Skip to content

Commit

Permalink
Refactor (ci): Rearrange and add missing variables in test .env files
Browse files Browse the repository at this point in the history
The build `.env` and the update `.env` now only differ by the `PIPELINE` and `GAME_UPDATE_COUNT` values.

Co-authored-by: leo <[email protected]>
  • Loading branch information
joeltimothyoh and leojonathanoh committed Dec 4, 2023
1 parent 1604b3a commit 228b924
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 22 deletions.
12 changes: 7 additions & 5 deletions test/build-hlds-cstrike.env
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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=
12 changes: 7 additions & 5 deletions test/build-srcds-hl2mp.env
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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=
17 changes: 11 additions & 6 deletions test/update-hlds-cstrike.env
Original file line number Diff line number Diff line change
@@ -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=
17 changes: 11 additions & 6 deletions test/update-srcds-hl2mp.env
Original file line number Diff line number Diff line change
@@ -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=

0 comments on commit 228b924

Please sign in to comment.