-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22260 from baude/validatepr
[CI:DOCS]Initial PR validation
- Loading branch information
Showing
3 changed files
with
52 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
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,17 @@ | ||
FROM registry.fedoraproject.org/fedora:latest | ||
|
||
WORKDIR /go/src/github.com/containers/podman | ||
|
||
RUN dnf install -y systemd-devel \ | ||
libassuan-devel \ | ||
libseccomp-devel \ | ||
gpgme-devel \ | ||
device-mapper-devel \ | ||
btrfs-progs-devel \ | ||
golang \ | ||
make \ | ||
man-db \ | ||
git \ | ||
perl-Clone \ | ||
perl-FindBin \ | ||
pre-commit && dnf clean all |
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,23 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
# | ||
# This script is intended to help developers contribute to the podman project. It | ||
# checks various pre-CI checks like building, linting, man-pages, etc. It is meant | ||
# to be run in a specific container environment. | ||
# | ||
|
||
# build all require incantations of podman | ||
echo "Building windows ..." | ||
GOOS=windows CGO_ENABLED=0 go build -tags "$REMOTETAGS" -o bin/test.windows ./cmd/podman | ||
echo "Building darwin..." | ||
GOOS=darwin CGO_ENABLED=0 go build -tags "$REMOTETAGS" -o bin/test.darwin ./cmd/podman | ||
|
||
# build podman | ||
echo "Building podman binaries ..." | ||
make binaries | ||
|
||
|
||
echo "Running validation tooling ..." | ||
make validate |