Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress TURBO_TEAM and TURBO_TOKEN warning if not set #11124

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dev-tools/compose/docker-compose.identity.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
image: redis:7.0
command: redis-server
healthcheck:
test: ['CMD', 'redis-cli', 'PING']
test: [ 'CMD', 'redis-cli', 'PING' ]
interval: 10s
timeout: 5s
deploy:
Expand All @@ -24,8 +24,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/identity-service/Dockerfile.prod
args:
git_sha: '${GIT_COMMIT}'
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
ports:
- '7000:7000'
- '9229:9229'
Expand Down
24 changes: 12 additions & 12 deletions dev-tools/compose/docker-compose.pedalboard.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/discovery-provider/plugins/pedalboard/docker/Dockerfile.prod
args:
app_name: trending-challenge-rewards
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
restart: always
profiles:
- pedalboard
Expand All @@ -36,8 +36,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/discovery-provider/plugins/pedalboard/docker/Dockerfile.prod
args:
app_name: staking
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
restart: always
profiles:
- pedalboard
Expand All @@ -48,8 +48,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/discovery-provider/plugins/pedalboard/docker/Dockerfile.prod
args:
app_name: relay
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
env_file: .env
restart: always
deploy:
Expand Down Expand Up @@ -111,8 +111,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/discovery-provider/plugins/pedalboard/docker/Dockerfile.prod
args:
app_name: sla-auditor
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
restart: always
profiles:
- pedalboard
Expand All @@ -124,8 +124,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/discovery-provider/plugins/pedalboard/docker/Dockerfile.prod
args:
app_name: crm
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
restart: always
profiles:
- pedalboard
Expand All @@ -137,8 +137,8 @@ services:
dockerfile: ${PROJECT_ROOT}/packages/discovery-provider/plugins/pedalboard/docker/Dockerfile.prod
args:
app_name: mri
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
restart: always
profiles:
- pedalboard
Expand Down
4 changes: 2 additions & 2 deletions dev-tools/compose/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ services:
context: ${PROJECT_ROOT}
dockerfile: ${PROJECT_ROOT}/packages/libs/Dockerfile
args:
TURBO_TEAM: '${TURBO_TEAM}'
TURBO_TOKEN: '${TURBO_TOKEN}'
TURBO_TEAM: '${TURBO_TEAM:-}'
TURBO_TOKEN: '${TURBO_TOKEN:-}'
# TODO: also run integration test current blocker is that integration tests
# use config.json which was removed with the addition of audius-compose
entrypoint: sh -c '[ "$$1" = "test" ] || sleep inf && (shift; npm run test:unit)' -
Expand Down