mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
CI: Allow running in a container.
Add a parameter of the pr-gate-build-job template to specify a container image URL. If the value is not '' (default), then the jobs will be run inside a container based on that image. Signed-off-by: Oliver Steffen <osteffen@redhat.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Chris Fernald <chfernal@microsoft.com>
This commit is contained in:
parent
becff4f473
commit
36d7626a37
@ -14,6 +14,7 @@ parameters:
|
|||||||
arch_list: ''
|
arch_list: ''
|
||||||
extra_install_step: []
|
extra_install_step: []
|
||||||
usePythonVersion: ''
|
usePythonVersion: ''
|
||||||
|
container: ''
|
||||||
|
|
||||||
# Build step
|
# Build step
|
||||||
jobs:
|
jobs:
|
||||||
@ -72,6 +73,9 @@ jobs:
|
|||||||
pool:
|
pool:
|
||||||
vmImage: ${{ parameters.vm_image }}
|
vmImage: ${{ parameters.vm_image }}
|
||||||
|
|
||||||
|
${{ if not(eq(parameters.container, '')) }}:
|
||||||
|
container: ${{ parameters.container }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- template: pr-gate-steps.yml
|
- template: pr-gate-steps.yml
|
||||||
parameters:
|
parameters:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user