-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tmt: run new go tests to check container subscription access in tmt
This commit wires up the needed credentials and scaffolding to run the integration tests about subscribed content in containers via tmt. For this it passes in the `RHSM_{ORG,ACTIVATION_KEY}` secrets and runs the go tests as root.
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
summary: Run all tests inside a VM environment | ||
provision: | ||
how: virtual | ||
image: fedora:40 | ||
prepare: | ||
how: install | ||
package: | ||
- btrfs-progs-devel | ||
- device-mapper-devel | ||
- gpgme-devel | ||
- golang | ||
- osbuild-depsolve-dnf | ||
- podman | ||
- subscription-manager | ||
execute: | ||
how: tmt | ||
script: | | ||
echo "Run tests as root" | ||
cd bib && go test -v ./... |