You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 years ago | |
|---|---|---|
| .. | ||
| Jenkinsfile | 7 years ago | |
| README.md | 7 years ago | |
| setup.yaml | 7 years ago | |
| swagger.yaml | 7 years ago | |
README.md
Usecase "Multi-environment": Deploy an API in three environments, all in one tenant
In this usecase, a Jenkins pipeline will deploy an API described by an OpenAPI Specification file on a 3scale SaaS instance, in three environments: DEV, TEST and PROD. The API is secured using API Keys as described in the OAS.
Pre-requisites
Make sure you completed the SETUP guide.
Installation
Use the provided OpenShift template to install the Jenkins pipeline:
oc process -f multi-environment-usecase/setup.yaml \
-p DEVELOPER_ACCOUNT_ID="$SAAS_DEVELOPER_ACCOUNT_ID" \
-p PRIVATE_BASE_URL="http://$EVENT_API_HOSTNAME" \
-p PUBLIC_STAGING_WILDCARD_DOMAIN="$APICAST_SELF_MANAGED_STAGING_WILDCARD_DOMAIN" \
-p PUBLIC_PRODUCTION_WILDCARD_DOMAIN="$APICAST_SELF_MANAGED_PRODUCTION_WILDCARD_DOMAIN" \
-p NAMESPACE="$TOOLBOX_NAMESPACE" |oc create -f -
Deployment
oc start-build multi-environment-usecase