summaryrefslogtreecommitdiffstats
path: root/.github/dockerfiles
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-03-17 07:15:28 -0400
committerGitHub <noreply@github.com>2020-03-17 07:15:28 -0400
commit449f09bdf64a95a238cc43a110beb49c38930049 (patch)
treeb5300bf06f669084417775898ecc51b8fe3676b7 /.github/dockerfiles
parentafdef8ae1812a22c35a213c8fb402429ea0da9cc (diff)
General cleanup of GitHub Actions workflows. (#8383)
* Consolidate GHA workflows. This removes the installer workflow, which is duplicating checks that are already implicitly done in the build workflow, and then updates the build workflow so that it is appropriately named and does both a plain build and one using the installer. * Fix handling of Debian Jessie. * Split install-required-packages to a separate chekc step. This uses a new Dockerfile to build a base docker image for testing and check the install-required-packages.sh script at the same time. This should speed up the multiple build tests significantly. * Reenable CentOS 8 build checks. * Create dedicated directory for GHA dockerfiles. * Re-enable OpenSUSE build tests. * Remove build checks for distros that have no upstream support. * Rename workflow file.
Diffstat (limited to '.github/dockerfiles')
-rw-r--r--.github/dockerfiles/Dockerfile.build_test11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/dockerfiles/Dockerfile.build_test b/.github/dockerfiles/Dockerfile.build_test
new file mode 100644
index 0000000000..1dc3e303d6
--- /dev/null
+++ b/.github/dockerfiles/Dockerfile.build_test
@@ -0,0 +1,11 @@
+ARG BASE
+
+FROM ${BASE}
+
+ARG PRE
+ENV PRE=${PRE}
+
+COPY . /netdata
+
+RUN /bin/sh /netdata/prep-cmd.sh
+RUN /netdata/packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata-all