Skip to content

Commit 692de84

Browse files
author
Sheyla Trudo
committed
fixup! Template
1 parent 8455a77 commit 692de84

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.pipelines/trigger.yaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ trigger: none
2121
# include:
2222
# - "*"
2323

24-
2524
resources:
2625
repositories:
26+
- repository: templates
27+
type: git
28+
name: 1ESPipelineTemplates
29+
ref: stable
30+
2731
- repository: azure-container-networking
2832
type: github
2933
name: Azure/azure-container-networking
@@ -37,16 +41,11 @@ variables:
3741
REPO_NAME: $[ resources.repositories['azure-container-networking'].name ]
3842
REPO_TYPE: $[ resources.repositories['azure-container-networking'].type ]
3943
CHANGESET_COMMIT: $[ resources.repositories['self'].version ]
40-
41-
42-
pool:
43-
vmImage: ubuntu-latest
44-
4544

4645
extends:
47-
template: /.pipelines/template.trigger.jobs.yaml@azure-container-networking
48-
parameters:
49-
mainRepoRef: $(REPO_REF)
50-
mainRepoCommit: $(REPO_COMMIT)
51-
mainRepoName: $(REPO_NAME)
52-
mainRepoType: $(REPO_TYPE)
46+
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
47+
parameters:
48+
pool:
49+
name: "$(BUILD_POOL_NAME_DEFAULT)"
50+
stages:
51+
- template: /.pipelines/pipeline.yaml@azure-container-networking

0 commit comments

Comments
 (0)