This repository was archived by the owner on Aug 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Go CFD: SSH, Map Route, Integration Test Setup & Teardown #133
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
05399ce
feat: remove the check for existing apps
zjrgov 9b79437
refactor: ServicePush -> Push until reason to diff, clean up Prepare
zjrgov b1197df
chore: wip, commiting to save over weekend
zjrgov f91235f
feat: add ssh_proxy script
zjrgov 50c9a95
fix: missed ServicePush -> Push renames, add integration flag back
zjrgov 5feb406
feat: load egress config into JobConfig
zjrgov 5b5e5dd
refactor: move the go module to the root directory
zjrgov 1cd83f4
chore: add a local lazy config file to set test args
zjrgov 8ac16a1
tests: use verbose flag for both makefile test options
zjrgov 1456be4
fix: needed to point build at the folder w/ main.go
zjrgov 98b9ed3
tests: automate go driver integration test setup/teardown
zjrgov c250b16
chore(cfd): update default cf api to fr-stage
zjrgov fe027bb
tests(cfd): extract integration setup and improve scanner iteration
zjrgov 813d267
feat(cfd): WIP of calling SSH w/ milestone of SSH actually working…
zjrgov 8cb0d1a
refactor(cfd): integration setup/teardown easier to use
zjrgov ed745ae
fix(cfd): change AppGet integration to use STARTED state for consistency
zjrgov 0e54650
fix(cfd): prepare run cmd needed nil passed to newStage
zjrgov 7eae1ec
feat(cfd) RunSSH to use proxy config when available
zjrgov a8a9ae3
feat(cfd) add route mapping functionality & integration test
zjrgov 6878ae2
chore(cfd) add function stubs for unimplemented prepare steps
zjrgov 17af898
chore: removing unused ssh_proxy script
zjrgov 3331f33
fix(cfd): teardown not using cf_api_prod var for -p
zjrgov 6b8954f
chore(cfd): more obviously fake (and consistent) egress creds in test
zjrgov c6ddfe8
style(cfd): staticcheck wants uppercase
zjrgov ccdacde
chore(cfd): add a sample vcap_application json
zjrgov 71db282
feat(cfd): pull cf api url out of vcap_application
zjrgov cc91626
chore(cfd): add to-do RE #136
zjrgov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| return { | ||
| { | ||
| "nvim-neotest/neotest", | ||
| config = function() | ||
| ---@diagnostic disable-next-line: missing-fields | ||
| require("neotest").setup({ | ||
| adapters = { | ||
| require("neotest-golang")({ | ||
| go_test_args = { "-v", "-race", "-count=1", "-tags=integration" }, | ||
| go_list_args = { "-tags=integration" }, | ||
| dap_go_opts = { | ||
| delve = { | ||
| build_flags = { "-tags=integration" }, | ||
| }, | ||
| }, | ||
| }), | ||
| }, | ||
| }) | ||
| end, | ||
| }, | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.