Merge pull request #2622 from baude/protectdarwin

Add gating tasks
This commit is contained in:
OpenShift Merge Robot
2019-03-13 11:06:43 -07:00
committed by GitHub
4 changed files with 6 additions and 4 deletions

View File

@ -135,8 +135,10 @@ gating_task:
# This task builds Podman with different buildtags to ensure the build does
# not break.
build_script:
- '/usr/local/bin/entrypoint.sh clean podman'
- '/usr/local/bin/entrypoint.sh clean podman-remote'
- '/usr/local/bin/entrypoint.sh clean podman BUILDTAGS="exclude_graphdriver_devicemapper selinux seccomp"'
- '/usr/local/bin/entrypoint.sh clean podman-remote-darwin'
build_each_commit_task:

View File

@ -1,6 +1,6 @@
GO ?= go
DESTDIR ?= /
EPOCH_TEST_COMMIT ?= 4b80517b6a638ff06f8ad432f0f0f5839283d058
EPOCH_TEST_COMMIT ?= 1c45b42e9ff972d9645735118635e4186e6411f8
HEAD ?= HEAD
CHANGELOG_BASE ?= HEAD~
CHANGELOG_TARGET ?= HEAD

View File

@ -6,7 +6,7 @@ import (
"context"
)
func (r *Runtime) removeVolume(ctx context.Context, v *Volume, force, prune bool) error {
func (r *Runtime) removeVolume(ctx context.Context, v *Volume, force bool) error {
return ErrNotImplemented
}

View File

@ -41,7 +41,7 @@ func SkipStorageSetup() bool {
// JoinNS re-exec podman in a new userNS and join the user namespace of the specified
// PID.
func JoinNS(pid uint) (bool, int, error) {
func JoinNS(pid uint, preserveFDs int) (bool, int, error) {
return false, -1, errors.New("this function is not supported on this os")
}