Skip to content

Commit 2d7f5a8

Browse files
APM-5855 make pool configurable for deployment pipelines
1 parent 834ada1 commit 2d7f5a8

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

azure/common/apigee-deployment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ parameters:
151151
- name: python_version
152152
type: string
153153
default: "3.8"
154+
- name: agent_pool
155+
type: string
156+
default: "AWS-ECS"
154157

155158

156159
extends:

azure/common/deploy-stage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ parameters:
7272
- jinja_templates
7373
- name: python_version
7474
type: string
75+
- name: agent_pool
76+
type: string
7577

7678
stages:
7779
- stage: ${{ parameters.stage_name }}
@@ -80,7 +82,7 @@ stages:
8082
- deployment: deploy
8183
environment: ${{ parameters.environment }}
8284
pool:
83-
name: 'AWS-ECS'
85+
name: ${{ parameters.agent_pool }}
8486
workspace:
8587
clean: all
8688
strategy:

azure/common/deploy-stages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ parameters:
1616
type: boolean
1717
- name: python_version
1818
type: string
19-
19+
- name: agent_pool
20+
type: string
2021

2122

2223
stages:

azure/common/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ parameters:
5757
type: string
5858
- name: python_version
5959
type: string
60+
- name: agent_pool
61+
type: string
6062

6163
stages:
6264
- ${{ if eq(parameters.environment, 'manual-approval') }}:

azure/common/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ parameters:
6262
default: false
6363
- name: python_version
6464
type: string
65+
- name: agent_pool
66+
type: string
6567

6668
stages:
6769
- ${{ if eq(parameters.environment, 'manual-approval') }}:

0 commit comments

Comments
 (0)