Updates
This commit is contained in:
Родитель
db404ea38c
Коммит
6915d5c254
|
@ -8,4 +8,6 @@ node_modules
|
||||||
.tern-project
|
.tern-project
|
||||||
.settings
|
.settings
|
||||||
selenium-client-jars/
|
selenium-client-jars/
|
||||||
test/artifacts
|
test/artifacts
|
||||||
|
.vscode
|
||||||
|
destroy.sh
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"terminal.integrated.env.osx": {
|
|
||||||
"SFDX_SET_CLIENT_IDS": "sfdx-vscode"
|
|
||||||
},
|
|
||||||
"terminal.integrated.env.linux": {
|
|
||||||
"SFDX_SET_CLIENT_IDS": "sfdx-vscode"
|
|
||||||
},
|
|
||||||
"terminal.integrated.env.windows": {
|
|
||||||
"SFDX_SET_CLIENT_IDS": "sfdx-vscode"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,6 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
TARGET_ORG_ALIAS=${1:-}
|
TARGET_ORG_ALIAS=${1:-}
|
||||||
|
STAGE=${2:-}
|
||||||
|
|
||||||
sfdx force:user:permset:assign -n dreamhouse -a "$TARGET_ORG_ALIAS"
|
# if it's a review app or ci ...
|
||||||
sfdx force:data:tree:import -p assets/data/Broker__c-Property__c-plan.json -a "$TARGET_ORG_ALIAS"
|
if [ "$STAGE" == "" ]; then
|
||||||
|
|
||||||
|
sfdx force:user:permset:assign -n dreamhouse -a "$TARGET_ORG_ALIAS"
|
||||||
|
sfdx force:data:tree:import -p assets/data/Broker__c-Property__c-plan.json -a "$TARGET_ORG_ALIAS"
|
||||||
|
|
||||||
|
fi
|
10
setup.sh
10
setup.sh
|
@ -86,3 +86,13 @@ heroku pipelines:add $HEROKU_PIPELINE_NAME -a $HEROKU_PROD_APP_NAME -s productio
|
||||||
heroku ci:config:set -p $HEROKU_PIPELINE_NAME DEV_HUB_SFDX_AUTH_URL=$devHubSfdxAuthUrl
|
heroku ci:config:set -p $HEROKU_PIPELINE_NAME DEV_HUB_SFDX_AUTH_URL=$devHubSfdxAuthUrl
|
||||||
heroku ci:config:set -p $HEROKU_PIPELINE_NAME SFDX_AUTH_URL=$devSfdxAuthUrl
|
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_BUILDPACK_DEBUG=true
|
||||||
|
|
||||||
|
# Clean up script
|
||||||
|
echo "heroku pipelines:destroy $HEROKU_PIPELINE_NAME
|
||||||
|
heroku apps:destroy -a $HEROKU_DEV_APP_NAME -c $HEROKU_DEV_APP_NAME
|
||||||
|
heroku apps:destroy -a $HEROKU_STAGING_APP_NAME -c $HEROKU_STAGING_APP_NAME
|
||||||
|
heroku apps:destroy -a $HEROKU_PROD_APP_NAME -c $HEROKU_PROD_APP_NAME" > destroy.sh
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Run ./destroy.sh to remove resources"
|
||||||
|
echo ""
|
||||||
|
|
Загрузка…
Ссылка в новой задаче