forked from noobaa/noobaa-core
-
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.
NC | RPM build and install github action
Signed-off-by: Romy <[email protected]>
- Loading branch information
Showing
4 changed files
with
97 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Manual RPM Build and Install Test Dispatch | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: 'Branch to RPM Build and Install From' | ||
required: true | ||
centos_ver: | ||
type: choice | ||
description: 'Centos Base image (options: 8/9) - Optional, default is 9' | ||
default: '9' | ||
options: | ||
- '8' | ||
- '9' | ||
|
||
# Currently the only supported arch is linux/amd64 (x86_64) | ||
jobs: | ||
manual-build-rpm-and-install: | ||
uses: ./.github/workflows/rpm-build-and-install-test-base.yaml | ||
with: | ||
branch: ${{ github.event.inputs.branch }} | ||
centos_ver: ${{ github.event.inputs.centos_ver }} |
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,20 @@ | ||
name: Nightly RPM Build and Install Test | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
# Currently the only supported arch is linux/amd64 (x86_64) | ||
jobs: | ||
call-master-rpm-build-and-install-test-centos9: | ||
uses: ./.github/workflows/rpm-build-and-install-test-base.yaml | ||
secrets: inherit | ||
with: | ||
branch: 'master' | ||
centos_ver: '9' | ||
|
||
# call-master-rpm-build-and-install-test-centos8: | ||
# uses: ./.github/workflows/rpm-build-and-install-test-base.yaml | ||
# secrets: inherit | ||
# with: | ||
# branch: 'master' | ||
# centos_ver: '8' |
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 @@ | ||
name: RPM Build and Install Test Workflow | ||
on: | ||
workflow_call: | ||
inputs: | ||
branch: | ||
type: string | ||
description: 'Branch to Build RPM From' | ||
required: true | ||
centos_ver: | ||
type: string | ||
description: 'Centos Base image (options: 8/9) - Optional, default is 9' | ||
default: '9' | ||
|
||
jobs: | ||
rpm-build-and-and-install-test-base: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 90 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ inputs.branch }} | ||
|
||
- name: Run Non Containerized RPM Build And Install Test | ||
run: | | ||
make rpm-build-and-install-test BUILD_S3SELECT=0 CENTOS_VER=${{ inputs.centos_ver }} CONTAINER_PLATFORM=linux/amd64 | ||
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