github.com/gophercloud/gophercloud@v1.14.1/.github/workflows/functional-keymanager.yaml (about)

     1  name: functional-keymanager
     2  on:
     3    pull_request:
     4      paths:
     5        - '**keymanager**'
     6  jobs:
     7    functional-keymanager:
     8      strategy:
     9        fail-fast: false
    10        matrix:
    11          name: ["master"]
    12          openstack_version: ["master"]
    13          ubuntu_version: ["22.04"]
    14          include:
    15            - name: "caracal"
    16              openstack_version: "stable/2024.1"
    17              ubuntu_version: "22.04"
    18            - name: "bobcat"
    19              openstack_version: "stable/2023.2"
    20              ubuntu_version: "22.04"
    21            - name: "antelope"
    22              openstack_version: "stable/2023.1"
    23              ubuntu_version: "22.04"
    24      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    25      name: Deploy OpenStack ${{ matrix.name }} with Barbican and run keymanager acceptance tests
    26      steps:
    27        - name: Checkout Gophercloud
    28          uses: actions/checkout@v4
    29        - name: Deploy devstack
    30          uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69
    31          with:
    32            branch: ${{ matrix.openstack_version }}
    33            conf_overrides: |
    34              enable_plugin barbican https://github.com/openstack/barbican ${{ matrix.openstack_version }}
    35            enabled_services: 'barbican-svc,barbican-retry,barbican-keystone-listener'
    36        - name: Checkout go
    37          uses: actions/setup-go@v5
    38          with:
    39            go-version: '^1.15'
    40        - name: Run Gophercloud acceptance tests
    41          run: ./script/acceptancetest
    42          env:
    43            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    44            ACCEPTANCE_TESTS_FILTER: "^.*keymanager.*$"
    45            OS_BRANCH: ${{ matrix.openstack_version }}
    46        - name: Generate logs on failure
    47          run: ./script/collectlogs
    48          if: failure()
    49        - name: Upload logs artifacts on failure
    50          if: failure()
    51          uses: actions/upload-artifact@v4
    52          with:
    53            name: functional-keymanager-${{ matrix.name }}
    54            path: /tmp/devstack-logs/*