Skip to content

Commit 33d9b4c

Browse files
committed
feat: [CI-8680]: replace config for gitness jwt
1 parent cc05e8b commit 33d9b4c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

332-ci-manager/build/container/scripts/replace_configs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ fi
272272
if [[ "" != "$MINING_GCS_CREDS" ]]; then
273273
export MINING_GCS_CREDS; yq -i '.ciExecutionServiceConfig.miningPatternConfig.gcsCreds=env(MINING_GCS_CREDS)' $CONFIG_FILE
274274
fi
275+
275276
if [[ "" != "$SERVER_MAX_THREADS" ]]; then
276277
export SERVER_MAX_THREADS; yq -i '.server.maxThreads=env(SERVER_MAX_THREADS)' $CONFIG_FILE
277278
fi

332-ci-manager/config/ci-manager-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ ciExecutionServiceConfig:
392392
dockerBuildxAcrConfig:
393393
name: github.com/drone-plugins/drone-buildx-acr@refs/tags/v1.0.0
394394
gitnessConfig:
395-
jwtSecret: IC04LYMBf1lDP5oeY4hupxd4HJhLmN6azUku3xEbeE3SUx5G3ZYzhbiwVtK4i7AmqyU9OZkwB4v8E9qM
395+
jwtSecret: ${GITNESS_JWT_SECRET:-"IC04LYMBf1lDP5oeY4hupxd4HJhLmN6azUku3xEbeE3SUx5G3ZYzhbiwVtK4i7AmqyU9OZkwB4v8E9qM"}
396396

397397

398398
pmsSdkExecutionPoolConfig:

0 commit comments

Comments
 (0)