-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Notes on remote site packaging (#649)
* Setting error emails properly * Fetch KMS right away * Notes on packaging and remote sites * Managed package links * JIRA link
- Loading branch information
1 parent
41b37bf
commit 2e603ca
Showing
5 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# Installation Link | ||
# Installation Links | ||
|
||
https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5f00000074P3 | ||
Production Package Install: | ||
https://login.salesforce.com/packaging/installPackage.apexp?p0=04t5f000000n8RNAAY | ||
|
||
Update with `sfdx force:package1:version:list --json -u [email protected] | jq -r '.result[-1].MetadataPackageVersionId'` | ||
|
||
QA Package Install: | ||
https://test.salesforce.com/packaging/installPackage.apexp?p0=04t5f00000074nmAAA | ||
|
||
Update with `sfdx force:package1:version:list --json -u [email protected] | jq -r '.result[-1].MetadataPackageVersionId'` | ||
|
||
# stripe-salesforce | ||
|
||
|
@@ -135,7 +143,6 @@ Then create a new package in the production packaging org. | |
- Click on the name of the package | ||
- Copy the package name field (`stripeConnector`), you'll need it in the next step | ||
- Click on upload, then: | ||
|
||
- Release Type > Managed Released | ||
- Version Name: `QaStripeConnect` | ||
- New version number will be determined automatically | ||
|
@@ -152,6 +159,12 @@ Some notes: | |
- If something is causing an error that you deleted in your source code, you can edit the offending file to resolve whatever is causing the error. This is often easier than asking SF to move your package to beta. | ||
- Ensure the "old order save behavior" is NOT checked | ||
|
||
### Production Package Release | ||
|
||
- https://security.secure.force.com/security/tools/forcecom/scanner use username and password of the production packaging org. | ||
- Include sec rev in the username of another account which contains the latest production package. | ||
- Make sure to write the Release Notes | ||
|
||
### Production Package Testing | ||
|
||
- We only wish to test the currently deployed production package. Therefore we do NOT run the salesforce tests like we do in QA, this is because those tests involve pushing a new source install. | ||
|
@@ -172,12 +185,6 @@ Some notes: | |
- Enable Negative Quantity | ||
- Enable Zero Quantity | ||
|
||
### Production Package Release | ||
|
||
- https://security.secure.force.com/security/tools/forcecom/scanner use username and password of the production packaging org. | ||
- Include sec rev in the username of another account which contains the latest production package. | ||
- Make sure to write the Release Notes | ||
|
||
## Creating a new QA package | ||
|
||
[Here's the full guide to creating a new package](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/uploading_packages.htm). Below is the short guide. | ||
|
@@ -212,6 +219,8 @@ https://appiphony92-dev-ed.my.salesforce.com/ | |
|
||
**Warning:** the QA package is automatically updated on each CI build, so it is possible that CI runs the deploy command _right_ after your deploy command finishes running, which could cause strange issues where QA includes a WIP branch. | ||
|
||
**Note:** Everytime you upload a package you'll see a "Are you sure?" message letting you know you can't edit components. Ignore it. | ||
|
||
## Removing Components from QA or Production Packages | ||
|
||
As referenced above, it is a slightly convoluted process to remove a component from a package once it has been added. You must: | ||
|
@@ -287,6 +296,12 @@ TODO this may not be applicable anymore since we've removed the `.sfdx` folder f | |
- `sfdx/.sfdx/sfdx-config.json` edit the `defaultdevhubusername` / `defaultusername` TODO confirm if this is needed | ||
- `sf alias:set [email protected]` adds an entry to `~/.sfdx/alias.json` | ||
|
||
## Resetting Salesforce Org Keys | ||
|
||
- Debug console | ||
- Anon Apex | ||
- maintenanceUtilities.resetServiceConnection(); | ||
|
||
# Development | ||
|
||
## Deployment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...pp/main/scratchSetup/apexEmailNotifications/apexEmailNotifications.notifications-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ApexEmailNotifications xmlns="http://soap.sforce.com/2006/04/metadata"/> | ||
|
||
<ApexEmailNotifications xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apexEmailNotification> | ||
<email>[email protected]</email> | ||
</apexEmailNotification> | ||
</ApexEmailNotifications> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters