mirror of
https://github.com/containers/podman.git
synced 2025-10-24 15:03:45 +08:00
Initial gingko work
This implements the ginkgo integration test framework for podman. As tests are migrated from bats to ginkgo, we will still run both integration suites. When a test is migrated, we remove the tests from bats at that time. All new tests should be just for the ginkgo framework. One exception is that we only run the ginkgo suit in the travis/ubuntu environment. The CentOS and Fedora PAPR nodes will more than cover those. Signed-off-by: baude <bbaude@redhat.com> Closes: #261 Approved by: baude
This commit is contained in:
16
Dockerfile
16
Dockerfile
@ -103,6 +103,22 @@ RUN set -x \
|
||||
&& cp "$GOPATH"/bin/crictl /usr/bin/ \
|
||||
&& rm -rf "$GOPATH"
|
||||
|
||||
# Install ginkgo
|
||||
RUN set -x \
|
||||
&& export GOPATH=/go \
|
||||
&& go get -u github.com/onsi/ginkgo/ginkgo \
|
||||
&& install -D -m 755 "$GOPATH"/bin/ginkgo /usr/bin/
|
||||
|
||||
# Install gomega
|
||||
RUN set -x \
|
||||
&& export GOPATH=/go \
|
||||
&& go get github.com/onsi/gomega/...
|
||||
|
||||
# Install cni config
|
||||
#RUN make install.cni
|
||||
RUN mkdir -p /etc/cni/net.d/
|
||||
COPY cni/87-podman-bridge.conflist /etc/cni/net.d/87-podman-bridge.conflist
|
||||
|
||||
# Make sure we have some policy for pulling images
|
||||
RUN mkdir -p /etc/containers
|
||||
COPY test/policy.json /etc/containers/policy.json
|
||||
|
||||
Reference in New Issue
Block a user