1
0
Форкнуть 0
This commit is contained in:
Wade Wegner 2018-03-06 05:37:51 -08:00
Родитель eeed2b0268
Коммит b20b06d60e
2 изменённых файлов: 8 добавлений и 8 удалений

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

@ -35,12 +35,12 @@ That's it. Along with the `setup.sh` script you find in this repo, the buildpack
6. Clone the repository locally. 6. Clone the repository locally.
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`). 7. Update the values in `setup.sh` accordingly (e.g. `HEROKU_TEAM_NAME`, `HEROKU_APP_NAME`, `DEV_HUB_USERNAME`, `DEV_USERNAME`, `STAGING_USERNAME`, `PROD_USERNAME`, `GITHUB_REPO`, and `PACKAGE_NAME`).
8. Create a developer-controlled package: 8. Create an unlocked package:
``` ```
sfdx force:package2:create -n PipelineSamplePackage - "My package yo" -o Unlocked -e sfdx force:package2:create -n PackageName - "My package yo" -o Unlocked -e
``` ```
9. Update the `sfdx-project.json` to use your package ID. 9. Update the `sfdx-project.json` to use your package ID.

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

@ -14,10 +14,10 @@ set -o nounset # fail on unset variables
TICKS=$(echo $(date +%s | cut -b1-13)) TICKS=$(echo $(date +%s | cut -b1-13))
# Name of your team (optional) # Name of your team (optional)
HEROKU_TEAM_NAME="appcloud-dev" HEROKU_TEAM_NAME="my-heroku-team"
# Descriptive name for the Heroku app # Descriptive name for the Heroku app
HEROKU_APP_NAME="MySuperLightningApp" HEROKU_APP_NAME="MyLightningApp"
# Name of the Heroku apps you'll use # Name of the Heroku apps you'll use
HEROKU_DEV_APP_NAME="dev$TICKS" HEROKU_DEV_APP_NAME="dev$TICKS"
@ -105,9 +105,9 @@ heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpac
heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpack -a $HEROKU_STAGING_APP_NAME heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpack -a $HEROKU_STAGING_APP_NAME
heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpack -a $HEROKU_PROD_APP_NAME heroku buildpacks:add -i 1 https://github.com/wadewegner/salesforce-cli-buildpack -a $HEROKU_PROD_APP_NAME
heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack#v4-dev -a $HEROKU_DEV_APP_NAME heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack -a $HEROKU_DEV_APP_NAME
heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack#v4-dev -a $HEROKU_STAGING_APP_NAME heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack -a $HEROKU_STAGING_APP_NAME
heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack#v4-dev -a $HEROKU_PROD_APP_NAME heroku buildpacks:add -i 2 https://github.com/wadewegner/salesforce-dx-buildpack -a $HEROKU_PROD_APP_NAME
# Create Pipeline # Create Pipeline
# Valid stages: "test", "review", "development", "staging", "production" # Valid stages: "test", "review", "development", "staging", "production"