Skip to content

Commit

Permalink
Update lftools repo creation for global_envs
Browse files Browse the repository at this point in the history
"Note" text is also changed. Original text was ambiguously worded,
and should not be necessary.

Issue: RELENG-291
Change-Id: Ibe75322ccb6794d3df9d606cf356a98af2df8059
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
  • Loading branch information
MightyNerdEric committed Mar 7, 2019
1 parent c378790 commit 66394b0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/infra/nexus.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,36 +244,37 @@ The ``lftools nexus create repo`` command needs two files as parameters:
# Using ONAP as example
base_groupId: 'org.onap'
email_domain: 'onap.org'
global_privs:
- 'LF Deployment Role'
repositories:
appc:
password: 'NjPAd1ZZ5RbDalZy4ROHaApb4Bk3buTU'
extra_privs:
- 'LF Deployment Role'
- 'Staging: Deployer (autorelease)'
repositories:
cdt:
password: 'NjPAd1ZZ5RbDalZy4ROHaApb4Bk3buTU'
extra_privs:
- 'LF Deployment Role'
- 'Staging: Deployer (autorelease)'
aaf:
password: 'NjPAd1ZZ5RbDalZy4ROHaApb4Bk3buTU'
extra_privs:
- 'LF Deployment Role'
- 'Staging: Deployer (autorelease)'
repositories:
sms:
password: 'NjPAd1ZZ5RbDalZy4ROHaApb4Bk3buTU'
extra_privs:
- 'LF Deployment Role'
- 'Staging: Deployer (autorelease)'
appc is the parent for cdt and aaf is the parent of sms.
The projects created will be: appc, appc-cdt, aaf and aaf-sms.

.. note::

``extra_privs`` could have a different name between LF projects.
'Staging: Deployer (autorelease)' in the above example is in the
``extra_privs`` section as an example. If it applies to all repos, it can be
part of the ``global_privs`` section.

* `-s, --settings` Configuration file with all the admin settings

Expand All @@ -286,8 +287,6 @@ The projects created will be: appc, appc-cdt, aaf and aaf-sms.
user: 'admin'
password: 'admin123'
email_domain: 'onap.org'
After running `lftools nexus create repo -c <the_repo_config> -s <your_settings_config>`,
the script will create all repos, users, roles and privileges. Also, the `Repository Targets`
gets set with the patterns to set restrictions for projects and the location where they
Expand Down

0 comments on commit 66394b0

Please sign in to comment.