Adding support for Heroku Pipelines
This commit is contained in:
Родитель
1b48abf59d
Коммит
440e43fffd
|
@ -0,0 +1,46 @@
|
||||||
|
{
|
||||||
|
"name": "dreamhouse-sfdx",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"description": "dreamhouse-sfdx",
|
||||||
|
"repository": "https://github.com/wadewegner/dreamhouse-sfdx",
|
||||||
|
"author": "",
|
||||||
|
"license": "ALv2",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/wadewegner/dreamhouse-sfdx/issues"
|
||||||
|
},
|
||||||
|
"homepage":
|
||||||
|
"https://github.com/wadewegner/dreamhouse-sfdx#readme",
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {},
|
||||||
|
"buildpacks": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/heroku/salesforce-cli-buildpack#v2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "https://github.com/heroku/salesforce-buildpack#v3"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"SFDX_DEV_HUB_AUTH_URL": {
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"SFDX_BUILDPACK_DEBUG": {
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"HEROKU_APP_NAME" : {
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"environments": {
|
||||||
|
"test": {
|
||||||
|
"scripts": {
|
||||||
|
"test-setup":
|
||||||
|
"./vendor/sfdx/release.sh ci-$HEROKU_TEST_RUN_COMMIT_VERSION && ./bin/test-setup.sh",
|
||||||
|
"test": "./bin/test.sh"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"pr-predestroy": "./bin/ra-org-delete.sh"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,14 +1,17 @@
|
||||||
{
|
{
|
||||||
"packageDirectories": [
|
"packageDirectories": [
|
||||||
{
|
{
|
||||||
"path": "force-app",
|
"path": "force-app",
|
||||||
"default": true,
|
"package": "dreamhouse",
|
||||||
"id": "0Ho6A000000k9czSAA",
|
"versionName": "ver 0.1",
|
||||||
"versionName": "Spring 18",
|
"versionNumber": "0.1.0.NEXT",
|
||||||
"versionNumber": "2.0.0.NEXT"
|
"default": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"namespace": "",
|
||||||
|
"sfdcLoginUrl": "https://login.salesforce.com",
|
||||||
|
"sourceApiVersion": "42.0",
|
||||||
|
"packageAliases": {
|
||||||
|
"dreamhouse": "0Ho6A000000XZD1SAO"
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"namespace": "",
|
|
||||||
"sfdcLoginUrl": "https://login.salesforce.com",
|
|
||||||
"sourceApiVersion": "42.0"
|
|
||||||
}
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
scratch-org-def: config/project-scratch-def.json
|
||||||
|
assign-permset: true
|
||||||
|
permset-name: dreamhouse
|
||||||
|
run-apex-tests: true
|
||||||
|
apex-test-format: tap
|
||||||
|
delete-scratch-org: false
|
||||||
|
show-scratch-org-url: false
|
||||||
|
open-path:
|
||||||
|
import-data: true
|
||||||
|
data-plans: sample-data-plan.json
|
Загрузка…
Ссылка в новой задаче