From f4e2810fcbc5c602c8d1ffeb4330e224c2ecc0a9 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 25 Sep 2018 13:38:34 -0500 Subject: Put openshift dockerfiles in test/install Move the location of the openshift dockerfiles and delete the old one. Signed-off-by: baude Closes: #1542 Approved by: mheon --- test/install/.gitignore | 1 + test/install/Dockerfile.Centos | 3 +++ test/install/Dockerfile.Fedora | 3 +++ test/install/README.md | 11 +++++++++++ 4 files changed, 18 insertions(+) create mode 100644 test/install/.gitignore create mode 100644 test/install/Dockerfile.Centos create mode 100644 test/install/Dockerfile.Fedora create mode 100644 test/install/README.md (limited to 'test') diff --git a/test/install/.gitignore b/test/install/.gitignore new file mode 100644 index 000000000..0a948f916 --- /dev/null +++ b/test/install/.gitignore @@ -0,0 +1 @@ +rpms/ \ No newline at end of file diff --git a/test/install/Dockerfile.Centos b/test/install/Dockerfile.Centos new file mode 100644 index 000000000..11f60029b --- /dev/null +++ b/test/install/Dockerfile.Centos @@ -0,0 +1,3 @@ +FROM registry.centos.org/centos/centos:7 + +RUN yum install -y rpms/noarch/* rpms/x86_64/* \ No newline at end of file diff --git a/test/install/Dockerfile.Fedora b/test/install/Dockerfile.Fedora new file mode 100644 index 000000000..188e60328 --- /dev/null +++ b/test/install/Dockerfile.Fedora @@ -0,0 +1,3 @@ +FROM registry.fedoraproject.org/fedora:28 + +RUN dnf install -y rpms/noarch/* rpms/x86_64/* \ No newline at end of file diff --git a/test/install/README.md b/test/install/README.md new file mode 100644 index 000000000..21e5ab26d --- /dev/null +++ b/test/install/README.md @@ -0,0 +1,11 @@ +# Installation Tests + +The Dockerfiles in this directory attempt to install the RPMs built from this +repo into the target OS. Make the RPMs first with: + +``` +make -f .copr/Makefile srpm outdir=test/install/rpms +make -f .copr/Makefile build_binary outdir=test/install/rpms +``` + +Then, run a container image build using the Dockerfiles in this directory. \ No newline at end of file -- cgit v1.2.3-54-g00ecf