-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acceptance: bazelify trc ceremony tests (#4209)
Bazelify TRC ceremony tests. The motivation/goal is that developers can run all integration tests locally with a single command. Change invocation of test in CI to explicitly run these tests with bazel; this will be streamlined by combining this with the acceptance test steps in a follow up PR.
- Loading branch information
Showing
6 changed files
with
47 additions
and
18 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
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 |
---|---|---|
@@ -1,3 +1,36 @@ | ||
exports_files([ | ||
"crypto_lib.sh", | ||
]) | ||
|
||
sh_test( | ||
name = "trc_ceremony_test", | ||
srcs = ["trc_ceremony.sh"], | ||
data = [ | ||
":crypto_lib.sh", | ||
"//scion-pki/cmd/scion-pki", | ||
], | ||
env = { | ||
"SCION_PKI_BIN": "$(location //scion-pki/cmd/scion-pki)", | ||
}, | ||
tags = [ | ||
"exclusive", | ||
"integration", | ||
], | ||
) | ||
|
||
sh_test( | ||
name = "trc_ceremony_sensitive_test", | ||
srcs = ["trc_ceremony_sensitive.sh"], | ||
data = [ | ||
"trc_ceremony.sh", | ||
":crypto_lib.sh", | ||
"//scion-pki/cmd/scion-pki", | ||
], | ||
env = { | ||
"SCION_PKI_BIN": "$(location //scion-pki/cmd/scion-pki)", | ||
}, | ||
tags = [ | ||
"exclusive", | ||
"integration", | ||
], | ||
) |
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