-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added rerun count in session handling - added wait on app execution to avoid overlap exits too early
- Loading branch information
1 parent
17cd61e
commit bafa24a
Showing
11 changed files
with
149 additions
and
106 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,50 +1,45 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.154.2/containers/go | ||
{ | ||
"name": "Go", | ||
"dockerComposeFile": "./docker-compose.yaml", | ||
"service": "jobrunner_code", | ||
"shutdownAction": "stopCompose", | ||
"name": "Go", | ||
"dockerComposeFile": "./docker-compose.yaml", | ||
"service": "jobrunner_code", | ||
"shutdownAction": "stopCompose", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"go.toolsManagement.checkForUpdates": "local", | ||
"go.useLanguageServer": true, | ||
"go.gopath": "/go", | ||
"go.goroot": "/usr/local/go", | ||
"go.toolsGopath": "/go/bin", | ||
"go.buildOnSave": "package", | ||
"go.testOnSave": true, | ||
"go.coverOnTestPackage": true, | ||
"go.coverageDecorator": { | ||
"type": "gutter", | ||
"coveredHighlightColor": "rgba(64,128,128,0.5)", | ||
"uncoveredHighlightColor": "rgba(128,64,64,0.25)", | ||
"coveredGutterStyle": "blockgreen", | ||
"uncoveredGutterStyle": "blockred" | ||
}, | ||
"go.coverOnSingleTest": true, | ||
"go.coverOnSave": true, | ||
"go.testFlags": ["-short"] | ||
}, | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"go.toolsManagement.checkForUpdates": "local", | ||
"go.useLanguageServer": true, | ||
"go.gopath": "/go", | ||
"go.goroot": "/usr/local/go", | ||
"go.toolsGopath": "/go/bin", | ||
"go.buildOnSave": "package", | ||
"go.testOnSave": true, | ||
"go.coverOnTestPackage": true, | ||
"go.coverageDecorator": { | ||
"type": "gutter", | ||
"coveredHighlightColor": "rgba(64,128,128,0.5)", | ||
"uncoveredHighlightColor": "rgba(128,64,64,0.25)", | ||
"coveredGutterStyle": "blockgreen", | ||
"uncoveredGutterStyle": "blockred" | ||
}, | ||
"go.coverOnSingleTest": true, | ||
"go.coverOnSave": true, | ||
"go.testFlags": ["-short"] | ||
}, | ||
|
||
// Mount to proper location | ||
"workspaceFolder": "/go/src/github.com/zhongjie-cai/job-runner", | ||
// Mount to proper location | ||
"workspaceFolder": "/go/src/github.com/zhongjie-cai/job-runner", | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"golang.Go", | ||
"eamodio.gitlens", | ||
"yzhang.markdown-all-in-one" | ||
], | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": ["golang.Go", "eamodio.gitlens", "yzhang.markdown-all-in-one"] | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "go version", | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
// "postCreateCommand": "go version", | ||
|
||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
//"remoteUser": "vscode" | ||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
//"remoteUser": "vscode" | ||
} |
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
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
Oops, something went wrong.