forked from confidential-containers/cloud-api-adaptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: convert to callable builder/binaries/podvm
The podvm_builder, podvm_binaries, and podvm workflows were converted to `workflow_call` so that they can be re-used. Before, on release time, `podvm_builder` were first triggered on a `release` event then the others followed upon finish of the previous. With this change, the `podvm_publish` workflow was created to be the entry point for the `release` event (or manual dispatch), so the (now) callable `podvm_builder`, `podvm_binaries`, and `podvm` are directly called. Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
- Loading branch information
Showing
4 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: Create Pod VM Builder Image | ||
on: | ||
release: | ||
types: [created] | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright Confidential Containers Contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Build and push the pod VM images. | ||
--- | ||
name: Publish pod VM Images | ||
on: | ||
# Create release Pod VM Images | ||
release: | ||
types: [created] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
podvm_builder: | ||
uses: ./.github/workflows/podvm_builder.yaml | ||
secrets: inherit | ||
|
||
podvm_binaries: | ||
needs: [podvm_builder] | ||
uses: ./.github/workflows/podvm_binaries.yaml | ||
secrets: inherit | ||
|
||
podvm: | ||
needs: [podvm_binaries] | ||
uses: ./.github/workflows/podvm.yaml | ||
secrets: inherit |