Adding support for Heroku Pipelines

This commit is contained in:
Wade Wegner 2018-06-20 20:07:44 -07:00
Родитель 1b48abf59d
Коммит 440e43fffd
3 изменённых файлов: 70 добавлений и 11 удалений

46
app.json Normal file
Просмотреть файл

@ -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": [
{
"path": "force-app",
"default": true,
"id": "0Ho6A000000k9czSAA",
"versionName": "Spring 18",
"versionNumber": "2.0.0.NEXT"
"packageDirectories": [
{
"path": "force-app",
"package": "dreamhouse",
"versionName": "ver 0.1",
"versionNumber": "0.1.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"
}

10
sfdx.yml Normal file
Просмотреть файл

@ -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