-
Notifications
You must be signed in to change notification settings - Fork 840
[tmpnet] Deploy collectors with golang to simplify cross-repo use #3692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5d215e9
[tmpnet] Deploy collectors with golang to simplify cross-repo use
maru-ava 5b36ecf
fixup: Refactor for review
maru-ava eaf59a2
fixup: Cleanup for consistency
maru-ava 2fa844b
fixup: More cleanup
maru-ava 86eba76
fixup: Add README for action
maru-ava 58d5431
fixup: Fix args
maru-ava 00a63dc
fixup: Remove apostrophe to avoid github's shite formatting
maru-ava 3d3f7de
fixup: Move promtail readiness check to after nodes have started
maru-ava ceef695
fixup: Inline step uploading tmpnet network data
maru-ava fa7b613
fixup: Update README to mention the need to vendor tmpnet
maru-ava 9cf8d2f
Update tests/fixture/e2e/flags.go
maru-ava 9c408ff
fixup: Respond to review comments
maru-ava 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,13 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| # Ensure the go command is run from the root of the repository | ||
| AVALANCHE_PATH=$(cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd ) | ||
| cd "${AVALANCHE_PATH}" | ||
|
|
||
| # Build if needed | ||
| if [[ ! -f ./build/tmpnetctl ]]; then | ||
| ./scripts/build_tmpnetctl.sh | ||
| fi | ||
| ./build/tmpnetctl |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What annotation is this referring to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script that this step calls creates a github actions 'annotation' that appears on the summary page of the run. But I'm thinking it does more harm than good since the only other annotations are typically warnings from actions warning of deprecations that we need to notice and respond to.