-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lokesh Mandvekar <[email protected]>
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
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,13 @@ | ||
jobs: | ||
# All tests specified in the `/plans/` subdir | ||
- job: tests | ||
trigger: pull_request | ||
#notifications: | ||
#failure_comment: | ||
# message: "podman build test failed. @containers/packit-build please check." | ||
targets: | ||
- fedora-rawhide-x86_64 | ||
skip_build: true | ||
enable_net: true | ||
identifier: podman_build | ||
tmt_plan: "/plans/podman_build_test" |
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 @@ | ||
prepare: | ||
- how: install | ||
package: | ||
- git-core | ||
- golang | ||
- rpmdevtools | ||
|
||
/podman_build_test: | ||
summary: Build Podman | ||
execute: | ||
how: tmt | ||
script: bash ./plans/podman_build_test.sh |
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,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eox pipefail | ||
|
||
rpm -q golang | ||
if [ -f /etc/fedora-release ]; then | ||
export TMPDIR=/var/tmp | ||
fi | ||
git clone https://github.com/containers/podman | ||
cd podman | ||
go mod edit -replace github.com/containers/common=../ | ||
make vendor | ||
cat go.mod | ||
dnf -y builddep rpm/podman.spec | ||
make rpm |