|
| 1 | +#!/bin/zsh |
| 2 | + |
| 3 | +# |
| 4 | +# Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. |
| 5 | +# This product includes software developed at Datadog (https://www.datadoghq.com/). |
| 6 | +# Copyright 2016-Present Datadog, Inc. |
| 7 | +# |
| 8 | + |
| 9 | +DD_VAULT_ADDR=https://vault.us1.ddbuild.io |
| 10 | +DD_ANDROID_SECRETS_PATH_PREFIX='kv/aws/arn:aws:iam::486234852809:role/ci-dd-sdk-android/' |
| 11 | + |
| 12 | +DD_ANDROID_SECRET__TEST_SECRET="test.secret" |
| 13 | +DD_ANDROID_SECRET__GRADLE_PROPERTIES="gradle.properties" |
| 14 | +DD_ANDROID_SECRET__SIGNING_GPG_PRIVATE_KEY="signing.gpg_private_key" |
| 15 | +DD_ANDROID_SECRET__SIGNING_GPG_PASSPHRASE="signing.gpg_passphrase" |
| 16 | +DD_ANDROID_SECRET__SIGNING_GPG_PUBLIC_KEY="signing.gpg_public_key" |
| 17 | +DD_ANDROID_SECRET__PUBLISHING_CENTRAL_USERNAME="publishing.central_username" |
| 18 | +DD_ANDROID_SECRET__PUBLISHING_CENTRAL_PWD="publishing.central_password" |
| 19 | +DD_ANDROID_SECRET__API_KEY="api_key" |
| 20 | +DD_ANDROID_SECRET__APP_KEY="app_key" |
| 21 | +DD_ANDROID_SECRET__CODECOV_TOKEN="codecov-token" |
| 22 | +DD_ANDROID_SECRET__KEYSTORE="keystore" |
| 23 | +DD_ANDROID_SECRET__KEYSTORE_PWD="keystore-password" |
| 24 | +DD_ANDROID_SECRET__E2E_CONFIG_JSON="e2e_config_json" |
| 25 | +DD_ANDROID_SECRET__E2E_API_KEY="e2e_api_key" |
| 26 | +DD_ANDROID_SECRET__E2E_APP_KEY="e2e_app_key" |
| 27 | +DD_ANDROID_SECRET__E2E_MOBILE_APP_ID="e2e_mobile_app_id" |
| 28 | +DD_ANDROID_SECRET__E2E_STAGING_CONFIG_JSON="e2e_staging_config_json" |
| 29 | +DD_ANDROID_SECRET__E2E_STAGING_API_KEY="e2e_staging_api_key" |
| 30 | +DD_ANDROID_SECRET__E2E_STAGING_APP_KEY="e2e_staging_app_key" |
| 31 | +DD_ANDROID_SECRET__E2E_STAGING_APP_ID="e2e_staging_mobile_app_id" |
| 32 | +DD_ANDROID_SECRET__WEBVIEW_CONFIG_JSON="webview_config_json" |
| 33 | +DD_ANDROID_SECRET__WEBVIEW_API_KEY="webview_api_key" |
| 34 | +DD_ANDROID_SECRET__WEBVIEW_APP_KEY="webview_app_key" |
| 35 | +DD_ANDROID_SECRET__WEBVIEW_MOBILE_APP_ID="webview_mobile_app_id" |
| 36 | +DD_ANDROID_SECRET__BENCHMARK_CONFIG_JSON="benchmark_config_json" |
| 37 | +DD_ANDROID_SECRET__BENCHMARK_API_KEY="benchmark_api_key" |
| 38 | +DD_ANDROID_SECRET__BENCHMARK_APP_KEY="benchmark_app_key" |
| 39 | +DD_ANDROID_SECRET__BENCHMARK_MOBILE_APP_ID="benchmark_mobile_app_id" |
| 40 | + |
| 41 | +idx=0 |
| 42 | +declare -A DD_ANDROID_SECRETS |
| 43 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__TEST_SECRET | Test secret to verify functionality. Can be changed but not deleted." |
| 44 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__GRADLE_PROPERTIES | Content of the gradle.properties file, providing options to speed up CI jobs." |
| 45 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__SIGNING_GPG_PRIVATE_KEY | GPG private key for signing artifacts published to Sonatype Maven repository." |
| 46 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__SIGNING_GPG_PASSPHRASE | GPG passphrase for signing artifacts published to Sonatype Maven repository." |
| 47 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__SIGNING_GPG_PUBLIC_KEY | GPG public key for signing artifacts published to Sonatype Maven repository." |
| 48 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__PUBLISHING_CENTRAL_USERNAME | Username for publishing artifacts to Sonatype Maven repository." |
| 49 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__PUBLISHING_CENTRAL_PWD | Password for publishing artifacts to Sonatype Maven repository." |
| 50 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__API_KEY | API key for sending CI App reports to org2." |
| 51 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__APP_KEY | Application key for sending CI App reports to org2." |
| 52 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__CODECOV_TOKEN | CodeCov token for unit test jobs." |
| 53 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__KEYSTORE | Android signing keystore for building all APKs for synthetics." |
| 54 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__KEYSTORE_PWD | Android signing password for building all APKs for synthetics." |
| 55 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_CONFIG_JSON | config.json for uploading an end-to-end APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 56 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_API_KEY | API key for uploading an end-to-end APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 57 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_APP_KEY | App key for uploading an end-to-end APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 58 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_MOBILE_APP_ID | Application ID for uploading an end-to-end APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 59 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_STAGING_CONFIG_JSON | config.json for uploading an end-to-end APK to the Staging org." |
| 60 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_STAGING_API_KEY | API key for uploading an end-to-end APK to synthetics on the Staging org." |
| 61 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_STAGING_APP_KEY | App key for uploading an end-to-end APK to synthetics on the Staging org." |
| 62 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__E2E_STAGING_APP_ID | Application ID for uploading an end-to-end APK to synthetics on the Staging org." |
| 63 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__WEBVIEW_CONFIG_JSON | config.json for uploading an end-to-end APK (for webview integration) to the RUM Synthetics Playground org (478292, https://rum-synthetics.datadoghq.com/)." |
| 64 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__WEBVIEW_API_KEY | API key for uploading an end-to-end APK (for webview integration) to the RUM Synthetics Playground org (478292, https://rum-synthetics.datadoghq.com/)." |
| 65 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__WEBVIEW_APP_KEY | App key for uploading an end-to-end APK (for webview integration) to the RUM Synthetics Playground org (478292, https://rum-synthetics.datadoghq.com/)." |
| 66 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__WEBVIEW_MOBILE_APP_ID | Application ID for uploading an end-to-end APK (for webview integration) to the RUM Synthetics Playground org (478292, https://rum-synthetics.datadoghq.com/)." |
| 67 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__BENCHMARK_CONFIG_JSON | config.json for uploading a benchmark APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 68 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__BENCHMARK_API_KEY | API key for uploading a benchmark APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 69 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__BENCHMARK_APP_KEY | App key for uploading a benchmark APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
| 70 | +DD_ANDROID_SECRETS[$((idx++))]="$DD_ANDROID_SECRET__BENCHMARK_MOBILE_APP_ID | Application ID for uploading a benchmark APK to the Mobile Integration org (529432, https://mobile-integration.datadoghq.com/)." |
0 commit comments