github.com/gophercloud/gophercloud@v1.11.0/.github/workflows/functional-containerinfra.yaml (about)

     1  name: functional-containerinfra
     2  on:
     3    pull_request:
     4      paths:
     5        - '**containerinfra**'
     6  jobs:
     7    functional-containerinfra:
     8      strategy:
     9        fail-fast: false
    10        matrix:
    11          include:
    12            - name: "master"
    13              openstack_version: "master"
    14              ubuntu_version: "22.04"
    15              devstack_conf_overrides: |
    16                enable_plugin magnum https://github.com/openstack/magnum master
    17                MAGNUMCLIENT_BRANCH=master
    18            - name: "bobcat"
    19              openstack_version: "stable/2023.2"
    20              ubuntu_version: "22.04"
    21              devstack_conf_overrides: |
    22                enable_plugin magnum https://github.com/openstack/magnum stable/2023.2
    23                MAGNUMCLIENT_BRANCH=stable/2023.2
    24            - name: "antelope"
    25              openstack_version: "stable/2023.1"
    26              ubuntu_version: "22.04"
    27              devstack_conf_overrides: |
    28                enable_plugin magnum https://github.com/openstack/magnum stable/2023.1
    29                MAGNUMCLIENT_BRANCH=stable/2023.1
    30            - name: "zed"
    31              openstack_version: "stable/zed"
    32              ubuntu_version: "20.04"
    33              devstack_conf_overrides: |
    34                enable_plugin magnum https://github.com/openstack/magnum stable/zed
    35                MAGNUMCLIENT_BRANCH=stable/zed
    36            - name: "yoga"
    37              openstack_version: "stable/yoga"
    38              ubuntu_version: "20.04"
    39              devstack_conf_overrides: |
    40                enable_plugin magnum https://github.com/openstack/magnum stable/yoga
    41                MAGNUMCLIENT_BRANCH=stable/yoga
    42            - name: "xena"
    43              openstack_version: "stable/xena"
    44              ubuntu_version: "20.04"
    45              devstack_conf_overrides: |
    46                enable_plugin magnum https://github.com/openstack/magnum xena-eol
    47                MAGNUMCLIENT_BRANCH=xena-eol
    48            - name: "wallaby"
    49              openstack_version: "stable/wallaby"
    50              ubuntu_version: "20.04"
    51              devstack_conf_overrides: |
    52                enable_plugin magnum https://github.com/openstack/magnum wallaby-eol
    53                MAGNUMCLIENT_BRANCH=wallaby-eol
    54            - name: "victoria"
    55              openstack_version: "stable/victoria"
    56              ubuntu_version: "20.04"
    57              devstack_conf_overrides: |
    58                enable_plugin magnum https://github.com/openstack/magnum victoria-eol
    59                MAGNUMCLIENT_BRANCH=victoria-em
    60      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    61      name: Deploy OpenStack ${{ matrix.name }} with Magnum and run containerinfra acceptance tests
    62      steps:
    63        - name: Checkout Gophercloud
    64          uses: actions/checkout@v3
    65        - name: Deploy devstack
    66          uses: EmilienM/devstack-action@c41f86d8df58b53c55f070207b6dfce656788cfd
    67          with:
    68            branch: ${{ matrix.openstack_version }}
    69            conf_overrides: |
    70              enable_plugin barbican https://github.com/openstack/barbican ${{ matrix.openstack_version }}
    71              enable_plugin heat https://github.com/openstack/heat ${{ matrix.openstack_version }}
    72              GLANCE_LIMIT_IMAGE_SIZE_TOTAL=5000
    73              SWIFT_MAX_FILE_SIZE=5368709122
    74              KEYSTONE_ADMIN_ENDPOINT=true
    75              ${{ matrix.devstack_conf_overrides }}
    76            enabled_services: 'h-eng,h-api,h-api-cfn,h-api-cw'
    77        - name: Checkout go
    78          uses: actions/setup-go@v4
    79          with:
    80            go-version: '^1.15'
    81        - name: Run Gophercloud acceptance tests
    82          run: ./script/acceptancetest
    83          env:
    84            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    85            ACCEPTANCE_TESTS_FILTER: "^.*containerinfra.*$"
    86            OS_BRANCH: ${{ matrix.openstack_version }}
    87        - name: Generate logs on failure
    88          run: ./script/collectlogs
    89          if: failure()
    90        - name: Upload logs artifacts on failure
    91          if: failure()
    92          uses: actions/upload-artifact@v4
    93          with:
    94            name: functional-containerinfra-${{ matrix.name }}
    95            path: /tmp/devstack-logs/*