Skip to content

Ansible 2.17

Ansible 2.17 #18

Workflow file for this run

name: Release
on:
release:
types:
- created
jobs:
release_latest:
runs-on: ubuntu-latest
name: Release latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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:${{ github.event.release.tag_name }}
- name: Push images
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
docker push quay.io/lumarel/ee-default:${{ github.event.release.tag_name }}
release_stable:
runs-on: ubuntu-latest
name: Release stable versions
needs: release_latest
strategy:
matrix:
version:
- "2.14"
- "2.15"
- "2.16"
- "2.17"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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:${{ github.event.release.tag_name }}-stable-${{ matrix.version }} --file=execution-environment-${{ matrix.version }}.yml
- name: Push images
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
docker push quay.io/lumarel/ee-default:${{ github.event.release.tag_name }}-stable-${{ matrix.version }}
release_latest_types:
runs-on: ubuntu-latest
name: Release latest types
strategy:
matrix:
type:
- cloud
- infra
- inventory
- network
- storage
- sync
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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:${{ github.event.release.tag_name }}-${{ matrix.type }} --file=execution-environment-${{ matrix.type }}.yml
- name: Push images
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
docker push quay.io/lumarel/ee-default:${{ github.event.release.tag_name }}-${{ matrix.type }}
release_stable_types:
runs-on: ubuntu-latest
name: Release stable types
needs: release_latest_types
strategy:
matrix:
version:
- "2.14"
- "2.15"
- "2.16"
- "2.17"
type:
- cloud
- infra
- inventory
- network
- storage
- sync
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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:${{ github.event.release.tag_name }}-stable-${{ matrix.version }}-${{ matrix.type }} --file=execution-environment-${{ matrix.version }}-${{ matrix.type }}.yml
- name: Push images
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
docker push quay.io/lumarel/ee-default:${{ github.event.release.tag_name }}-stable-${{ matrix.version }}-${{ matrix.type }}
latest_lint:
runs-on: ubuntu-latest
name: Build lint latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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:${{ github.event.release.tag_name }} --file=execution-environment-lint.yml
- name: Push images
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
docker push quay.io/lumarel/ee-lint:${{ github.event.release.tag_name }}
stable_lint:
runs-on: ubuntu-latest
name: Build stable lint versions
needs: latest_lint
strategy:
matrix:
version:
- "2.14"
- "2.15"
- "2.16"
- "2.17"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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:${{ github.event.release.tag_name }}-stable-${{ matrix.version }} --file=execution-environment-${{ matrix.version }}-lint.yml
- name: Push images
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USERNAME }} --password-stdin
docker push quay.io/lumarel/ee-lint:${{ github.event.release.tag_name }}-stable-${{ matrix.version }}