-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (36 loc) · 1.03 KB
/
with-defaults.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on:
- pull_request
- push
jobs:
with_defaults:
strategy:
fail-fast: false
matrix:
name: ["master"]
openstack_version: ["master"]
ubuntu_version: ["22.04"]
include:
- name: "bobcat"
openstack_version: "stable/2023.2"
ubuntu_version: "22.04"
- name: "antelope"
openstack_version: "stable/2023.1"
ubuntu_version: "22.04"
- name: "zed"
openstack_version: "stable/zed"
ubuntu_version: "20.04"
runs-on: ubuntu-${{ matrix.ubuntu_version }}
name: A job to deploy devstack with defaults
steps:
- name: Checkout devstack-action
uses: actions/checkout@v4
- name: Deploy devstack
uses: ./
with:
branch: ${{ matrix.openstack_version }}
- name: Upload logs artifacts on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: functional-basic-${{ matrix.name }}
path: /tmp/devstack-logs/*