Skip to main content

Sonatype Nexus Repository Release Definition Template

hashicorp-aws offer a Screwdriver template that deploys an immutable instance of Sonatype Nexus Repository to AWS. It uses the screwdriver-template-main npm package to assist with template validation, publishing, and tagging. This template tags the latest versions with the latest tag.

How to Use This Template

Please follow the sections below to get started using this template

Installing the Template

Please follow the instructions here and make sure, once done, we are able to see the two following template shown in the templates page:

  • sonatype-nexus-repository-release-definition-template

Error loading templates-installed.png

Creating Pipeline from Template

Create a Screwdriver pipeline with the Repo Url being https://github.com/QubitPi/docker-nexus3

Error loading create-sd-pipeline.png

Configuring Pipeline

The following Screwdriver Secrets needs to be defined before running the pipeline:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • SSL_CERT_BASE_64: A base64 encoded string of the content of SSL certificate file for the SSL-enabled domain for the Sonatype Nexus Repository
  • SSL_CERT_KEY_BASE_64: A base64 encoded string of the content of SSL certificate key file for the SSL-enabled domain for the Sonatype Nexus Repository

Running Pipeline

To run the pipeline, fill in the AWS-related parameters first

Error sonatype-nexus-repository-release-definition-template-parameters.png

Then hit "Submit" to start deploying.