Skip to content

Commit 6e0bf94

Browse files
author
scrungus
committed
new pr workflow
1 parent 5a59391 commit 6e0bf94

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/on_push_pr.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
3+
concurrency:
4+
group: stackhpc-pull-request-${{ github.event.pull_request.number || github.ref }}
5+
cancel-in-progress: true
6+
7+
name: Pull request
8+
'on':
9+
pull_request:
10+
push:
11+
branches:
12+
- main
13+
jobs:
14+
15+
build-kayobe-image:
16+
name: Build Kayobe Image
17+
uses: ./.github/workflows/stackhpc-build-kayobe-image.yml
18+
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
19+
20+
all-in-one-centos-ovs:
21+
name: aio (CentOS OVS)
22+
needs:
23+
- build-kayobe-image
24+
uses: ./.github/workflows/stackhpc-capi-all-in-one.yml
25+
with:
26+
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
27+
neutron_plugin: ovs
28+
OS_CLOUD: sms-lab
29+
secrets: inherit
30+
if: github.repository == 'stackhpc/stackhpc-kayobe-config-new-capi'

.github/workflows/stackhpc-capi-all-in-one.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name: All in one magnum
66

77
on:
8-
workflow_dispatch:
8+
workflow_call:
99
inputs:
1010
kayobe_image:
1111
description: Kayobe container image

0 commit comments

Comments
 (0)