Merge pull request #8790 from Icinga/feature/gha212

GitHub actions: update distros
This commit is contained in:
Alexander Aleksandrovič Klimov 2021-05-25 12:08:51 +02:00 committed by GitHub
commit e6bbacbfeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,9 @@ jobs:
- name: debian - name: debian
codename: stretch codename: stretch
has32bit: true has32bit: true
- name: ubuntu
codename: hirsute
has32bit: false
- name: ubuntu - name: ubuntu
codename: groovy codename: groovy
has32bit: false has32bit: false
@ -30,9 +33,6 @@ jobs:
- name: ubuntu - name: ubuntu
codename: bionic codename: bionic
has32bit: true has32bit: true
- name: ubuntu
codename: xenial
has32bit: true
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -116,16 +116,11 @@ jobs:
-e ICINGA_BUILD_TYPE=snapshot \ -e ICINGA_BUILD_TYPE=snapshot \
registry.icinga.com/build-docker/${{ matrix.distro.name }}/${{ matrix.distro.codename }}:x86 \ registry.icinga.com/build-docker/${{ matrix.distro.name }}/${{ matrix.distro.codename }}:x86 \
icinga-build-test icinga-build-test
- name: Artifacts
uses: actions/upload-artifact@v1
with:
name: '${{ matrix.distro.name }}-${{ matrix.distro.codename }}-packages'
path: deb-icinga2/build
rpm: rpm:
name: .rpm name: .rpm
strategy: strategy:
fail-fast: false
matrix: matrix:
distro: distro:
- name: centos - name: centos
@ -133,15 +128,15 @@ jobs:
- name: centos - name: centos
release: 7 release: 7
- name: fedora - name: fedora
release: 32 release: 34
- name: fedora - name: fedora
release: 31 release: 33
- name: sles - name: sles
release: '15.1' release: '15.2'
- name: sles - name: sles
release: '12.5' release: '12.5'
- name: opensuse - name: opensuse
release: '15.1' release: '15.2'
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -220,17 +215,11 @@ jobs:
-e ICINGA_BUILD_TYPE=snapshot \ -e ICINGA_BUILD_TYPE=snapshot \
registry.icinga.com/build-docker/${{ matrix.distro.name }}/${{ matrix.distro.release }} \ registry.icinga.com/build-docker/${{ matrix.distro.name }}/${{ matrix.distro.release }} \
icinga-build-test icinga-build-test
- name: Artifacts
if: "steps.vars.outputs.CAN_BUILD == 'true'"
uses: actions/upload-artifact@v1
with:
name: '${{ matrix.distro.name }}-${{ matrix.distro.release }}-packages'
path: rpm-icinga2/build
raspbian: raspbian:
name: Raspbian name: Raspbian
strategy: strategy:
fail-fast: false
matrix: matrix:
codename: codename:
- buster - buster
@ -298,9 +287,3 @@ jobs:
# -e ICINGA_BUILD_DEB_DEFAULT_ARCH=armhf \ # -e ICINGA_BUILD_DEB_DEFAULT_ARCH=armhf \
# registry.icinga.com/build-docker/raspbian/${{ matrix.codename }} \ # registry.icinga.com/build-docker/raspbian/${{ matrix.codename }} \
# icinga-build-test # icinga-build-test
- name: Artifacts
uses: actions/upload-artifact@v1
with:
name: 'raspbian-${{ matrix.codename }}-packages'
path: raspbian-icinga2/build