Skip to content

Commit

Permalink
#527 autoscaler test (#563)
Browse files Browse the repository at this point in the history
* update E2E env vars for autoscaler tests

* fix mistakes in env var update for docker-compose.yml

* change ASPNET_CORE_ENVIRONMENT

* fix env var name in ci-e2e.yml
  • Loading branch information
mshannon-sil authored Dec 10, 2024
1 parent 0d64b89 commit a179bb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
ClearML_AccessKey: ${{ secrets.ClearML_AccessKey }}
ClearML_SecretKey: ${{ secrets.ClearML_SecretKey }}
CLEARML_GPU_QUEUE: autoscaler
CLEARML_CPU_QUEUE: autoscaler.cpu_only
SERVAL_HOST_URL: http://localhost
SERVAL_AUTH_URL: https://sil-appbuilder.auth0.com
# ASPNETCORE_ENVIRONMENT: Development
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ services:
- ClearML__Project=docker-compose
- "ClearML__AccessKey=${ClearML_AccessKey:?access key needed}"
- "ClearML__SecretKey=${ClearML_SecretKey:?secret key needed}"
- BuildJob__ClearML__0__Queue=lambert_24gb
- BuildJob__ClearML__0__Queue=${CLEARML_GPU_QUEUE:-lambert_24gb}
- BuildJob__ClearML__0__DockerImage=${MACHINE_PY_IMAGE:-ghcr.io/sillsdev/machine.py:latest}
- BuildJob__ClearML__1__Queue=lambert_24gb.cpu_only
- BuildJob__ClearML__1__Queue=${CLEARML_CPU_QUEUE:-lambert_24gb.cpu_only}
- BuildJob__ClearML__1__DockerImage=${MACHINE_PY_CPU_IMAGE:-ghcr.io/sillsdev/machine.py:latest.cpu_only}
- SharedFile__Uri=s3://silnlp/docker-compose/
- "SharedFile__S3AccessKeyId=${AWS_ACCESS_KEY_ID:?access key needed}"
Expand Down Expand Up @@ -137,9 +137,9 @@ services:
- ClearML__Project=docker-compose
- "ClearML__AccessKey=${ClearML_AccessKey:?access key needed}"
- "ClearML__SecretKey=${ClearML_SecretKey:?secret key needed}"
- BuildJob__ClearML__0__Queue=lambert_24gb
- BuildJob__ClearML__0__Queue=${CLEARML_GPU_QUEUE:-lambert_24gb}
- BuildJob__ClearML__0__DockerImage=${MACHINE_PY_IMAGE:-ghcr.io/sillsdev/machine.py:latest}
- BuildJob__ClearML__1__Queue=lambert_24gb.cpu_only
- BuildJob__ClearML__1__Queue=${CLEARML_CPU_QUEUE:-lambert_24gb.cpu_only}
- BuildJob__ClearML__1__DockerImage=${MACHINE_PY_CPU_IMAGE:-ghcr.io/sillsdev/machine.py:latest.cpu_only}
- SharedFile__Uri=s3://silnlp/docker-compose/
- "SharedFile__S3AccessKeyId=${AWS_ACCESS_KEY_ID:?access key needed}"
Expand Down

0 comments on commit a179bb1

Please sign in to comment.