Skip to content

Commit

Permalink
update E2E env vars for autoscaler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mshannon-sil committed Nov 26, 2024
1 parent 3fedf25 commit 5a55be5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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 }}
GPU_QUEUE: autoscaler
CPU_QUEUE: autoscaler.cpu_only
SERVAL_HOST_URL: http://localhost
SERVAL_AUTH_URL: https://sil-appbuilder.auth0.com
# ASPNETCORE_ENVIRONMENT: Development
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
context: .
dockerfile: dockerfile.development
environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_DeploymentVersion=docker-compose
- Auth__Domain=sil-appbuilder.auth0.com
- Auth__Audience=https://serval-api.org/
Expand Down Expand Up @@ -49,7 +49,7 @@ services:
context: .
dockerfile: dockerfile.development
environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_Kestrel__Endpoints__Http__Url=http://*:80
- ASPNETCORE_Kestrel__EndpointDefaults__Protocols=Http2
- ASPNETCORE_ConnectionStrings__TranslationPlatformApi=http://serval-api:81
Expand Down Expand Up @@ -81,7 +81,7 @@ services:
dockerfile: dockerfile.development

environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_Kestrel__Endpoints__Https__Url=http://*:80
- ASPNETCORE_Kestrel__EndpointDefaults__Protocols=Http2
- ASPNETCORE_ConnectionStrings__Hangfire=mongodb://mongo:27017/machine_jobs?replicaSet=myRS
Expand Down Expand Up @@ -127,7 +127,7 @@ services:
context: .
dockerfile: dockerfile.development
environment:
- ASPNETCORE_ENVIRONMENT=Staging
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_ConnectionStrings__Hangfire=mongodb://mongo:27017/machine_jobs?replicaSet=myRS
- ASPNETCORE_ConnectionStrings__Mongo=mongodb://mongo:27017/machine?replicaSet=myRS
- ASPNETCORE_ConnectionStrings__Serval=http://serval-api:81
Expand All @@ -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 5a55be5

Please sign in to comment.