mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 14:32:50 +00:00
fix: shell variable substitution statements
This commit is contained in:
@@ -22,7 +22,7 @@ APPLE_API_KEY_ISSUER_ID="1234578-1234-1234-1234-12345678901" # Your API key i
|
||||
# Provide the following environment variable in a secure fashion.
|
||||
# When used in CI protect and mask the variable.
|
||||
# Don't change the following line!
|
||||
APPLE_API_KEY_CONTENT="${APPLE_API_KEY_CONTENT:-'unset'}" # Base64 encoded contents of Apple API key file (.p8 file)
|
||||
APPLE_API_KEY_CONTENT="${APPLE_API_KEY_CONTENT:-"unset"}" # Base64 encoded contents of Apple API key file (.p8 file)
|
||||
|
||||
|
||||
# Android specific configuration
|
||||
@@ -32,7 +32,7 @@ ANDROID_PACKAGE_NAME="de.anyschool.app.android" # Your
|
||||
# Provide the following environment variables in a secure fashion.
|
||||
# When used in CI protect and mask the variables.
|
||||
# Don't change the following lines!
|
||||
ANDROID_API_KEY_CONTENT="${ANDROID_API_KEY_CONTENT:-'unset'}" # Base64 encoded contents of your API key file (.json file)
|
||||
ANDROID_KEYSTORE_PASSWORD="${ANDROID_KEYSTORE_PASSWORD:-'unset'}" # Passwort to your keyfile
|
||||
ANDROID_KEYSTORE_KEY_ALIAS="${ANDROID_KEYSTORE_KEY_ALIAS:-'unset'}" # Name/Alias of the key used for signing within the keyfile
|
||||
ANDROID_KEYSTORE_KEY_PASSWORD="${ANDROID_KEYSTORE_KEY_PASSWORD:-'unset'}" # Passwort to the this very key
|
||||
ANDROID_API_KEY_CONTENT="${ANDROID_API_KEY_CONTENT:-"unset"}" # Base64 encoded contents of your API key file (.json file)
|
||||
ANDROID_KEYSTORE_PASSWORD="${ANDROID_KEYSTORE_PASSWORD:-"unset"}" # Passwort to your keyfile
|
||||
ANDROID_KEYSTORE_KEY_ALIAS="${ANDROID_KEYSTORE_KEY_ALIAS:-"unset"}" # Name/Alias of the key used for signing within the keyfile
|
||||
ANDROID_KEYSTORE_KEY_PASSWORD="${ANDROID_KEYSTORE_KEY_PASSWORD:-"unset"}" # Passwort to the this very key
|
||||
|
||||
10
static/scripts/ssh_deploy.sh
Normal file → Executable file
10
static/scripts/ssh_deploy.sh
Normal file → Executable file
@@ -3,10 +3,10 @@
|
||||
set -e
|
||||
|
||||
SSH_DEPLOY_TARGET=$1
|
||||
SSH_DEPLOY_TARGET="${SSH_DEPLOY_TARGET:-'missingtarget'}"
|
||||
SSH_DEPLOY_TARGET="${SSH_DEPLOY_TARGET:-"missingtarget"}"
|
||||
|
||||
SSH_PRIVATE_KEY=$2
|
||||
SSH_PRIVATE_KEY="${SSH_PRIVATE_KEY:-'missingkey'}"
|
||||
SSH_PRIVATE_KEY="${SSH_PRIVATE_KEY:-"missingkey"}"
|
||||
|
||||
GOTO_FAIL=false
|
||||
|
||||
@@ -32,9 +32,9 @@ SSH_DEPLOY_TARGET_USER=$(echo "$TARGET_COMPONENTS" | head -n 1 | tail -n 1)
|
||||
SSH_DEPLOY_TARGET_HOST=$(echo "$TARGET_COMPONENTS" | head -n 2 | tail -n 1)
|
||||
SSH_DEPLOY_TARGET_PATH=$(echo "$TARGET_COMPONENTS" | head -n 3 | tail -n 1)
|
||||
|
||||
SSH_DEPLOY_TARGET_USER="${SSH_DEPLOY_TARGET_USER:-'missinguser'}"
|
||||
SSH_DEPLOY_TARGET_HOST="${SSH_DEPLOY_TARGET_HOST:-'missinghost'}"
|
||||
SSH_DEPLOY_TARGET_PATH="${SSH_DEPLOY_TARGET_PATH:-'missingpath'}"
|
||||
SSH_DEPLOY_TARGET_USER="${SSH_DEPLOY_TARGET_USER:-"missinguser"}"
|
||||
SSH_DEPLOY_TARGET_HOST="${SSH_DEPLOY_TARGET_HOST:-"missinghost"}"
|
||||
SSH_DEPLOY_TARGET_PATH="${SSH_DEPLOY_TARGET_PATH:-"missingpath"}"
|
||||
|
||||
## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
|
||||
## We're using tr to fix line endings which makes ed25519 keys work
|
||||
|
||||
Reference in New Issue
Block a user