Skip to content

Commit 269adcd

Browse files
authored
Add 1ES public pipeline (#20)
- Remove IsPreRelease param from offical
1 parent 7606e33 commit 269adcd

File tree

2 files changed

+43
-7
lines changed

2 files changed

+43
-7
lines changed

eng/ci/official.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
parameters:
2-
- name: IsPrerelease
3-
type: boolean
4-
default: true
5-
61
trigger:
72
batch: true
83
branches:
@@ -52,5 +47,3 @@ extends:
5247
dependsOn: [WindowsUnitTests, LinuxUnitTests]
5348
jobs:
5449
- template: /eng/ci/templates/build.yml@self
55-
parameters:
56-
IsPrerelease: ${{ parameters.IsPrerelease }}

eng/ci/public.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- main
6+
7+
resources:
8+
repositories:
9+
- repository: 1es
10+
type: git
11+
name: 1ESPipelineTemplates/1ESPipelineTemplates
12+
ref: refs/tags/release
13+
14+
# This variable will be needed when we automate uploading to PowerShell Gallery
15+
# We will have to modify build.ps1 to take this as input and append to end of module version
16+
# variables:
17+
# Configuration: Release
18+
# buildNumber: $[ counter('build', 1) ] # Start higher than our AppVeyor versions. Every build (pr or branch) will increment.
19+
20+
extends:
21+
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
22+
parameters:
23+
pool:
24+
name: 1es-pool-azfunc-public
25+
image: 1es-windows-2022
26+
os: windows
27+
28+
stages:
29+
- stage: WindowsUnitTests
30+
dependsOn: []
31+
jobs:
32+
- template: /eng/ci/templates/test.yml@self
33+
pool:
34+
name: 1es-pool-azfunc-public
35+
36+
- stage: LinuxUnitTests
37+
dependsOn: []
38+
jobs:
39+
- template: /eng/ci/templates/test.yml@self
40+
pool:
41+
name: 1es-pool-azfunc-public
42+
image: 1es-ubuntu-22.04
43+
os: linux

0 commit comments

Comments
 (0)