Skip to content

Releases: ansible-ThoTeam/nexus3-oss

v2.2.1: Fix negative cache implementation

07 Sep 09:46
a9e9d01
Compare
Choose a tag to compare

In v2.2.0, we introduced negative cache handling for proxies (#100). This implementation was not respecting defacto coding standards for var names. This release fixes this issue.

If you have already customized negative cache for some of your proxies, you'll need to rename the variables:
negativeCacheEnabled => negative_cache_enabled
negativeCacheTTL => negative_cache_ttl

v2.2.0: use latest versions (nexus and tools) and wider platform testing

06 Sep 15:04
adcfcf7
Compare
Choose a tag to compare

edit: Please skip this version and use v2.2.1 which fixes var names for negative cache implementation (#100 => #107)


This one was painfull and long mainly due to a lack of time since spring. But finally, here it is. Thanks for your patience, I'll try to do better for the next ones, especially if I get any bug reports.

Thanks to @ThibaultLemaire, @vitkhab, @zahodi, @ror6ax for their contributions as well as @dannyk81 and @stuart-warren for code reviews and discussions.

Starting with this release:

  • The role will install / upgrade to latest nexus version by default. To take advantage of this feature, you need to remove any configured nexus_version variable. You can still stick to a specific version by leaving the var filled with the relevant value.
  • The tests are using the latest released ansible version and we will stick to it, fix any deprecation warning as we move on and use new feature if relevant. We will continue to update the min_ansible_version in meta/main.yml as we move on.
  • Test are ran on a wider range of platforms on travis. Moreover, the groovy syntax check is now ran on each pull requests. Since this was done with parallel builds on travis, the build time is still very acceptable (~10mn)

List of noteworthy changes in this release:

  • Feat: Support latest ansible version by default (#81)
  • Feat: Add molecule tests for more platforms (#78, #79, #80, #82, #83, #85)
  • Feat: Allow parallel builds on travis (#84)
  • Feat: Install latest nexus version by default (#76, #85)
  • Feat: Yum group support (#75, #92)
  • Feat: Content selectors support (#89, #96)
  • Feat: S3 Blobstores support (#87, #99)
  • Feat: Negative cache handling for proxy repositories (#100) - edit: this implementaion does not respect defacto coding standards for var names. Please use v2.2.1 which fixes this
  • Feat: Nexus JVM memory configuration (#97, #102)
  • Bug: some role events do not restart nexus (#98, #104)
  • Feat: Cache refresh configuration for proxy repositories (#101, #105)

Full list of addressed tickets and PRs: https://github.com/ansible-ThoTeam/nexus3-oss/projects/4

v2.1.3: Bugfix for latest nexus versions + some enhancements

31 May 09:24
289eb8f
Compare
Choose a tag to compare

This is the last release for 2.1.x. Starting with next release (2.2.0), we will:

  • support the latest ansible version by default. If you need compatibility with ansible <= 2.2 you will have to stick to this release
  • install the latest nexus version by default. (You will still be able to fix the nexus version with the nexus_version variable.)

Noteworthy changes in this release:

  • Bug: fixed version comparison preventing installation of nexus >= 3.10 (#65, #64, #69, #71)
  • Feature: add support for Rut Auth Header capability (#68, #70)
  • Maintenance: fix nexus db restore path for the backup restore script (changed in nexus 3.11 - #72)
  • Feature: Allow to download nexus packages from a custom URL (#73)
  • Feature: Add support for removing users (#61)
  • Feature: Add support for LDAP dynamic group/role mapping (#60)
  • Maintenance: Bumped default nexus version to 3.12.0-01 (#74)

Thanks to @Brialius, @stuarthendren, @touchardv, @Sarcouy, @wiget for their contributions.

v2.1.2: Fix bug when using ssh args

19 Feb 18:24
ffe0927
Compare
Choose a tag to compare

See #58 and #59. Thanks to @apocalypskmaw for reporting and fixing

v2.1.1: Yum hosted repos and npm scoped packages download

11 Feb 07:37
f6dcbf8
Compare
Choose a tag to compare
  • Nexus 3.8 supports yum hosted repositories. We added support in the role too (#56)
  • Thanks to @lpxavi for reporting an issue when downloading npm scoped packages (#54). This has been re implemented a little differently with tests in #55.

v2.1.0: Nexus 3.8, unrestricted backups with rotation, docs... and more

21 Feb 17:25
c1eb857
Compare
Choose a tag to compare

Thanks to @dannyk81 and @teddyphreak who reported issues and/or submitted merge requests.

In this release:

  • Nexus 3.8 is out with a new API endpoint for script and we are supporting it ! (#14 and #46)
  • Backups can now be ran with no daily limitation (#19 and #43) with rotation (#32 and #45)
  • Scheduled task are now modified if they previously exist rather than being deleted and re-created (#33 and #41)
  • Required nexus_ldap_realm: true configuration for setting-up ldap is reported correctly in documentation (#49 and #51)
  • Sparse (but existing !!) documentation for using the molecule selinux scenario locally to test the role on VirtualBox vms (#29 and #48). Comments, docfixes, bugfixes, enhancements welcome !
  • Reference to needed mod_proxy_http for apache in the doc (#35 and #47)
  • Details on possible values for write_policy on repositories in the doc (#39)

v2.0.2: Upgrade to latest nexus stable version

03 Jan 09:09
fd3bb9b
Compare
Choose a tag to compare

This release only updates the latest nexus oss version to 3.7.1-02 to benefit from new repository browser (3.7.0) and relevant bugfixes for offline repositories

v2.0.1: Bugfix for Christmas 2017 Realease

23 Dec 16:00
Compare
Choose a tag to compare

This is an immediate bugfix release for Christmas 2017 release (v2.0).

The announced requirement for ansible is 2.2 or superior. The no_block attribute for systemd ansible module is only available starting ansible 2.3.

Note that v2.0 will work with ansible 2.3 and above.

See #30

v2.0.0: Christmas 2017 Release

22 Dec 14:18
7a97e91
Compare
Choose a tag to compare

Merry Christmas and Happy New Year !

In this Release:

  • Important minimum ansible version is now 2.2 (and 2.3 if you want to run molecule tests with docker locally). If you still need ansible 2.1, you will have to stick to v1.8
  • Enhanced reprovisioning runs smother and restart nexus/httpd only if needed (#8 and #10)
  • Role is now idempotent (#7)
  • Molecule runs yamllint checks. Fixed syntax and goog practices (#12 and #13)
  • Backup time is now configurable and runs from a single task in nexus instead of one task and a cront (#11 and #16). Backup and restore procedure are now described in README.md. Please read below if you are upgrading the role and run it on an already managed instance
  • Role now supports ansible check mode (#17 and #20)
  • Molecule now runs ansible-lint to check for bad practices (#21)
  • Yum repository support (#9 and #22)
  • Support for configuring boolean properties in scheduled tasks + examples (#26)
  • Default installed nexus version is 3.7.0-04

About Backups

Up to version 1.8, backups were configured automagically at a hard coded time (21:00). This is not the case anymore and you will have to specify nexus_backup_configure: true in your playbook along with nexus_backup_cron if you don't want to rely on default (21:00).

If you used a previous version of the role to install a nexus instance and want to use this new backup feature, you should do the following manually on your instance before configuring backup:

  • In nexus GUI, remove the db-backup task created by the previous role version
  • As root or a sudo capable user on your system, remove the cron fired at 21:00 on script nexus-blob-backup.sh
  • Configure backup in your playbook and run it.

v1.8.0

06 Dec 07:50
867139a
Compare
Choose a tag to compare

This the first release after forking the repo from @savoirfairelinux after end of maintenance was announced. Please see section "History/Credits" in README.md for explanations

In this release:

  • Info: adapted README.md and meta/main.yml to new fork. Added a development/contribution section in README.md
  • Feature: added basic travis CI integration with groovy syntax checking and role test with molecule on Ubuntu Xenial and Centos7 (thanks to @nextlayer-ops). More platforms and tests to come
  • Fix: several issues to support http reverse proxy to nexus on Ubuntu (thanks to @drivard)
  • Fix: changes to repository through groovy scripts were not persistent and could make the GUI unusable (savoirfairelinux/ansible-nexus3-oss#38)
  • Feature: nuget repository support (thanks to @AirsickPayload)
  • Feature: system outgoing email server configuration and alert email for scheduled tasks (thanks to @dannyk81)
  • Fix: permission of backup scripts were being set to non-executable (thanks to @linsomniac)
  • Feature: system outgoing http proxy configuration (thanks to @BaluX)
  • Feature: better support for docker registries (optional http port, anonymous support - Thanks to @dannyk81)
  • ... and more fixes/features added to the orginal master branch before fork which were not packaged in a realease sin 1.7.1