-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration-tests: remove dependenciy on dockerhub
Integration tests previously took advantage of a container registry container image hosted on dockerhub. This modifies the integration tests to use the integrated krane-static crate to host a local registry.
- Loading branch information
Showing
6 changed files
with
35 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use anyhow::{Context, Result}; | ||
use krane_static::call_krane_inherited_io; | ||
|
||
fn main() -> Result<()> { | ||
let krane_args = &std::env::args().collect::<Vec<_>>()[1..]; | ||
let krane_status = call_krane_inherited_io(&krane_args) | ||
.with_context(|| format!("Failed to run krane with args {krane_args:?}"))?; | ||
|
||
anyhow::ensure!(krane_status.success(), "Krane exited with non-zero status"); | ||
Ok(()) | ||
} |