fix to help calico images works with customized repository such as Harbor and cluster cannot create with existing network. add add api_lb_availability_zone and api_server_floating_ip label #925
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: test | |
on: | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- README.md | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
type: boolean | |
description: 'Run the build with tmate session (https://github.com/marketplace/actions/debugging-with-tmate)' | |
required: false | |
default: false | |
jobs: | |
build: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- runs-on: ubuntu-latest | |
python-version: "3.8" | |
- runs-on: ubuntu-latest | |
python-version: "3.9" | |
- runs-on: ubuntu-latest | |
python-version: "3.10" | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
cache: poetry | |
- name: Build package | |
run: poetry build | |
install: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- runs-on: ubuntu-latest | |
python-version: "3.8" | |
openstack-version: zed | |
- runs-on: ubuntu-latest | |
python-version: "3.8" | |
openstack-version: "2023.1" | |
- runs-on: ubuntu-latest | |
python-version: "3.10" | |
openstack-version: "2023.2" | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Checkout project | |
uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
cache: poetry | |
python-version: ${{ matrix.python-version }} | |
- name: Build package | |
run: poetry build | |
- name: Install package using constraints | |
run: pip install --constraint https://releases.openstack.org/constraints/upper/${{ matrix.openstack-version }} ./dist/*.whl |