mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-01 22:29:07 +08:00
fix: rename LOCALSTACK_HOST to K8S_LOCALSTACK_HOST to avoid awslocal conflict
This commit is contained in:
3
.github/workflows/cloud-runner-integrity.yml
vendored
3
.github/workflows/cloud-runner-integrity.yml
vendored
@@ -35,7 +35,8 @@ jobs:
|
||||
AWS_FORCE_PROVIDER: aws
|
||||
RESOURCE_TRACKING: 'true'
|
||||
# LocalStack container name on shared Docker network (for K8s pods to access)
|
||||
LOCALSTACK_HOST: localstack-main
|
||||
# Note: Using K8S_LOCALSTACK_HOST instead of LOCALSTACK_HOST to avoid conflict with awslocal CLI
|
||||
K8S_LOCALSTACK_HOST: localstack-main
|
||||
steps:
|
||||
# ==========================================
|
||||
# SETUP SECTION
|
||||
|
||||
5
dist/index.js
generated
vendored
5
dist/index.js
generated
vendored
@@ -4087,8 +4087,9 @@ class KubernetesJobSpecFactory {
|
||||
'INPUT_AWSENDPOINT',
|
||||
]);
|
||||
// Determine the LocalStack hostname to use for K8s pods
|
||||
// Priority: LOCALSTACK_HOST env var > localstack-main (container name on shared network)
|
||||
const localstackHost = process.env['LOCALSTACK_HOST'] || 'localstack-main';
|
||||
// Priority: K8S_LOCALSTACK_HOST env var > localstack-main (container name on shared network)
|
||||
// Note: Using K8S_LOCALSTACK_HOST instead of LOCALSTACK_HOST to avoid conflict with awslocal CLI
|
||||
const localstackHost = process.env['K8S_LOCALSTACK_HOST'] || 'localstack-main';
|
||||
cloud_runner_logger_1.default.log(`K8s pods will use LocalStack host: ${localstackHost}`);
|
||||
const adjustedEnvironment = environment.map((x) => {
|
||||
let value = x.value;
|
||||
|
||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -35,8 +35,9 @@ class KubernetesJobSpecFactory {
|
||||
]);
|
||||
|
||||
// Determine the LocalStack hostname to use for K8s pods
|
||||
// Priority: LOCALSTACK_HOST env var > localstack-main (container name on shared network)
|
||||
const localstackHost = process.env['LOCALSTACK_HOST'] || 'localstack-main';
|
||||
// Priority: K8S_LOCALSTACK_HOST env var > localstack-main (container name on shared network)
|
||||
// Note: Using K8S_LOCALSTACK_HOST instead of LOCALSTACK_HOST to avoid conflict with awslocal CLI
|
||||
const localstackHost = process.env['K8S_LOCALSTACK_HOST'] || 'localstack-main';
|
||||
CloudRunnerLogger.log(`K8s pods will use LocalStack host: ${localstackHost}`);
|
||||
|
||||
const adjustedEnvironment = environment.map((x) => {
|
||||
|
||||
Reference in New Issue
Block a user