File tree Expand file tree Collapse file tree 5 files changed +13
-2
lines changed
Expand file tree Collapse file tree 5 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ parameters:
148148 default : ' DEPRECATED'
149149 - name : spec_file
150150 default : ' DEPRECATED'
151+ - name : python_version
152+ type : string
153+ default : " 3.8"
151154
152155
153156extends :
Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ parameters:
7070 - config_ids
7171 - depends_on
7272 - jinja_templates
73+ - name : python_version
74+ type : string
7375
7476stages :
7577 - stage : ${{ parameters.stage_name }}
@@ -121,9 +123,9 @@ stages:
121123 aws_account : " ${{ parameters.aws_account }}"
122124
123125 - task : UsePythonVersion@0
124- displayName : ' Use Python 3.8 '
126+ displayName : " Use Python ${{ parameters.python_version }} "
125127 inputs :
126- versionSpec : 3.8
128+ versionSpec : ${{ parameters.python_version }}
127129
128130 - template : " ../components/set-facts.yml"
129131 parameters :
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ parameters:
1414 type : string
1515 - name : prod_producer_approval
1616 type : boolean
17+ - name : python_version
18+ type : string
1719
1820
1921
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ parameters:
5555 default : ' /_status'
5656 - name : manual_approval_env
5757 type : string
58+ - name : python_version
59+ type : string
5860
5961stages :
6062 - ${{ if eq(parameters.environment, 'manual-approval') }} :
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ parameters:
6060 - name : producer_approval
6161 type : boolean
6262 default : false
63+ - name : python_version
64+ type : string
6365
6466stages :
6567 - ${{ if eq(parameters.environment, 'manual-approval') }} :
You can’t perform that action at this time.
0 commit comments