diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-10-15 12:22:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 12:22:17 -0400 |
commit | 0cb8ff16e430b7a6c476d131a48783612b5dd328 (patch) | |
tree | 4884bf2f77a3ccb1a08ee48feca644ce9414a28c /.github/workflows/build-and-install.yml | |
parent | a3643623bda776dd0123980eb214d3247975179f (diff) |
Add Ubuntu 21.10 to CI. (#11585)
* Add Ubuntu 21.10 to CI.
* Work around bugs in Docker.
* Work around broken Ubuntu 21.10 Docker images.
Diffstat (limited to '.github/workflows/build-and-install.yml')
-rw-r--r-- | .github/workflows/build-and-install.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/build-and-install.yml b/.github/workflows/build-and-install.yml index a2607e5bff..1a483e35de 100644 --- a/.github/workflows/build-and-install.yml +++ b/.github/workflows/build-and-install.yml @@ -33,6 +33,7 @@ jobs: - 'fedora:33' - 'opensuse/leap:15.2' - 'opensuse/leap:15.3' + - 'ubuntu:21.10' - 'ubuntu:21.04' - 'ubuntu:20.04' - 'ubuntu:18.04' @@ -79,6 +80,9 @@ jobs: - distro: 'opensuse/leap:15.3' rmjsonc: 'zypper rm -y libjson-c-devel' + - distro: 'ubuntu:21.10' + pre: 'rm -f /etc/apt/apt.conf.d/docker* && apt-get update' + rmjsonc: 'apt-get remove -y libjson-c-dev' - distro: 'ubuntu:21.04' pre: 'apt-get update' rmjsonc: 'apt-get remove -y libjson-c-dev' @@ -104,18 +108,19 @@ jobs: docker build . -f .github/dockerfiles/Dockerfile.build_test -t test --build-arg BASE=${{ matrix.distro }} - name: Regular build on ${{ matrix.distro }} run: | - docker run -w /netdata test /bin/sh -c 'autoreconf -ivf && ./configure && make -j2' + docker run --security-opt seccomp=unconfined -w /netdata test /bin/sh -c 'autoreconf -ivf && ./configure && make -j2' - name: netdata-installer on ${{ matrix.distro }}, disable cloud run: | - docker run -w /netdata test /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --disable-cloud' + docker run --security-opt seccomp=unconfined -w /netdata test /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --disable-cloud' - name: netdata-installer on ${{ matrix.distro }}, require cloud run: | - docker run -w /netdata test /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --require-cloud' + docker run --security-opt seccomp=unconfined -w /netdata test /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --require-cloud' - name: netdata-installer on ${{ matrix.distro }}, require cloud, require ACLK-NG run: | - docker run -w /netdata -e NETDATA_CONFIGURE_OPTIONS='--with-aclk-ng' test /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --require-cloud' + docker run --security-opt seccomp=unconfined -w /netdata -e NETDATA_CONFIGURE_OPTIONS='--with-aclk-ng' test \ + /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --require-cloud' - name: netdata-installer on ${{ matrix.distro }}, require cloud, no JSON-C if: matrix.rmjsonc != '' run: | - docker run -w /netdata test \ + docker run --security-opt seccomp=unconfined -w /netdata test \ /bin/sh -c '/netdata/rmjsonc.sh && ./netdata-installer.sh --dont-wait --dont-start-it --require-cloud' |