Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c689fb6
Initial db migrator
brianveltman Apr 23, 2024
43021db
Include java version in download url
brianveltman Apr 25, 2024
dd876c9
Initial data structure for easier repo management
brianveltman May 2, 2024
4b8e34a
Split up team list and default list into seperate yml files.
RWWesselink May 7, 2024
abbe96e
Added team hosted repo list filtering
RWWesselink May 8, 2024
cbad770
TODO: testing hosted.yml.j2
RWWesselink May 8, 2024
0e9b112
hosted file jinja2 completed
RWWesselink May 14, 2024
747854a
hosted_repos most used types checked.
RWWesselink May 21, 2024
bb8187e
hosted fixed
RWWesselink May 22, 2024
891e815
Create a Role named nexus3-repository-templates
RWWesselink May 28, 2024
95383ef
Docker proxy fixed.
RWWesselink May 29, 2024
b037c40
Tested other proxy repos.
RWWesselink Jun 6, 2024
64b1511
init extra requirements.
Jun 7, 2024
63700c2
Fixed creation of mulitple repos types for different teams.
RWWesselink Jun 10, 2024
9b24bb6
Added shared repo functionality to roles.
RWWesselink Jun 10, 2024
82947b6
split-up nexus features in seperate files.
RWWesselink Jun 10, 2024
e9bbcc4
Added routingrule functionality to Nexus.
RWWesselink Jun 11, 2024
587f1e6
Merge branch 'newline' into data-structure-ruben
brianveltman Jun 13, 2024
091762b
Use nexus API for creating routing rules
brianveltman Jun 13, 2024
0f57cce
Use routing rule matchers
brianveltman Jun 13, 2024
b2a0831
Bug fix: dont run postgres tasks when not using pro
brianveltman Jun 13, 2024
79422e2
Cleanup test data
brianveltman Jun 13, 2024
2b6fa25
Creating routing rules with api
RWWesselink Jun 14, 2024
1ce42b2
cleanup and added more testdata
RWWesselink Jun 14, 2024
374e7fd
Merge branch 'newline' into data-structure-ruben
brianveltman Nov 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,15 @@ nexus_config_go: false
nexus_config_cocoapods: false
nexus_config_conan: false

# routing_rules.yml
nexus_routing_rules_config:
nexus:
deleteUnknownItems:
routingRules: true
# customLocalUsers: false
nexus_routing_rules:
routingRules: []

nexus_content_selectors: []
# example selector item :
# - name: docker-login
Expand Down Expand Up @@ -441,11 +450,7 @@ nexus_repos_pypi_hosted:
version_policy: release
write_policy: allow # one of "allow", "allow_once" or "deny"

nexus_repos_pypi_group:
- name: pypi-all
member_repos:
- pypi-internal
- pypi
nexus_repos_pypi_group: []

nexus_repos_pypi_proxy:
- name: pypi
Expand Down Expand Up @@ -481,11 +486,7 @@ nexus_repos_raw_hosted:
version_policy: release
write_policy: allow_once # one of "allow", "allow_once" or "deny"

nexus_repos_raw_group:
- name: raw-all
member_repos:
- raw-internal
- ubuntu-archive
nexus_repos_raw_group: []

# Docker support
_nexus_repos_docker_defaults:
Expand Down Expand Up @@ -522,7 +523,7 @@ nexus_repos_docker_proxy:
# maximum_component_age: 1440
# maximum_metadata_age: 1440
# negative_cache_enabled: true
# negative_cache_ttl: 1440
# negative_cache_ttl: 1440x

nexus_repos_docker_group:
- name: docker-group
Expand Down Expand Up @@ -636,12 +637,7 @@ nexus_repos_nuget_hosted:
- name: nuget-internal
blob_store: "{{ nexus_blob_names.nuget.blob }}"

nexus_repos_nuget_group:
- name: nuget-all
blob_store: "{{ nexus_blob_names.nuget.blob }}"
member_repos:
- nuget-internal
- nuget-proxy
nexus_repos_nuget_group: []

nexus_repos_nuget_proxy:
- name: nuget-proxy
Expand Down
7 changes: 6 additions & 1 deletion molecule/default-converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
- name: Converge
hosts: nexus
roles:
- role: nexus3-oss
- role: nexus3-repository-templates
- role: nexus3-pro
vars_files:
- ssl-{{ ansible_os_family }}.yml
- nexus_common_test_vars.yml
- nexus_ldap_test_vars.yml
- .nexus-downloads/hosted-result.yml
- .nexus-downloads/proxies-result.yml
- .nexus-downloads/roles-result.yml
- .nexus-downloads/routing-rules-result.yml

environment:
http_proxy: "{{ lookup('env', 'http_proxy') }}"
Expand Down
Loading