Skip to content

zed: automate Kolla Ansible tag variable definitions #1911

zed: automate Kolla Ansible tag variable definitions

zed: automate Kolla Ansible tag variable definitions #1911

---
concurrency:
group: stackhpc-pull-request-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
name: Pull request
'on':
pull_request:
jobs:
tox:
runs-on: ubuntu-22.04
permissions: {}
strategy:
matrix:
include:
- environment: pep8
python-version: "3.10"
- environment: releasenotes
python-version: "3.10"
- environment: docs
python-version: "3.10"
name: Tox ${{ matrix.environment }} with Python ${{ matrix.python-version }}
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
steps:
- name: GitHub Checkout 🛎
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python ${{ matrix.python-version }} 🐍
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox 📦
run: pip install tox
- name: Run Tox ${{ matrix.environment }} 🧪
run: tox -e ${{ matrix.environment }}
build-kayobe-image:
name: Build Kayobe Image
uses: ./.github/workflows/stackhpc-build-kayobe-image.yml
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
check-tags:
name: Check container image tags
needs:
- build-kayobe-image
uses: ./.github/workflows/stackhpc-check-tags.yml
with:
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
secrets: inherit
if: github.repository == 'stackhpc/stackhpc-kayobe-config'