Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into ubuntu-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy committed Apr 25, 2024
2 parents 8af63a8 + b480a95 commit cf73abf
Show file tree
Hide file tree
Showing 26 changed files with 956 additions and 251 deletions.
30 changes: 5 additions & 25 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,11 @@ version: 2
# update_schedule: live is not supported by docker

- package-ecosystem: "docker"
directory: "/release/7-3/alpine314/docker"
directory: "/release/*"
schedule:
interval: "weekly"

- package-ecosystem: "docker"
directory: "/release/7-3/centos8/dependabot"
schedule:
interval: "weekly"

- package-ecosystem: "docker"
directory: "/release/7-3/debian11/dependabot"
schedule:
interval: "weekly"

- package-ecosystem: "docker"
directory: "/release/7-3/nanoserver20H2/dependabot"
schedule:
interval: "weekly"

- package-ecosystem: "docker"
directory: "/release/7-3/ubuntu20.04/docker"
schedule:
interval: "weekly"

- package-ecosystem: "docker"
directory: "/release/community-stable/oraclelinux/docker"
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/createReminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:

steps:
- name: check for reminder
uses: agrc/create-reminder-action@v1
uses: agrc/create-reminder-action@922893a5705067719c4c4751843962f56aabf5eb # v1.1.13
22 changes: 22 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request,
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
# Once installed, if the workflow run is marked as required,
# PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: 'Dependency Review'
uses: actions/dependency-review-action@0efb1d1d84fc9633afcdaad14c485cbbc90ef46c # v2.5.1
2 changes: 1 addition & 1 deletion .github/workflows/processReminders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:

steps:
- name: check reminders and notify
uses: agrc/reminder-action@v1
uses: agrc/reminder-action@e59091b4e9705a6108120cb50823108df35b5392 # v1.0.12
10 changes: 5 additions & 5 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
contents: write # for peter-evans/create-pull-request to create branch
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0

- name: Auto-update formula
run: |
&$env:UPDATE_SCRIPT_PATH -FormulaPath $env:FORMULA_PATH -Channel $env:CHANNEL_NAME
- name: Create Pull Request
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
id: cpr
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
with:
token: "${{ secrets.PR_PAT }}"
commit-message: "Update the release build yaml with the latest versions"
Expand All @@ -54,10 +54,10 @@ jobs:
contents: write # for peter-evans/create-pull-request to create branch
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
with:
node-version: 18.x

Expand All @@ -68,7 +68,7 @@ jobs:
- name: Create Pull Request
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
id: cpr
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
with:
token: "${{ secrets.PR_PAT }}"
commit-message: "Update the matrix json"
Expand Down
204 changes: 204 additions & 0 deletions .vsts-ci/ltsReleaseStage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
parameters:
- name: channel
default: 'preview'
- name: channelPath
default: ''
- name: vmImage
default: PSMMSUbuntu20.04-Secure
stages:
- stage: StageGenerateBuild_lts
dependsOn: ['StageResolveVersionandYaml']
displayName: Build lts
jobs:
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: alpine316
artifactSuffix: alpine316
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: alpine317
artifactSuffix: alpine317
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: debian11
artifactSuffix: debian11
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: mariner2
artifactSuffix: mariner2
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: ubi8
artifactSuffix: ubi8
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: ubuntu20.04
artifactSuffix: ubuntu2004
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: ubuntu22.04
artifactSuffix: ubuntu2204
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_arm32'
imageName: ubuntu20.04-arm32v7
artifactSuffix: ubuntu2004_arm32v7
poolOS: 'linux'
poolHostArchitecture: 'arm64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_arm32'
imageName: ubuntu22.04-arm32v7
artifactSuffix: ubuntu2204_arm32v7
poolOS: 'linux'
poolHostArchitecture: 'arm64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_windows_amd64'
imageName: nanoserver1809
artifactSuffix: nanoserver1809
poolOS: 'windows'
maxParallel: 3
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_windows_amd64'
imageName: nanoserver2022
artifactSuffix: nanoserver2022
poolOS: 'windows'
poolHostVersion: '1ESWindows2022'
windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
maxParallel: 3
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_windows_amd64'
imageName: windowsserver2022
artifactSuffix: windowsserver2022
poolOS: 'windows'
poolHostVersion: '1ESWindows2022'
windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
maxParallel: 3
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_windows_amd64'
imageName: windowsservercore2022
artifactSuffix: windowsservercore2022
poolOS: 'windows'
poolHostVersion: '1ESWindows2022'
windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
maxParallel: 3
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: alpine316\test-deps
artifactSuffix: alpine316_test_deps
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: alpine317\test-deps
artifactSuffix: alpine317_test_deps
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: debian11\test-deps
artifactSuffix: debian11_test_deps
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: ubi8\test-deps
artifactSuffix: ubi8_test_deps
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: ubuntu20.04\test-deps
artifactSuffix: ubuntu2004_test_deps
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
- template: /.vsts-ci/releasePhase.yml@self
parameters:
archName: 'Build_linux_amd64'
imageName: ubuntu22.04\test-deps
artifactSuffix: ubuntu2204_test_deps
poolOS: 'linux'
poolHostArchitecture: 'amd64'
buildKitValue: 1
channel: ${{ parameters.channel }}
channelPath: ${{ parameters.channelPath }}
Loading

0 comments on commit cf73abf

Please sign in to comment.