github.com/leeclow-ops/gophercloud@v1.2.1/.github/workflows/functional-containerinfra.yaml (about)

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