Zabbix Images #501
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Zabbix Images | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 03 * * 2,4,6' | |
| jobs: | |
| build-trunk: | |
| name: Zabbix Trunk ${{ matrix.image_type }} | |
| runs-on: [ ubuntu-24.04 ] | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Build and Deploy Zabbix trunk (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/trunk/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-latest: | |
| name: Zabbix Latest ${{ matrix.image_type }} | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-trunk | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Build and Deploy Zabbix latest (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/latest/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-72: | |
| name: Zabbix 7.2 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 7.2 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/7.2/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-70: | |
| name: Zabbix 7.0 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 7.0 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/7.0/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-64: | |
| name: Zabbix 6.4 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 6.4 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/6.4/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-62: | |
| name: Zabbix 6.2 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 6.2 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/6.2/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-60: | |
| name: Zabbix 6.0 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 6.0 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/6.0/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-54: | |
| name: Zabbix 5.4 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 5.4 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/5.4/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-52: | |
| name: Build Zabbix 6.2 Images | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 5.2 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/5.2/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-50: | |
| name: Zabbix 5.0 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', 'agent2', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 5.0 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/5.0/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-40: | |
| name: Build Zabbix 4.0 Images | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 4.0 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/4.0/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean | |
| ################################################################## | |
| build-30: | |
| name: Zabbix 3.0 (${{ matrix.image_type }}) | |
| runs-on: [ ubuntu-24.04 ] | |
| needs: build-latest | |
| strategy: | |
| matrix: | |
| image_type: [ | |
| 'agent', | |
| 'java-gateway', | |
| 'proxy-mysql', 'proxy-sqlite3', | |
| 'server-mysql', 'server-pgsql', | |
| 'snmptraps', | |
| 'web-mysql', 'web-pgsql' | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| show-progress: true | |
| submodules: true | |
| - name: Log into docker registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin | |
| - name: Log into Quay.IO registry | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}" | |
| - name: Check buildah | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: buildah --version | |
| - name: Test Make | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make | |
| - name: Install requirements.txt | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make pip | |
| - name: Zabbix 3.0 (${{ matrix.image_type }}) | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: cd linux/advanced/zabbix/3.0/${{ matrix.image_type }} && pwd && make build && make deploy | |
| - name: Cleanup | |
| uses: nick-fields/retry@v3 | |
| with: | |
| retry_wait_seconds: 45 | |
| timeout_minutes: 600 | |
| max_attempts: 15 | |
| command: make clean |