-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect exit codes in CI and format json (#73)
- Loading branch information
Showing
4 changed files
with
91 additions
and
92 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,44 +1,40 @@ | ||
// For more details, see https://aka.ms/devcontainer.json. | ||
{ | ||
"name": "PayPal Advanced Integration", | ||
"image": "mcr.microsoft.com/devcontainers/javascript-node:20", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}/advanced-integration", | ||
// Use 'onCreateCommand' to run commands when creating the container. | ||
"onCreateCommand": "bash ../.devcontainer/advanced-integration/welcome-message.sh", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "npm install", | ||
// Use 'postAttachCommand' to run commands when attaching to the container. | ||
"postAttachCommand": { | ||
"Start server": "npm start" | ||
}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [ | ||
8888 | ||
], | ||
"portsAttributes": { | ||
"8888": { | ||
"label": "Preview of Advanced Checkout Flow", | ||
"onAutoForward": "openBrowserOnce" | ||
} | ||
}, | ||
"secrets": { | ||
"PAYPAL_CLIENT_ID": { | ||
"description": "Sandbox client ID of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
}, | ||
"PAYPAL_CLIENT_SECRET": { | ||
"description": "Sandbox secret of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"vsls-contrib.codetour" | ||
], | ||
"settings": { | ||
"git.openRepositoryInParentFolders": "always" | ||
} | ||
} | ||
} | ||
} | ||
"name": "PayPal Advanced Integration", | ||
"image": "mcr.microsoft.com/devcontainers/javascript-node:20", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}/advanced-integration", | ||
// Use 'onCreateCommand' to run commands when creating the container. | ||
"onCreateCommand": "bash ../.devcontainer/advanced-integration/welcome-message.sh", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "npm install", | ||
// Use 'postAttachCommand' to run commands when attaching to the container. | ||
"postAttachCommand": { | ||
"Start server": "npm start" | ||
}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [8888], | ||
"portsAttributes": { | ||
"8888": { | ||
"label": "Preview of Advanced Checkout Flow", | ||
"onAutoForward": "openBrowserOnce" | ||
} | ||
}, | ||
"secrets": { | ||
"PAYPAL_CLIENT_ID": { | ||
"description": "Sandbox client ID of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
}, | ||
"PAYPAL_CLIENT_SECRET": { | ||
"description": "Sandbox secret of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": ["vsls-contrib.codetour"], | ||
"settings": { | ||
"git.openRepositoryInParentFolders": "always" | ||
} | ||
} | ||
} | ||
} |
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,44 +1,40 @@ | ||
// For more details, see https://aka.ms/devcontainer.json. | ||
{ | ||
"name": "PayPal Standard Integration", | ||
"image": "mcr.microsoft.com/devcontainers/javascript-node:20", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}/standard-integration", | ||
// Use 'onCreateCommand' to run commands when creating the container. | ||
"onCreateCommand": "bash ../.devcontainer/standard-integration/welcome-message.sh", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "npm install", | ||
// Use 'postAttachCommand' to run commands when attaching to the container. | ||
"postAttachCommand": { | ||
"Start server": "npm start" | ||
}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [ | ||
8888 | ||
], | ||
"portsAttributes": { | ||
"8888": { | ||
"label": "Preview of Standard Checkout Flow", | ||
"onAutoForward": "openBrowserOnce" | ||
} | ||
}, | ||
"secrets": { | ||
"PAYPAL_CLIENT_ID": { | ||
"description": "Sandbox client ID of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
}, | ||
"PAYPAL_CLIENT_SECRET": { | ||
"description": "Sandbox secret of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"vsls-contrib.codetour" | ||
], | ||
"settings": { | ||
"git.openRepositoryInParentFolders": "always" | ||
} | ||
} | ||
} | ||
} | ||
"name": "PayPal Standard Integration", | ||
"image": "mcr.microsoft.com/devcontainers/javascript-node:20", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}/standard-integration", | ||
// Use 'onCreateCommand' to run commands when creating the container. | ||
"onCreateCommand": "bash ../.devcontainer/standard-integration/welcome-message.sh", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "npm install", | ||
// Use 'postAttachCommand' to run commands when attaching to the container. | ||
"postAttachCommand": { | ||
"Start server": "npm start" | ||
}, | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [8888], | ||
"portsAttributes": { | ||
"8888": { | ||
"label": "Preview of Standard Checkout Flow", | ||
"onAutoForward": "openBrowserOnce" | ||
} | ||
}, | ||
"secrets": { | ||
"PAYPAL_CLIENT_ID": { | ||
"description": "Sandbox client ID of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
}, | ||
"PAYPAL_CLIENT_SECRET": { | ||
"description": "Sandbox secret of the application.", | ||
"documentationUrl": "https://developer.paypal.com/dashboard/applications/sandbox" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": ["vsls-contrib.codetour"], | ||
"settings": { | ||
"git.openRepositoryInParentFolders": "always" | ||
} | ||
} | ||
} | ||
} |
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