mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +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
|
uses: ./.github/workflows/tests.yml
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.issue.number }}
|
pr: ${{ github.event.issue.number }}
|
||||||
parent_job_name: Run ISO Tests /
|
parent_job_name: Run All Tests
|
||||||
|
|
||||||
run_build_container:
|
run_build_container:
|
||||||
name: Run Build Container
|
name: Run Build Container
|
||||||
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
uses: ./.github/workflows/build_container.yml
|
uses: ./.github/workflows/build_container.yml
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.issue.number }}
|
pr: ${{ github.event.issue.number }}
|
||||||
parent_job_name: Run ISO Tests /
|
parent_job_name: Run Build Container
|
||||||
|
|
||||||
run_test_iso:
|
run_test_iso:
|
||||||
name: Run ISO Tests
|
name: Run ISO Tests
|
||||||
|
|
@ -68,7 +68,7 @@ jobs:
|
||||||
uses: ./.github/workflows/test_iso.yml
|
uses: ./.github/workflows/test_iso.yml
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.issue.number }}
|
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-38: ${{ needs.load_vars.outputs.IMAGE_NAME }}-38.iso
|
||||||
iso_name-39: ${{ needs.load_vars.outputs.IMAGE_NAME }}-39.iso
|
iso_name-39: ${{ needs.load_vars.outputs.IMAGE_NAME }}-39.iso
|
||||||
iso_name-40: ${{ needs.load_vars.outputs.IMAGE_NAME }}-40.iso
|
iso_name-40: ${{ needs.load_vars.outputs.IMAGE_NAME }}-40.iso
|
||||||
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
uses: ./.github/workflows/test_deployment.yml
|
uses: ./.github/workflows/test_deployment.yml
|
||||||
with:
|
with:
|
||||||
pr: ${{ github.event.issue.number }}
|
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-38: ${{ needs.load_vars.outputs.IMAGE_NAME }}-38.iso
|
||||||
iso_name-39: ${{ needs.load_vars.outputs.IMAGE_NAME }}-39.iso
|
iso_name-39: ${{ needs.load_vars.outputs.IMAGE_NAME }}-39.iso
|
||||||
iso_name-40: ${{ needs.load_vars.outputs.IMAGE_NAME }}-40.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') )
|
contains(github.event.pull_request.labels.*.name, 'auto-test') )
|
||||||
name: Build Container Image
|
name: Build Container Image
|
||||||
env:
|
env:
|
||||||
JOB_NAME: Tests / Build Container Image
|
JOB_NAME: Build Container Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
@ -66,6 +66,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ github.repository }}
|
ghcr.io/${{ github.repository }}
|
||||||
|
context: git
|
||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=pr
|
type=ref,event=pr
|
||||||
|
|
|
||||||
1
.github/workflows/build_iso.yml
vendored
1
.github/workflows/build_iso.yml
vendored
|
|
@ -20,6 +20,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
load_vars:
|
load_vars:
|
||||||
|
name: Load Variables
|
||||||
uses: ./.github/workflows/build_vars.yml
|
uses: ./.github/workflows/build_vars.yml
|
||||||
|
|
||||||
build_iso:
|
build_iso:
|
||||||
|
|
|
||||||
3
.github/workflows/build_vars.yml
vendored
3
.github/workflows/build_vars.yml
vendored
|
|
@ -20,7 +20,8 @@ on:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
job1:
|
load-vars:
|
||||||
|
name: Load Variables
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Sucess
|
- name: Sucess
|
||||||
|
|
|
||||||
1
.github/workflows/test_deployment.yml
vendored
1
.github/workflows/test_deployment.yml
vendored
|
|
@ -21,6 +21,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
load_vars:
|
load_vars:
|
||||||
|
name: Load Variables
|
||||||
uses: ./.github/workflows/build_vars.yml
|
uses: ./.github/workflows/build_vars.yml
|
||||||
|
|
||||||
test-deployment:
|
test-deployment:
|
||||||
|
|
|
||||||
1
.github/workflows/test_iso.yml
vendored
1
.github/workflows/test_iso.yml
vendored
|
|
@ -20,6 +20,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
load_vars:
|
load_vars:
|
||||||
|
name: Load Variables
|
||||||
uses: ./.github/workflows/build_vars.yml
|
uses: ./.github/workflows/build_vars.yml
|
||||||
|
|
||||||
test-iso:
|
test-iso:
|
||||||
|
|
|
||||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -7,6 +7,8 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
pr:
|
pr:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue