Skip to content

Commit 47533ca

Browse files
committedApr 25, 2024
Merge remote-tracking branch 'upstream/master' into ubuntu-arm64
2 parents 8af63a8 + b480a95 commit 47533ca

26 files changed

+956
-251
lines changed
 

‎.github/dependabot.yml

+5-25
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,11 @@ version: 2
33
# update_schedule: live is not supported by docker
44

55
- package-ecosystem: "docker"
6-
directory: "/release/7-3/alpine314/docker"
6+
directory: "/release/*"
77
schedule:
8-
interval: "weekly"
9-
10-
- package-ecosystem: "docker"
11-
directory: "/release/7-3/centos8/dependabot"
12-
schedule:
13-
interval: "weekly"
14-
15-
- package-ecosystem: "docker"
16-
directory: "/release/7-3/debian11/dependabot"
17-
schedule:
18-
interval: "weekly"
19-
20-
- package-ecosystem: "docker"
21-
directory: "/release/7-3/nanoserver20H2/dependabot"
22-
schedule:
23-
interval: "weekly"
24-
25-
- package-ecosystem: "docker"
26-
directory: "/release/7-3/ubuntu20.04/docker"
27-
schedule:
28-
interval: "weekly"
29-
30-
- package-ecosystem: "docker"
31-
directory: "/release/community-stable/oraclelinux/docker"
8+
interval: "daily"
9+
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
3212
schedule:
3313
interval: "weekly"

‎.github/workflows/createReminder.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313

1414
steps:
1515
- name: check for reminder
16-
uses: agrc/create-reminder-action@v1
16+
uses: agrc/create-reminder-action@922893a5705067719c4c4751843962f56aabf5eb # v1.1.13
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Dependency Review Action
2+
#
3+
# This Action will scan dependency manifest files that change as part of a Pull Request,
4+
# surfacing known-vulnerable versions of the packages declared or updated in the PR.
5+
# Once installed, if the workflow run is marked as required,
6+
# PRs introducing known-vulnerable packages will be blocked from merging.
7+
#
8+
# Source repository: https://github.com/actions/dependency-review-action
9+
name: 'Dependency Review'
10+
on: [pull_request]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
dependency-review:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: 'Checkout Repository'
20+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
21+
- name: 'Dependency Review'
22+
uses: actions/dependency-review-action@0efb1d1d84fc9633afcdaad14c485cbbc90ef46c # v2.5.1

‎.github/workflows/processReminders.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414

1515
steps:
1616
- name: check reminders and notify
17-
uses: agrc/reminder-action@v1
17+
uses: agrc/reminder-action@e59091b4e9705a6108120cb50823108df35b5392 # v1.0.12

‎.github/workflows/update.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
contents: write # for peter-evans/create-pull-request to create branch
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
3030

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

5959
- name: Setup Node.js
60-
uses: actions/setup-node@v3
60+
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
6161
with:
6262
node-version: 18.x
6363

@@ -68,7 +68,7 @@ jobs:
6868
- name: Create Pull Request
6969
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
7070
id: cpr
71-
uses: peter-evans/create-pull-request@v4
71+
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
7272
with:
7373
token: "${{ secrets.PR_PAT }}"
7474
commit-message: "Update the matrix json"

‎.vsts-ci/ltsReleaseStage.yml

+204
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
parameters:
2+
- name: channel
3+
default: 'preview'
4+
- name: channelPath
5+
default: ''
6+
- name: vmImage
7+
default: PSMMSUbuntu20.04-Secure
8+
stages:
9+
- stage: StageGenerateBuild_lts
10+
dependsOn: ['StageResolveVersionandYaml']
11+
displayName: Build lts
12+
jobs:
13+
- template: /.vsts-ci/releasePhase.yml@self
14+
parameters:
15+
archName: 'Build_linux_amd64'
16+
imageName: alpine316
17+
artifactSuffix: alpine316
18+
poolOS: 'linux'
19+
poolHostArchitecture: 'amd64'
20+
buildKitValue: 1
21+
channel: ${{ parameters.channel }}
22+
channelPath: ${{ parameters.channelPath }}
23+
- template: /.vsts-ci/releasePhase.yml@self
24+
parameters:
25+
archName: 'Build_linux_amd64'
26+
imageName: alpine317
27+
artifactSuffix: alpine317
28+
poolOS: 'linux'
29+
poolHostArchitecture: 'amd64'
30+
buildKitValue: 1
31+
channel: ${{ parameters.channel }}
32+
channelPath: ${{ parameters.channelPath }}
33+
- template: /.vsts-ci/releasePhase.yml@self
34+
parameters:
35+
archName: 'Build_linux_amd64'
36+
imageName: debian11
37+
artifactSuffix: debian11
38+
poolOS: 'linux'
39+
poolHostArchitecture: 'amd64'
40+
buildKitValue: 1
41+
channel: ${{ parameters.channel }}
42+
channelPath: ${{ parameters.channelPath }}
43+
- template: /.vsts-ci/releasePhase.yml@self
44+
parameters:
45+
archName: 'Build_linux_amd64'
46+
imageName: mariner2
47+
artifactSuffix: mariner2
48+
poolOS: 'linux'
49+
poolHostArchitecture: 'amd64'
50+
buildKitValue: 1
51+
channel: ${{ parameters.channel }}
52+
channelPath: ${{ parameters.channelPath }}
53+
- template: /.vsts-ci/releasePhase.yml@self
54+
parameters:
55+
archName: 'Build_linux_amd64'
56+
imageName: ubi8
57+
artifactSuffix: ubi8
58+
poolOS: 'linux'
59+
poolHostArchitecture: 'amd64'
60+
buildKitValue: 1
61+
channel: ${{ parameters.channel }}
62+
channelPath: ${{ parameters.channelPath }}
63+
- template: /.vsts-ci/releasePhase.yml@self
64+
parameters:
65+
archName: 'Build_linux_amd64'
66+
imageName: ubuntu20.04
67+
artifactSuffix: ubuntu2004
68+
poolOS: 'linux'
69+
poolHostArchitecture: 'amd64'
70+
buildKitValue: 1
71+
channel: ${{ parameters.channel }}
72+
channelPath: ${{ parameters.channelPath }}
73+
- template: /.vsts-ci/releasePhase.yml@self
74+
parameters:
75+
archName: 'Build_linux_amd64'
76+
imageName: ubuntu22.04
77+
artifactSuffix: ubuntu2204
78+
poolOS: 'linux'
79+
poolHostArchitecture: 'amd64'
80+
buildKitValue: 1
81+
channel: ${{ parameters.channel }}
82+
channelPath: ${{ parameters.channelPath }}
83+
- template: /.vsts-ci/releasePhase.yml@self
84+
parameters:
85+
archName: 'Build_linux_arm32'
86+
imageName: ubuntu20.04-arm32v7
87+
artifactSuffix: ubuntu2004_arm32v7
88+
poolOS: 'linux'
89+
poolHostArchitecture: 'arm64'
90+
buildKitValue: 1
91+
channel: ${{ parameters.channel }}
92+
channelPath: ${{ parameters.channelPath }}
93+
- template: /.vsts-ci/releasePhase.yml@self
94+
parameters:
95+
archName: 'Build_linux_arm32'
96+
imageName: ubuntu22.04-arm32v7
97+
artifactSuffix: ubuntu2204_arm32v7
98+
poolOS: 'linux'
99+
poolHostArchitecture: 'arm64'
100+
buildKitValue: 1
101+
channel: ${{ parameters.channel }}
102+
channelPath: ${{ parameters.channelPath }}
103+
- template: /.vsts-ci/releasePhase.yml@self
104+
parameters:
105+
archName: 'Build_windows_amd64'
106+
imageName: nanoserver1809
107+
artifactSuffix: nanoserver1809
108+
poolOS: 'windows'
109+
maxParallel: 3
110+
channel: ${{ parameters.channel }}
111+
channelPath: ${{ parameters.channelPath }}
112+
- template: /.vsts-ci/releasePhase.yml@self
113+
parameters:
114+
archName: 'Build_windows_amd64'
115+
imageName: nanoserver2022
116+
artifactSuffix: nanoserver2022
117+
poolOS: 'windows'
118+
poolHostVersion: '1ESWindows2022'
119+
windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
120+
maxParallel: 3
121+
channel: ${{ parameters.channel }}
122+
channelPath: ${{ parameters.channelPath }}
123+
- template: /.vsts-ci/releasePhase.yml@self
124+
parameters:
125+
archName: 'Build_windows_amd64'
126+
imageName: windowsserver2022
127+
artifactSuffix: windowsserver2022
128+
poolOS: 'windows'
129+
poolHostVersion: '1ESWindows2022'
130+
windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
131+
maxParallel: 3
132+
channel: ${{ parameters.channel }}
133+
channelPath: ${{ parameters.channelPath }}
134+
- template: /.vsts-ci/releasePhase.yml@self
135+
parameters:
136+
archName: 'Build_windows_amd64'
137+
imageName: windowsservercore2022
138+
artifactSuffix: windowsservercore2022
139+
poolOS: 'windows'
140+
poolHostVersion: '1ESWindows2022'
141+
windowsContainerImageValue: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'
142+
maxParallel: 3
143+
channel: ${{ parameters.channel }}
144+
channelPath: ${{ parameters.channelPath }}
145+
- template: /.vsts-ci/releasePhase.yml@self
146+
parameters:
147+
archName: 'Build_linux_amd64'
148+
imageName: alpine316\test-deps
149+
artifactSuffix: alpine316_test_deps
150+
poolOS: 'linux'
151+
poolHostArchitecture: 'amd64'
152+
buildKitValue: 1
153+
channel: ${{ parameters.channel }}
154+
channelPath: ${{ parameters.channelPath }}
155+
- template: /.vsts-ci/releasePhase.yml@self
156+
parameters:
157+
archName: 'Build_linux_amd64'
158+
imageName: alpine317\test-deps
159+
artifactSuffix: alpine317_test_deps
160+
poolOS: 'linux'
161+
poolHostArchitecture: 'amd64'
162+
buildKitValue: 1
163+
channel: ${{ parameters.channel }}
164+
channelPath: ${{ parameters.channelPath }}
165+
- template: /.vsts-ci/releasePhase.yml@self
166+
parameters:
167+
archName: 'Build_linux_amd64'
168+
imageName: debian11\test-deps
169+
artifactSuffix: debian11_test_deps
170+
poolOS: 'linux'
171+
poolHostArchitecture: 'amd64'
172+
buildKitValue: 1
173+
channel: ${{ parameters.channel }}
174+
channelPath: ${{ parameters.channelPath }}
175+
- template: /.vsts-ci/releasePhase.yml@self
176+
parameters:
177+
archName: 'Build_linux_amd64'
178+
imageName: ubi8\test-deps
179+
artifactSuffix: ubi8_test_deps
180+
poolOS: 'linux'
181+
poolHostArchitecture: 'amd64'
182+
buildKitValue: 1
183+
channel: ${{ parameters.channel }}
184+
channelPath: ${{ parameters.channelPath }}
185+
- template: /.vsts-ci/releasePhase.yml@self
186+
parameters:
187+
archName: 'Build_linux_amd64'
188+
imageName: ubuntu20.04\test-deps
189+
artifactSuffix: ubuntu2004_test_deps
190+
poolOS: 'linux'
191+
poolHostArchitecture: 'amd64'
192+
buildKitValue: 1
193+
channel: ${{ parameters.channel }}
194+
channelPath: ${{ parameters.channelPath }}
195+
- template: /.vsts-ci/releasePhase.yml@self
196+
parameters:
197+
archName: 'Build_linux_amd64'
198+
imageName: ubuntu22.04\test-deps
199+
artifactSuffix: ubuntu2204_test_deps
200+
poolOS: 'linux'
201+
poolHostArchitecture: 'amd64'
202+
buildKitValue: 1
203+
channel: ${{ parameters.channel }}
204+
channelPath: ${{ parameters.channelPath }}

0 commit comments

Comments
 (0)
Please sign in to comment.