diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-13 11:06:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 11:06:43 -0700 |
commit | a65788c8761f7a89be8ec6bd0fb547ec73f957f5 (patch) | |
tree | a2a0de1a8c90ca9ceee98c744e6a26cdd3f6cd6a | |
parent | 31b09d2f7329dfac6a6ac17bc821ecaf59bd6e6b (diff) | |
parent | c8ca027938b397d52a3064c5b5b10f6707e5f38c (diff) | |
download | podman-a65788c8761f7a89be8ec6bd0fb547ec73f957f5.tar.gz podman-a65788c8761f7a89be8ec6bd0fb547ec73f957f5.tar.bz2 podman-a65788c8761f7a89be8ec6bd0fb547ec73f957f5.zip |
Merge pull request #2622 from baude/protectdarwin
Add gating tasks
-rw-r--r-- | .cirrus.yml | 4 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | libpod/runtime_volume_unsupported.go | 2 | ||||
-rw-r--r-- | pkg/rootless/rootless_unsupported.go | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 9ce690196..8e26ce72e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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: @@ -1,6 +1,6 @@ GO ?= go DESTDIR ?= / -EPOCH_TEST_COMMIT ?= 4b80517b6a638ff06f8ad432f0f0f5839283d058 +EPOCH_TEST_COMMIT ?= 1c45b42e9ff972d9645735118635e4186e6411f8 HEAD ?= HEAD CHANGELOG_BASE ?= HEAD~ CHANGELOG_TARGET ?= HEAD diff --git a/libpod/runtime_volume_unsupported.go b/libpod/runtime_volume_unsupported.go index d87459759..5fe487114 100644 --- a/libpod/runtime_volume_unsupported.go +++ b/libpod/runtime_volume_unsupported.go @@ -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 } diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go index 54e70961b..e01d7855c 100644 --- a/pkg/rootless/rootless_unsupported.go +++ b/pkg/rootless/rootless_unsupported.go @@ -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") } |