Skip to content

Commit ddd999f

Browse files
committed
Set LD_LIBRARY_PATH for utils build and deploy pipeline
1 parent 6b2da39 commit ddd999f

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

ansible/collections/ansible_collections/nhsd/apigee/roles/validate_manifest/tasks/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@
1818
set_fact:
1919
manifest: "{{ lookup('file', manifest_file ) | from_yaml }}"
2020

21-
22-
# - name: Load vars.yml for {{ DIST_DIR }}
23-
# include_vars:
24-
# file: "{{ DIST_DIR }}/vars.yml"
25-
# when: DIST_DIR is not defined
26-
2721
- name: validate manifest
2822
nhsd.apigee.validate_manifest:
2923
manifest: "{{ manifest }}"

azure/common/apigee-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@ jobs:
143143
parameters:
144144
service_name: "${{ parameters.service_name }}"
145145

146+
- bash: |
147+
echo "Setting python tool cache path"
148+
echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]:/agent/_work/_tool/Python/${{ parameters.python_version }}/x64/lib/"
149+
displayName: 'Set python tool cache path'
150+
146151
- task: UsePythonVersion@0
147152
displayName: "Use Python ${{ parameters.python_version }}"
148153
inputs:

azure/common/deploy-stage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ stages:
124124
profile: "apm_${{ parameters.aws_account }}"
125125
aws_account: "${{ parameters.aws_account }}"
126126

127+
- bash: |
128+
echo "Setting python tool cache path"
129+
echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]:/agent/_work/_tool/Python/${{ parameters.python_version }}/x64/lib/"
130+
displayName: 'Set python tool cache path'
131+
127132
- task: UsePythonVersion@0
128133
displayName: "Use Python ${{ parameters.python_version }}"
129134
inputs:

0 commit comments

Comments
 (0)