Add 1st party Zabbix module #83
Workflow file for this run
This file contains 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: CI | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
podman: | |
runs-on: ubuntu-latest | |
name: Build latest in Podman | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image with Podman | |
run: | | |
tox -e podman -- --tag=quay.io/lumarel/ee-default --tag=quay.io/lumarel/ee-default:latest | |
latest: | |
runs-on: ubuntu-latest | |
name: Build latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
tox -e docker -- --tag=quay.io/lumarel/ee-default --tag=quay.io/lumarel/ee-default:latest | |
stable: | |
runs-on: ubuntu-latest | |
name: Build stable versions | |
needs: latest | |
strategy: | |
matrix: | |
version: | |
- "2.14" | |
- "2.15" | |
- "2.16" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
tox -e docker -- --tag=quay.io/lumarel/ee-default --tag=quay.io/lumarel/ee-default:stable-${{ matrix.version }} --file=execution-environment-${{ matrix.version }}.yml | |
latest_types: | |
runs-on: ubuntu-latest | |
name: Build latest types | |
strategy: | |
matrix: | |
type: | |
- cloud | |
- infra | |
- infradev | |
- network | |
- storage | |
- sync | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
tox -e docker -- --tag=quay.io/lumarel/ee-default --tag=quay.io/lumarel/ee-default:latest-${{ matrix.type }} --file=execution-environment-${{ matrix.type }}.yml | |
stable_types: | |
runs-on: ubuntu-latest | |
name: Build stable types | |
needs: latest_types | |
strategy: | |
matrix: | |
version: | |
- "2.14" | |
- "2.15" | |
- "2.16" | |
type: | |
- cloud | |
- infra | |
- network | |
- storage | |
- sync | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
tox -e docker -- --tag=quay.io/lumarel/ee-default --tag=quay.io/lumarel/ee-default:stable-${{ matrix.version }}-${{ matrix.type }} --file=execution-environment-${{ matrix.version }}-${{ matrix.type }}.yml | |
latest_lint: | |
runs-on: ubuntu-latest | |
name: Build lint latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
tox -e docker -- --tag=quay.io/lumarel/ee-lint --tag=quay.io/lumarel/ee-lint:latest --file=execution-environment-lint.yml | |
stable_lint: | |
runs-on: ubuntu-latest | |
name: Build stable lint versions | |
needs: latest_lint | |
strategy: | |
matrix: | |
version: | |
- "2.14" | |
- "2.15" | |
- "2.16" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Build image | |
env: | |
DOCKER_BUILDKIT: 1 | |
run: | | |
tox -e docker -- --tag=quay.io/lumarel/ee-lint --tag=quay.io/lumarel/ee-lint:stable-${{ matrix.version }} --file=execution-environment-${{ matrix.version }}-lint.yml |