summaryrefslogtreecommitdiff
path: root/test/e2e/build_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-22 08:42:27 -0400
committerGitHub <noreply@github.com>2020-07-22 08:42:27 -0400
commit558809d4bbd735eca2a31bb07249ac42850f37de (patch)
tree41ffa2cf2c65ac490e5a4e6a6af1616b32e49cf5 /test/e2e/build_test.go
parentef03815117fdf1b8b43d4e2b18caa00ddb3a82b6 (diff)
parent65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f (diff)
downloadpodman-558809d4bbd735eca2a31bb07249ac42850f37de.tar.gz
podman-558809d4bbd735eca2a31bb07249ac42850f37de.tar.bz2
podman-558809d4bbd735eca2a31bb07249ac42850f37de.zip
Merge pull request #7044 from rhatdan/remotetest
Enable a bunch of remote tests
Diffstat (limited to 'test/e2e/build_test.go')
-rw-r--r--test/e2e/build_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/e2e/build_test.go b/test/e2e/build_test.go
index 9c8078f16..c72d2243a 100644
--- a/test/e2e/build_test.go
+++ b/test/e2e/build_test.go
@@ -1,5 +1,3 @@
-// +build !remote
-
package integration
import (
@@ -40,6 +38,7 @@ var _ = Describe("Podman build", func() {
// Let's first do the most simple build possible to make sure stuff is
// happy and then clean up after ourselves to make sure that works too.
It("podman build and remove basic alpine", func() {
+ SkipIfRemote()
session := podmanTest.PodmanNoCache([]string{"build", "build/basicalpine"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -69,6 +68,7 @@ var _ = Describe("Podman build", func() {
// Check that builds with different values for the squash options
// create the appropriate number of layers, then clean up after.
It("podman build basic alpine with squash", func() {
+ SkipIfRemote()
session := podmanTest.PodmanNoCache([]string{"build", "-f", "build/squash/Dockerfile.squash-a", "-t", "test-squash-a:latest", "build/squash"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -154,6 +154,7 @@ var _ = Describe("Podman build", func() {
})
It("podman build basic alpine and print id to external file", func() {
+ SkipIfRemote()
// Switch to temp dir and restore it afterwards
cwd, err := os.Getwd()