Repo File Sync: Update to Mu DevOps v6.1.0 (#152)
This commit is contained in:
Родитель
5b60317bef
Коммит
35367122a5
|
@ -17,7 +17,7 @@ resources:
|
|||
type: github
|
||||
endpoint: microsoft
|
||||
name: microsoft/mu_devops
|
||||
ref: refs/tags/v5.0.6
|
||||
ref: refs/tags/v6.1.0
|
||||
|
||||
parameters:
|
||||
- name: do_ci_build
|
||||
|
@ -67,11 +67,19 @@ parameters:
|
|||
displayName: Extra Jobs to be run after build
|
||||
type: jobList
|
||||
default: []
|
||||
- name: rust_build
|
||||
displayName: Whether Rust code is being built
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
- template: Jobs/PrGate.yml@mu_devops
|
||||
parameters:
|
||||
linux_container_image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:3bf70b5
|
||||
linux_container_image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:9ab29bc
|
||||
${{ if eq(parameters.rust_build, true) }}:
|
||||
linux_container_options: --security-opt seccomp=unconfined
|
||||
extra_steps:
|
||||
- template: Steps/RustSetupSteps.yml@mu_devops
|
||||
do_ci_build: ${{ parameters.do_ci_build }}
|
||||
do_ci_setup: ${{ parameters.do_ci_setup }}
|
||||
do_pr_eval: ${{ parameters.do_pr_eval }}
|
||||
|
@ -85,5 +93,20 @@ jobs:
|
|||
vm_image: $(vm_image)
|
||||
container_build: ${{ parameters.container_build }}
|
||||
|
||||
- ${{ if eq(parameters.rust_build, true) }}:
|
||||
- job: CargoCmds
|
||||
displayName: Workspace Cargo Commands
|
||||
|
||||
container:
|
||||
|
||||
image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:9ab29bc
|
||||
options: --user root --name mu_devops_build_container --security-opt seccomp=unconfined
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
fetchDepth: 1
|
||||
clean: true
|
||||
- template: Steps/RustCargoSteps.yml@mu_devops
|
||||
|
||||
- ${{ parameters.extra_jobs }}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"image": "ghcr.io/microsoft/mu_devops/ubuntu-22-dev:latest",
|
||||
"postCreateCommand": "git config --global --add safe.directory '*' && pip install --upgrade -r pip-requirements.txt",
|
||||
"postCreateCommand": "git config --global --add safe.directory '*' && git config --global --add core.autocrlf false && pip install --upgrade -r pip-requirements.txt",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
|
|
|
@ -25,5 +25,5 @@ jobs:
|
|||
approval_check:
|
||||
if: |
|
||||
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
|
||||
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v6.1.0
|
||||
secrets: inherit
|
||||
|
|
|
@ -26,5 +26,5 @@ jobs:
|
|||
merge_check:
|
||||
if: |
|
||||
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
|
||||
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v6.1.0
|
||||
secrets: inherit
|
||||
|
|
|
@ -18,4 +18,4 @@ on:
|
|||
|
||||
jobs:
|
||||
apply:
|
||||
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v6.1.0
|
||||
|
|
|
@ -31,4 +31,4 @@ on:
|
|||
|
||||
jobs:
|
||||
apply:
|
||||
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v6.1.0
|
||||
|
|
|
@ -24,4 +24,4 @@ on:
|
|||
|
||||
jobs:
|
||||
sync:
|
||||
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v6.1.0
|
||||
|
|
|
@ -27,5 +27,5 @@ on:
|
|||
|
||||
jobs:
|
||||
draft:
|
||||
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v6.1.0
|
||||
secrets: inherit
|
||||
|
|
|
@ -24,4 +24,4 @@ on:
|
|||
|
||||
jobs:
|
||||
check:
|
||||
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v6.1.0
|
||||
|
|
|
@ -19,4 +19,4 @@ on:
|
|||
|
||||
jobs:
|
||||
triage:
|
||||
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v5.0.6
|
||||
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v6.1.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче