File tree Expand file tree Collapse file tree 4 files changed +38
-2
lines changed
ansible/roles/remove-old-ecs-pr-deploys/tasks Expand file tree Collapse file tree 4 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 3434 terraform_lock_timeout_mins : 0
3535
3636- name : maybe remove deployment
37- include : remove-ecs-deployment.yml
37+ include_tasks : remove-ecs-deployment.yml
3838 with_list : " {{ ns_service_tuples }}"
3939 loop_control :
4040 loop_var : ns_service_tuple
Original file line number Diff line number Diff line change 6060 debug : true
6161 displayName : cache utils pre-requisites
6262
63+ - bash : |
64+ PATCH=$(curl -s https://api.github.com/repos/actions/python-versions/releases \
65+ | jq -r '[.[] | .tag_name | select(startswith("3.13"))] | .[]' \
66+ | sort -V | tail -n 1 | cut -d- -f1)
67+ echo "Resolved latest python version: $PATCH"
68+ echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]/agent/_work/_tool/Python/${PATCH}/x64/lib/"
69+ displayName: 'Query and set python tool cache path'
70+
71+ - task : UsePythonVersion@0
72+ name : UsePy
73+ displayName : " Use Python 3.13"
74+ inputs :
75+ versionSpec : 3.13
76+
77+ - bash : |
78+ echo "Checking the python version in use to set LD_LIBRARY_PATH"
79+ echo "Python location: $(UsePy.pythonLocation)"
80+ echo "##vso[task.setvariable variable=LD_LIBRARY_PATH]$(UsePy.pythonLocation)/lib"
81+ displayName: 'Set LD_LIBRARY_PATH'
82+
6383 - bash : |
6484 make install
6585 displayName: install dependencies
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ boto3 = "^1.34.0"
2929ansible-core = " ^2.19.4"
3030urllib3 = " ^2.5.0"
3131cryptography = " 44.0.1"
32+ click =" ^8.1.2"
3233
3334[poetry .group .dev .dependencies ]
3435ansible-lint = " ^6.0"
You can’t perform that action at this time.
0 commit comments