Nexus2 and Gerrit project builder 57/4057/5
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 13 Feb 2017 14:17:03 +0000 (06:17 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 6 Mar 2017 18:57:17 +0000 (10:57 -0800)
commit5d43b80dfc217190cb3dc62c01f0ccbaefcef778
treea0089dc4e001cec5a708f9de28b9477fc181a9c2
parentd9d19cc0fd32d8701d9b3d32ad81385cde652b8d
Nexus2 and Gerrit project builder

Initial checkin of project build system for Nexus 2 and Gerrit

The script currently does the following:

* takes 2 yaml files (see examples) for configuration
  - settings.yaml == administrative / global settings
  - config.yaml == repository structure to build including nexus
    passwords
* Walks config.yaml for all repositories and creates targets,
  privileges, roles and users based upon our standard configuration

Presently does not create the Gerrit repositories

* Staging repo re-ordering hack script

NOTE: This does not work against Nexus 3 as the REST API has been
removed in Nexus 3. Presently scripting Nexus 3 requires groovy

Change-Id: Ia06444a85e167a1e5685f9e569322c9b0e0b8c97
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
project_builder/.gitignore [new file with mode: 0644]
project_builder/config.example.yaml [new file with mode: 0644]
project_builder/nexus/__init__.py [new file with mode: 0644]
project_builder/reorder_staging_repo.py [new file with mode: 0755]
project_builder/repo_build.py [new file with mode: 0755]
project_builder/requirements.txt [new file with mode: 0644]
project_builder/settings.example.yaml [new file with mode: 0644]