Updated defaults for v4
This commit is contained in:
Родитель
eeed2b0268
Коммит
b20b06d60e
|
@ -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.
|
||||
|
||||
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.
|
||||
|
|
10
setup.sh
10
setup.sh
|
@ -14,10 +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="my-heroku-team"
|
||||
|
||||
# Descriptive name for the Heroku app
|
||||
HEROKU_APP_NAME="MySuperLightningApp"
|
||||
HEROKU_APP_NAME="MyLightningApp"
|
||||
|
||||
# Name of the Heroku apps you'll use
|
||||
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_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#v4-dev -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_DEV_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 -a $HEROKU_PROD_APP_NAME
|
||||
|
||||
# Create Pipeline
|
||||
# Valid stages: "test", "review", "development", "staging", "production"
|
||||
|
|
Загрузка…
Ссылка в новой задаче