Skip to content

Commit 4cb6c3f

Browse files
committed
Decode base64 keystore from vault
1 parent 3e289ad commit 4cb6c3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/pipelines/default-pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ test-pyramid:publish-e2e-synthetics:
400400
- !reference [ .snippets, source-secrets ]
401401
- mkdir -p ./config/
402402
- get_secret $DD_ANDROID_SECRET__GRADLE_PROPERTIES > ./gradle.properties
403-
- get_secret $DD_ANDROID_SECRET__KEYSTORE > ./sample-android.keystore
403+
- get_secret $DD_ANDROID_SECRET__KEYSTORE | base64 -d > ./sample-android.keystore
404404
- get_secret $DD_ANDROID_SECRET__E2E_CONFIG_JSON > ./config/us1.json
405405
- export E2E_STORE_PASSWD=$(get_secret $DD_ANDROID_SECRET__KEYSTORE_PWD)
406406
- export E2E_DD_API_KEY=$(get_secret $DD_ANDROID_SECRET__E2E_API_KEY)
@@ -428,7 +428,7 @@ test-pyramid:publish-webview-synthetics:
428428
- !reference [ .snippets, source-secrets ]
429429
- mkdir -p ./config/
430430
- get_secret $DD_ANDROID_SECRET__GRADLE_PROPERTIES > ./gradle.properties
431-
- get_secret $DD_ANDROID_SECRET__KEYSTORE > ./sample-android.keystore
431+
- get_secret $DD_ANDROID_SECRET__KEYSTORE | base64 -d > ./sample-android.keystore
432432
- get_secret $DD_ANDROID_SECRET__WEBVIEW_CONFIG_JSON > ./config/us1.json
433433
- export E2E_STORE_PASSWD=$(get_secret $DD_ANDROID_SECRET__KEYSTORE_PWD)
434434
- export E2E_DD_API_KEY=$(get_secret $DD_ANDROID_SECRET__WEBVIEW_API_KEY)
@@ -456,7 +456,7 @@ test-pyramid:publish-staging-synthetics:
456456
- !reference [ .snippets, source-secrets ]
457457
- mkdir -p ./config/
458458
- get_secret $DD_ANDROID_SECRET__GRADLE_PROPERTIES > ./gradle.properties
459-
- get_secret $DD_ANDROID_SECRET__KEYSTORE > ./sample-android.keystore
459+
- get_secret $DD_ANDROID_SECRET__KEYSTORE | base64 -d > ./sample-android.keystore
460460
- get_secret $DD_ANDROID_SECRET__E2E_STAGING_CONFIG_JSON > ./config/staging.json
461461
- export E2E_STORE_PASSWD=$(get_secret $DD_ANDROID_SECRET__KEYSTORE_PWD)
462462
- export E2E_DD_API_KEY=$(get_secret $DD_ANDROID_SECRET__E2E_STAGING_API_KEY)
@@ -484,7 +484,7 @@ test-pyramid:publish-benchmark-synthetics:
484484
- !reference [ .snippets, source-secrets ]
485485
- mkdir -p ./config/
486486
- get_secret $DD_ANDROID_SECRET__GRADLE_PROPERTIES > ./gradle.properties
487-
- get_secret $DD_ANDROID_SECRET__KEYSTORE > ./sample-benchmark.keystore
487+
- get_secret $DD_ANDROID_SECRET__KEYSTORE | base64 -d > ./sample-benchmark.keystore
488488
- get_secret $DD_ANDROID_SECRET__BENCHMARK_CONFIG_JSON > ./config/benchmark.json
489489
- export BM_STORE_PASSWD=$(get_secret $DD_ANDROID_SECRET__KEYSTORE_PWD)
490490
- export BM_DD_API_KEY=$(get_secret $DD_ANDROID_SECRET__BENCHMARK_API_KEY)

0 commit comments

Comments
 (0)