QubitPi / jersey-webservice-release-definition-templates

🚚 Screwdriver CD template for deploying Jersey webservice to AWS through HashiCorp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jersey Webservice Release Definition Templates

Screwdriver CD badge HashiCorp Packer badge HashiCorp Terraform badge Apache License badge GitHub Workflow Status

A set of Screwdriver CD templates that deploys immutable instances of instantiated Jersey Webservice Templates to AWS. It uses the screwdriver-template-main npm package to assist with template validation, publishing, and tagging.

This release definition contains the following templates, each corresponding to a branch in Jersey Webservice Template GitHub repo:

All templates tag the latest versions with the latest tag.

How to Use Templates

Note

Before preceding, please note that it is assumed all templates have already been installed in Screwdriver. If not, please see documentation on publishing a template in Screwdriver

Create a Screwdriver pipeline that uses one of the templates with the screwdriver.yaml file. Taking JPA webservice template as an example:

---
jobs:
  main:
    requires: [~pr, ~commit]
    template: QubitPi/jersey-webservice-release-definition-jpa@latest
    secrets:
      - AWS_ACCESS_KEY_ID
      - AWS_SECRET_ACCESS_KEY

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

To run the pipeline, fill in the parameters first:

Then hit "Submit" to start deploying.

License

The use and distribution terms for Jersey Webservice release definition templates are covered by the Apache License, Version 2.0.