Skip to content

Commit

Permalink
HotFix for #356 : default nuget version
Browse files Browse the repository at this point in the history
Nuget repo creation failed when this param was unset
  • Loading branch information
zeitounator committed Oct 24, 2022
1 parent f7bea7d commit d9aaf4a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ _nexus_repos_nuget_defaults:
maximum_metadata_age: 1440 # Nexus gui default. For proxies only
negative_cache_enabled: true # Nexus gui default. For proxies only
negative_cache_ttl: 1440 # Nexus gui default. For proxies only
nuget_version: v3 # Nexus gui default. For proxies only. One of v2 or v3

nexus_repos_nuget_hosted:
- name: nuget-internal
Expand Down
18 changes: 16 additions & 2 deletions molecule/nexus_common_test_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,24 @@ nexus_repos_go_proxy:
- name: go-proxy
remote_url: 'https://golang.org/pkg/'

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_proxy:
- name: test-nuget-proxy
- name: nuget-proxy-with-version
blob_store: "{{ nexus_blob_names.nuget.blob }}"
remote_url: http://www.nuget.org/api/v2
nuget_version: v2
- name: nuget-proxy-default
remote_url: https://api.nuget.org/v3/index.json
nuget_version: v3

nexus_content_selectors:
# Docker by namespace. For mode details see:
Expand Down

0 comments on commit d9aaf4a

Please sign in to comment.