The features discussed in this section require IQ Server and Nexus Repository Manager with the Repository license plus either the Firewall or Lifecycle license. |
IQ Server for Repository Manager staging combines the powerful controls for your release process from Repository Manager with the rich information and validation available in IQ Server. Using them together you can ensure that any releases you produce are actively and automatically validated against up to date information in terms of security vulnerabilities and license characteristics of all the components you use and any whitelists or blacklists you maintain as well as other policies you have defined are enforced.
You will need to have completed the following items before using IQ Server with Repository Manager. This includes:
Before using IQ Server for staging you should be familiar with the general setup and usage patterns of the Repository Manager Staging Suite documented in the chapter on staging, located in the Nexus Repository Manager book. There, you will be guided through the process to get Repository Manager prepared to handle your staging needs. |
As mentioned in the note above, you should already have your staging profile configured. To utilize IQ Server evaluation and policy features as part of your build promotion you will need to select an IQ Server Application as part of the staging profile configuration. This is done via Repository Manager. An example is provided below.
The figure below shows an example staging profile with an IQ Server application configured.
While not a requirement for using IQ Server with Repository Manager staging, IQ Server does have the ability to Fail or Warn on staging closure. This is managed by setting the Stage Release and Release actions for each policy. These policy actions can be configured to warn, fail, or do nothing (default). The figure below provides an example policy that would warn for a staging deployment and fail a release.
Configuration of policy actions is managed via IQ Server. While we’ll cover the basic settings below, for instruction on setting these actions, please review the Policy Management chapter, specifically the section on managing policy actions.
The configuration of the Stage Release action is used for closing the staging repository. Based on the action chosen, the staging repository will respond as follows:
Repository Manager also has actions specific to the Release feature, and these can be configured to fail, warn or do nothing and are used for releasing or promoting the staging repository.
Once the staging profile is configured with the IQ Server application identifier, any deployment triggers an evaluation with IQ Server, which will be visible as Activity for the staging repository. Any rule failures are provided with further information in the detail panel. Figure 12.25, “Staging Repository Activity with IQ Server Evaluation Failure and Details” displays a staging repository with IQ Server rule validations and a failure. The View Full Report button links back to the detailed Application Composition Report.
Terms of Service Privacy Policy
Copyright ©
2008-present, Sonatype Inc. All rights reserved. Includes the
third-party code listed here. Sonatype and Sonatype Nexus are trademarks
of Sonatype, Inc. Apache Maven and Maven are trademarks of the Apache
Software Foundation. M2Eclipse is a trademark of the Eclipse Foundation.
All other trademarks are the property of their respective owners.
Sonatype Headquarters - 8161
Maple Lawn Blvd #250, Fulton, MD 20759
Tysons Office - 8251 Greensboro Drive #610, McLean, VA
22102
Australia Office - 5 Martin Place, Level 14, Sydney 2000, NSW, Australia