functional-containerinfra #20
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: functional-containerinfra | |
on: | |
pull_request: | |
paths: | |
- '**containerinfra**' | |
schedule: | |
- cron: '0 0 */3 * *' | |
jobs: | |
functional-containerinfra: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "master" | |
openstack_version: "master" | |
ubuntu_version: "22.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum master | |
MAGNUMCLIENT_BRANCH=master | |
- name: "bobcat" | |
openstack_version: "stable/2023.2" | |
ubuntu_version: "22.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum stable/2023.2 | |
MAGNUMCLIENT_BRANCH=stable/2023.2 | |
- name: "antelope" | |
openstack_version: "stable/2023.1" | |
ubuntu_version: "22.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum stable/2023.1 | |
MAGNUMCLIENT_BRANCH=stable/2023.1 | |
- name: "zed" | |
openstack_version: "stable/zed" | |
ubuntu_version: "20.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum stable/zed | |
MAGNUMCLIENT_BRANCH=stable/zed | |
- name: "yoga" | |
openstack_version: "stable/yoga" | |
ubuntu_version: "20.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum stable/yoga | |
MAGNUMCLIENT_BRANCH=stable/yoga | |
- name: "xena" | |
openstack_version: "stable/xena" | |
ubuntu_version: "20.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum xena-eol | |
MAGNUMCLIENT_BRANCH=xena-eol | |
- name: "wallaby" | |
openstack_version: "stable/wallaby" | |
ubuntu_version: "20.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum wallaby-eol | |
MAGNUMCLIENT_BRANCH=wallaby-eol | |
- name: "victoria" | |
openstack_version: "stable/victoria" | |
ubuntu_version: "20.04" | |
devstack_conf_overrides: | | |
enable_plugin magnum https://github.com/openstack/magnum victoria-eol | |
MAGNUMCLIENT_BRANCH=victoria-em | |
runs-on: ubuntu-${{ matrix.ubuntu_version }} | |
name: Deploy OpenStack ${{ matrix.name }} with Magnum and run containerinfra acceptance tests | |
steps: | |
- name: Checkout Gophercloud | |
uses: actions/checkout@v4 | |
- name: Deploy devstack | |
uses: EmilienM/devstack-action@c41f86d8df58b53c55f070207b6dfce656788cfd | |
with: | |
branch: ${{ matrix.openstack_version }} | |
conf_overrides: | | |
enable_plugin barbican https://github.com/openstack/barbican ${{ matrix.openstack_version }} | |
enable_plugin heat https://github.com/openstack/heat ${{ matrix.openstack_version }} | |
GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000 | |
SWIFT_MAX_FILE_SIZE=5368709122 | |
KEYSTONE_ADMIN_ENDPOINT=true | |
${{ matrix.devstack_conf_overrides }} | |
enabled_services: 'h-eng,h-api,h-api-cfn,h-api-cw' | |
- name: Checkout go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.20' | |
- name: Run Gophercloud acceptance tests | |
run: ./script/acceptancetest | |
env: | |
DEVSTACK_PATH: ${{ github.workspace }}/devstack | |
ACCEPTANCE_TESTS_FILTER: "^.*containerinfra.*$" | |
OS_BRANCH: ${{ matrix.openstack_version }} | |
- name: Generate logs on failure | |
run: ./script/collectlogs | |
if: failure() | |
- name: Upload logs artifacts on failure | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: functional-containerinfra-${{ matrix.name }} | |
path: /tmp/devstack-logs/* |