github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/.github/workflows/functional-objectstorage.yaml (about)

     1  name: functional-objectstorage
     2  on:
     3    pull_request:
     4      paths:
     5        - '**objectstorage**'
     6    schedule:
     7      - cron: '0 0 */3 * *'
     8  jobs:
     9    functional-objectstorage:
    10      strategy:
    11        fail-fast: false
    12        matrix:
    13          include:
    14            - name: "master"
    15              openstack_version: "master"
    16              ubuntu_version: "22.04"
    17              additional_services: "openstack-cli-server"
    18            - name: "dalmatian"
    19              openstack_version: "stable/2024.2"
    20              ubuntu_version: "22.04"
    21              additional_services: "openstack-cli-server"
    22            - name: "caracal"
    23              openstack_version: "stable/2024.1"
    24              ubuntu_version: "22.04"
    25              additional_services: ""
    26            - name: "bobcat"
    27              openstack_version: "stable/2023.2"
    28              ubuntu_version: "22.04"
    29              additional_services: ""
    30      runs-on: ubuntu-${{ matrix.ubuntu_version }}
    31      name: Deploy OpenStack ${{ matrix.name }} with Swift and run objectstorage acceptance tests
    32      steps:
    33        - name: Checkout Gophercloud
    34          uses: actions/checkout@v4
    35        - name: Deploy devstack
    36          uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69
    37          with:
    38            branch: ${{ matrix.openstack_version }}
    39            conf_overrides: |
    40              SWIFT_ENABLE_TEMPURLS=True
    41              SWIFT_TEMPURL_KEY=secretkey
    42              [[post-config|\$SWIFT_CONFIG_PROXY_SERVER]]
    43              [filter:versioned_writes]
    44              allow_object_versioning = true
    45            enabled_services: 's-account,s-container,s-object,s-proxy,${{ matrix.additional_services }}'
    46        - name: Checkout go
    47          uses: actions/setup-go@v5
    48          with:
    49            go-version: '^1.23'
    50        - name: Run Gophercloud acceptance tests
    51          run: ./script/acceptancetest
    52          env:
    53            DEVSTACK_PATH: ${{ github.workspace }}/devstack
    54            PACKAGE: "./internal/acceptance/openstack/objectstorage/..."
    55            OS_BRANCH: ${{ matrix.openstack_version }}
    56        - name: Generate logs on failure
    57          run: ./script/collectlogs
    58          if: failure()
    59        - name: Upload logs artifacts on failure
    60          if: failure()
    61          uses: actions/upload-artifact@v4
    62          with:
    63            name: functional-objectstorage-${{ matrix.name }}-${{ github.run_id }}
    64            path: /tmp/devstack-logs/*