Skip to content

Commit

Permalink
Debug.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Mar 28, 2024
1 parent be4b183 commit e3665f0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
curl -L -k -u admin:password -o status.json 'https://{{ pulp_ip.stdout }}/api/galaxy/pulp/api/v3/status/';
curl -L -k -u admin:password -o api.json 'https://{{ pulp_ip.stdout }}/api/galaxy/pulp/api/v3/docs/api.json?bindings&plugin={{ item }}';
if [[ "{{ item }}" == "galaxy_ng" ]]; then
cat status.json | head
export REPORTED_VERSION=$(jq '.versions[] | select (.component == "galaxy").version' status.json | tr -d '"')
echo "REPORTED_VERSION: ${REPORTED_VERSION}"
export VERSION="$(echo "$REPORTED_VERSION" | python -c 'from packaging.version import Version; print(Version(input()))')"
echo "FINAL_VERSION: ${FINAL_VERSION}"
else
export VERSION=""
fi;
Expand All @@ -33,8 +36,7 @@
- pulpcore

- name: install the generated client inside the pulp container
#shell: cd /src/pulp-openapi-generator/{{ item }}-client/; pip3 install -e .
shell: cd /src/pulp-openapi-generator/{{ item }}-client/; pip3 install .
shell: cd /src/pulp-openapi-generator/{{ item }}-client/; pip3 install -e .
loop:
- galaxy_ng
- pulp_ansible
Expand Down

0 comments on commit e3665f0

Please sign in to comment.