Skip to content

Commit 82146fe

Browse files
authored
Add public build yml file (#761)
* Add public build yml file * Update name of artifact drop * Add retries when running flaky tests
1 parent 586a1a1 commit 82146fe

File tree

5 files changed

+32
-1
lines changed

5 files changed

+32
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ jobs:
207207
Copy-Item "confluent_cloud_cacert.pem" "./target/azure-functions/azure-functions-java-endtoendtests"
208208
displayName: 'Package Java for E2E'
209209
- task: DotNetCoreCLI@2
210+
retryCountOnTaskFailure: 3
210211
inputs:
211212
command: 'test'
212213
projects: |

eng/ci/public-build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- dev
6+
7+
pr:
8+
branches:
9+
include:
10+
- dev
11+
12+
resources:
13+
repositories:
14+
- repository: 1es
15+
type: git
16+
name: 1ESPipelineTemplates/1ESPipelineTemplates
17+
ref: refs/tags/release
18+
19+
variables:
20+
- template: /eng/ci/templates/variables/build.yml@self
21+
22+
extends:
23+
template: v1/1ES.Unofficial.PipelineTemplate.yml@1es
24+
parameters:
25+
pool:
26+
name: 1es-pool-azfunc-public
27+
image: 1es-windows-2022
28+
os: windows

eng/ci/templates/official/jobs/build-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
outputs:
88
- output: pipelineArtifact
99
targetPath: $(Build.ArtifactStagingDirectory)
10-
artifactName: 'buildDrop'
10+
artifactName: 'drop'
1111
- output: nuget
1212
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'), eq(variables['UPLOADPACKAGETOPRERELEASEFEED'], true))
1313
useDotNetTask: false

eng/ci/templates/official/jobs/run-e2e-tests-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
Copy-Item "confluent_cloud_cacert.pem" "./target/azure-functions/azure-functions-java-endtoendtests"
8989
displayName: 'Package Java for E2E'
9090
- task: DotNetCoreCLI@2
91+
retryCountOnTaskFailure: 3
9192
inputs:
9293
command: 'test'
9394
projects: |

eng/ci/templates/official/jobs/run-e2e-tests-windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
Copy-Item "confluent_cloud_cacert.pem" "./target/azure-functions/azure-functions-java-endtoendtests"
7373
displayName: 'Package Java for E2E'
7474
- task: DotNetCoreCLI@2
75+
retryCountOnTaskFailure: 3
7576
inputs:
7677
command: 'test'
7778
projects: |

0 commit comments

Comments
 (0)