Skip to content

Commit

Permalink
Scale cluster in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstairs committed Oct 3, 2023
1 parent dce6b69 commit 90eda2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
set -eo pipefail
source /opt/conda/etc/profile.d/conda.sh
conda activate /opt/conda/envs/tyger
export TYGER_ENVIRONMENT_CONFIG_DIR="${GITHUB_WORKSPACE}/deploy/config/dev/ci"
export TYGER_ENVIRONMENT_CONFIG_DIR="${GITHUB_WORKSPACE}/deploy/config/microsoft/ci"
echo "TYGER_ENVIRONMENT_CONFIG_DIR=$TYGER_ENVIRONMENT_CONFIG_DIR"
# We have mounted this location in the container, it is identical to the checkout location
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
conda activate /opt/conda/envs/tyger
# Point to scale-to-zero config
export TYGER_ENVIRONMENT_CONFIG_DIR="${GITHUB_WORKSPACE}/deploy/config/dev"
export TYGER_ENVIRONMENT_CONFIG_DIR="${GITHUB_WORKSPACE}/deploy/config/microsoft"
echo "scaling cluster back down"
make ensure-environment
Expand Down
5 changes: 5 additions & 0 deletions deploy/config/microsoft/ci/scaled.cue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package tyger

#NodePoolConfig: {
minCount: *1 | int
}

0 comments on commit 90eda2b

Please sign in to comment.