Closed l3ender closed 3 years ago
This PR adds basic support for proxying Ansible Galaxy repositories through NXRM.
It has been tested with:
ansible-galaxy
{nexus_home}/deploy
ansible-galaxy collection install azure.azcollection -s http://localhost:8081/repository/ansible/
After running the above collection install command:
172.17.0.1 - - [02/Jan/2021:00:49:47 +0000] "GET /repository/ansible/ HTTP/1.1" 404 - 1894 7 "ansible-galaxy/2.10.3 (Darwin; python:3.9.1)" [qtp292265577-50] 172.17.0.1 - - [02/Jan/2021:00:49:47 +0000] "GET /repository/ansible/api HTTP/1.1" 200 - 253 580 "ansible-galaxy/2.10.3 (Darwin; python:3.9.1)" [qtp292265577-169] 172.17.0.1 - - [02/Jan/2021:00:49:47 +0000] "GET /repository/ansible/api/v2/collections/azure/azcollection/versions/ HTTP/1.1" 200 - 1385 11 "ansible-galaxy/2.10.3 (Darwin; python:3.9.1)" [qtp292265577-181] 172.17.0.1 - - [02/Jan/2021:00:49:47 +0000] "GET /repository/ansible/api/v2/collections/azure/azcollection/versions/?page=2 HTTP/1.1" 200 - 510 11 "ansible-galaxy/2.10.3 (Darwin; python:3.9.1)" [qtp292265577-50] 172.17.0.1 - - [02/Jan/2021:00:49:47 +0000] "GET /repository/ansible/api/v2/collections/azure/azcollection/versions/1.3.1/ HTTP/1.1" 200 - 1088 7 "ansible-galaxy/2.10.3 (Darwin; python:3.9.1)" [qtp292265577-169] 172.17.0.1 - - [02/Jan/2021:00:49:47 +0000] "GET /repository/ansible/download/azure-azcollection-1.3.1.tar.gz HTTP/1.1" 200 - 543481 26 "ansible-galaxy/2.10.3 (Darwin; python:3.9.1)" [qtp292265577-181]
This basic implementation is a starting point. The following details limitations of this release:
cc @DarthHater @bhamail
This is rad!!!
Overview
This PR adds basic support for proxying Ansible Galaxy repositories through NXRM.
It has been tested with:
ansible-galaxy
client 2.10.3 with python version 3.9.1 on Mac OS.Usage
{nexus_home}/deploy
directory.ansible-galaxy
client:Verification
After running the above collection install command:
Limitations
This basic implementation is a starting point. The following details limitations of this release:
cc @DarthHater @bhamail