functional-basic #2737
This file contains hidden or 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-basic | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
- '**.gitignore' | |
- '**LICENSE' | |
schedule: | |
- cron: '0 0 */3 * *' | |
jobs: | |
functional-basic: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "master" | |
openstack_version: "master" | |
ubuntu_version: "24.04" | |
additional_services: "openstack-cli-server" | |
- name: "epoxy" | |
openstack_version: "stable/2025.1" | |
ubuntu_version: "22.04" | |
additional_services: "openstack-cli-server" | |
- name: "dalmatian" | |
openstack_version: "stable/2024.2" | |
ubuntu_version: "22.04" | |
additional_services: "openstack-cli-server" | |
- name: "caracal" | |
openstack_version: "stable/2024.1" | |
ubuntu_version: "22.04" | |
additional_services: "" | |
runs-on: ubuntu-${{ matrix.ubuntu_version }} | |
name: Deploy OpenStack ${{ matrix.name }} with defaults and run basic acceptance tests | |
steps: | |
- name: Checkout Gophercloud | |
uses: actions/checkout@v4 | |
- name: Deploy devstack | |
uses: gophercloud/devstack-action@v0.17 | |
with: | |
branch: ${{ matrix.openstack_version }} | |
enabled_services: 's-account,s-container,s-object,s-proxy,${{ matrix.additional_services }}' | |
- name: Checkout go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23' | |
- name: Run Gophercloud acceptance tests | |
run: | | |
source ${{ github.workspace }}/script/stackenv | |
make acceptance-basic | |
env: | |
DEVSTACK_PATH: ${{ github.workspace }}/devstack | |
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-basic-${{ matrix.name }}-${{ github.run_id }} | |
path: /tmp/devstack-logs/* |