-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 1st container downloads the PKI rpms from COPR - ipa-docker-test-runner spawns a new container and installs \ the latest PKI rpms -- the tool needs be removed in future Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>
- Loading branch information
Showing
2 changed files
with
76 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# Build src rpm from cloned repo | ||
docker exec -i ${TASK} \ | ||
/pki/build.sh \ | ||
--with-timestamp \ | ||
--with-commit-id \ | ||
--work-dir=/packages srpm | ||
|
||
# Build RPMs in COPR | ||
docker exec -i ${TASK} \ | ||
bash -c 'copr build $COPR_REPO /packages/SRPMS/*.src.rpm' |