1
0
Форкнуть 0

Adding Heroku app name config to setup for review apps

This commit is contained in:
muenzpraeger 2018-02-28 19:19:52 +01:00
Родитель 51a43bd2d5
Коммит a56c9bb7d5
3 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -33,7 +33,7 @@ That's it. Along with the `setup.sh` script you find in this repo, the buildpack
6. Clone the repository locally.
7. Update the values in `setup.sh` accordingly (e.g. `HEROKU_TEAM_NAME`, `DEV_HUB_USERNAME`, `DEV_USERNAME`, `STAGING_USERNAME`, and `PROD_USERNAME`).
7. Update the values in `setup.sh` accordingly (e.g. `HEROKU_TEAM_NAME`, `HEROKU_APP_NAME`, `DEV_HUB_USERNAME`, `DEV_USERNAME`, `STAGING_USERNAME`, and `PROD_USERNAME`).
8. Create a developer-controlled package:

Просмотреть файл

@ -22,6 +22,9 @@
},
"SFDX_BUILDPACK_DEBUG" : {
"required": true
},
"HEROKU_APP_NAME" : {
"required": true
}
},
"environments": {

Просмотреть файл

@ -14,7 +14,10 @@ set -o nounset # fail on unset variables
TICKS=$(echo $(date +%s | cut -b1-13))
# Name of your team (optional)
HEROKU_TEAM_NAME="appcloud-dev"
HEROKU_TEAM_NAME="appcloud-dev"
# Descriptive name for the Heroku app
HEROKU_APP_NAME="MySuperLightningApp"
# Name of the Heroku apps you'll use
HEROKU_DEV_APP_NAME="dev$TICKS"
@ -119,4 +122,5 @@ heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_AUTH_URL=$devSfdxAuthUrl
heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_BUILDPACK_DEBUG=true
heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_INSTALL_PACKAGE_VERSION=true
heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_CREATE_PACKAGE_VERSION=false
heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_PACKAGE_NAME="$PACKAGE_NAME"
heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_PACKAGE_NAME="$PACKAGE_NAME"
heroku ci:config:set -p $HEROKU_PIPELINE_NAME HEROKU_APP_NAME="$HEROKU_APP_NAME"