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:
- Deploying the
master
branch without SSL/HTTPS or any other addons - Deploying the
jpa-elide
branch without SSL/HTTPS or any other addons
All templates tag the latest versions with the latest
tag.
Tip
Jersey Webservice release definition templates is a satellite project of hashicorp-aws and more documentation can be found in its dedicated page for Machine Learining model deployment support
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.
The use and distribution terms for Jersey Webservice release definition templates are covered by the Apache License, Version 2.0.