-
Notifications
You must be signed in to change notification settings - Fork 63
CI: End-to-end instance launch #1608
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
9 commits
Select commit
Hold shift + click to select a range
f186a76
ci: instance launch test
iliana 170461e
don't run end-to-end tests outside the lab
iliana 6ea0d45
ssh :)
iliana ec4778d
avoid hardcoding lab system's MAC address
iliana e8a09f9
use omicron_test_utils::dev::poll
iliana 433e30c
changes after rebase
iliana 60ef018
further rebase fixes
iliana 484d14b
remove darkhttpd from docs as it does not work
iliana 30d39df
review nits
iliana 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
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,33 @@ | ||
| #!/bin/bash | ||
| #: | ||
| #: name = "helios / build-end-to-end-tests" | ||
| #: variety = "basic" | ||
| #: target = "helios-latest" | ||
| #: rust_toolchain = "nightly-2022-04-27" | ||
| #: output_rules = [ | ||
| #: "=/work/*.gz", | ||
| #: ] | ||
| #: | ||
|
|
||
| set -o errexit | ||
| set -o pipefail | ||
| set -o xtrace | ||
|
|
||
| cargo --version | ||
| rustc --version | ||
|
|
||
| ptime -m ./tools/install_builder_prerequisites.sh -yp | ||
|
|
||
| # | ||
| # Reduce debuginfo just to line tables. | ||
| # | ||
| export CARGO_PROFILE_DEV_DEBUG=1 | ||
| export CARGO_PROFILE_TEST_DEBUG=1 | ||
|
|
||
| ptime -m cargo build -p end-to-end-tests --tests --bin bootstrap \ | ||
| --message-format json-render-diagnostics >/tmp/output.end-to-end.json | ||
|
|
||
| for p in target/debug/bootstrap $(/opt/ooce/bin/jq -r 'select(.profile.test) | .executable' /tmp/output.end-to-end.json); do | ||
| # shellcheck disable=SC2094 | ||
| ptime -m gzip < "$p" > /work/"$(basename "$p").gz" | ||
| done |
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.
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.
Should we just include
tcpproxy.xmlin the omicron repo so that we don't run the risk of a change made to the remote copy breaking CI with no in-repo changes.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.
For the moment I'm avoiding this because I'd rather have the tcpproxy binary and its service manifest in sync in the same place. (But I'm making a note to eventually build tcpproxy in CI perhaps?)