mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Fix tests for PRs (#80)
This commit is contained in:
parent
bcfbc02ded
commit
5ee3e3cb8f
7 changed files with 13 additions and 6 deletions
8
.github/workflows/bot_commands.yml
vendored
8
.github/workflows/bot_commands.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
uses: ./.github/workflows/tests.yml
|
||||
with:
|
||||
pr: ${{ github.event.issue.number }}
|
||||
parent_job_name: Run ISO Tests /
|
||||
parent_job_name: Run All Tests
|
||||
|
||||
run_build_container:
|
||||
name: Run Build Container
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
uses: ./.github/workflows/build_container.yml
|
||||
with:
|
||||
pr: ${{ github.event.issue.number }}
|
||||
parent_job_name: Run ISO Tests /
|
||||
parent_job_name: Run Build Container
|
||||
|
||||
run_test_iso:
|
||||
name: Run ISO Tests
|
||||
|
|
@ -68,7 +68,7 @@ jobs:
|
|||
uses: ./.github/workflows/test_iso.yml
|
||||
with:
|
||||
pr: ${{ github.event.issue.number }}
|
||||
parent_job_name: Run ISO Tests /
|
||||
parent_job_name: Run ISO Tests
|
||||
iso_name-38: ${{ needs.load_vars.outputs.IMAGE_NAME }}-38.iso
|
||||
iso_name-39: ${{ needs.load_vars.outputs.IMAGE_NAME }}-39.iso
|
||||
iso_name-40: ${{ needs.load_vars.outputs.IMAGE_NAME }}-40.iso
|
||||
|
|
@ -89,7 +89,7 @@ jobs:
|
|||
uses: ./.github/workflows/test_deployment.yml
|
||||
with:
|
||||
pr: ${{ github.event.issue.number }}
|
||||
parent_job_name: Run ISO Tests /
|
||||
parent_job_name: Run ISO Deployment Tests
|
||||
iso_name-38: ${{ needs.load_vars.outputs.IMAGE_NAME }}-38.iso
|
||||
iso_name-39: ${{ needs.load_vars.outputs.IMAGE_NAME }}-39.iso
|
||||
iso_name-40: ${{ needs.load_vars.outputs.IMAGE_NAME }}-40.iso
|
||||
3
.github/workflows/build_container.yml
vendored
3
.github/workflows/build_container.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
contains(github.event.pull_request.labels.*.name, 'auto-test') )
|
||||
name: Build Container Image
|
||||
env:
|
||||
JOB_NAME: Tests / Build Container Image
|
||||
JOB_NAME: Build Container Image
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -66,6 +66,7 @@ jobs:
|
|||
with:
|
||||
images: |
|
||||
ghcr.io/${{ github.repository }}
|
||||
context: git
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
|
|
|
|||
1
.github/workflows/build_iso.yml
vendored
1
.github/workflows/build_iso.yml
vendored
|
|
@ -20,6 +20,7 @@ on:
|
|||
|
||||
jobs:
|
||||
load_vars:
|
||||
name: Load Variables
|
||||
uses: ./.github/workflows/build_vars.yml
|
||||
|
||||
build_iso:
|
||||
|
|
|
|||
3
.github/workflows/build_vars.yml
vendored
3
.github/workflows/build_vars.yml
vendored
|
|
@ -20,7 +20,8 @@ on:
|
|||
|
||||
|
||||
jobs:
|
||||
job1:
|
||||
load-vars:
|
||||
name: Load Variables
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Sucess
|
||||
|
|
|
|||
1
.github/workflows/test_deployment.yml
vendored
1
.github/workflows/test_deployment.yml
vendored
|
|
@ -21,6 +21,7 @@ on:
|
|||
|
||||
jobs:
|
||||
load_vars:
|
||||
name: Load Variables
|
||||
uses: ./.github/workflows/build_vars.yml
|
||||
|
||||
test-deployment:
|
||||
|
|
|
|||
1
.github/workflows/test_iso.yml
vendored
1
.github/workflows/test_iso.yml
vendored
|
|
@ -20,6 +20,7 @@ on:
|
|||
|
||||
jobs:
|
||||
load_vars:
|
||||
name: Load Variables
|
||||
uses: ./.github/workflows/build_vars.yml
|
||||
|
||||
test-iso:
|
||||
|
|
|
|||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -7,6 +7,8 @@ on:
|
|||
tags:
|
||||
- 'v*'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
workflow_call:
|
||||
inputs:
|
||||
pr:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue