| `OS_SCRIPTS_DIR` | directory where OpenShift scripts (templates, hook scripts) are located | `.` _(root project dir)_ |
| `OS_BASE_TEMPLATE_NAME` | Base OpenShift template name | `openshift` |
| `OS_APP_LABEL` | The OpenShift [label](https://docs.openshift.com/container-platform/3.11/dev_guide/templates.html#writing-labels) set with the `$environment_name` [dynamic variable](#environment-variables) value. _Advanced usage_ | `app` |
@@ -133,8 +134,7 @@ Here are variables supported to configure review environments:
| `OS_REVIEW_URL` | OpenShift API url for `review` env _(only define if different from default)_ | `$OS_URL` |
| :lock: `OS_REVIEW_TOKEN` | OpenShift API [token](#token-generation) for `review` env _(only define if different from default)_ | `$OS_TOKEN` |
| `OS_REVIEW_APP_NAME` | Application name for `review` env | `"${OS_BASE_APP_NAME}-${CI_ENVIRONMENT_SLUG}"` (ex: `myproject-review-fix-bug-12`) |
| `OS_REVIEW_ENVIRONMENT_DOMAIN` | The review environment domain. | _none_ |
| `OS_REVIEW_ENVIRONMENT_URL`| The review environments url _(only define for static environment URLs declaration and if different from default)_ | `$OS_ENVIRONMENT_URL` |
Note: By default, review `environment.url` will be built as `${OS_REVIEW_ENVIRONMENT_SCHEME}://${$CI_PROJECT_NAME}-${CI_ENVIRONMENT_SLUG}.${OS_REVIEW_ENVIRONMENT_DOMAIN}`
@@ -152,7 +152,7 @@ Here are variables supported to configure the integration environment:
| `OS_INTEG_URL` | OpenShift API url for `integration` env _(only define if different from default)_ | `$OS_URL` |
| :lock: `OS_INTEG_TOKEN` | OpenShift API [token](#token-generation) for `integration` env _(only define if different from default)_ | `$OS_TOKEN` |
| `OS_INTEG_APP_NAME` | Application name for `integration` env | `${OS_BASE_APP_NAME}-integration` |
| `OS_INTEG_ENVIRONMENT_URL`| The integration environment url **including scheme** (ex: `https://my-application-integration.nonpublic.domain.com`). Do not use variable inside variable definition as it will result in a two level cascade variable and gitlab does not allow that. | _none_ |
| `OS_INTEG_ENVIRONMENT_URL`| The integration environment url _(only define for static environment URLs declaration and if different from default)_ | `$OS_ENVIRONMENT_URL` |
#### Staging environment
@@ -168,7 +168,7 @@ Here are variables supported to configure the staging environment:
| `OS_STAGING_URL` | OpenShift API url for `staging` env _(only define if different from default)_ | `$OS_URL` |
| :lock: `OS_STAGING_TOKEN`| OpenShift API [token](#token-generation) for `staging` env _(only define if different from default)_ | `$OS_TOKEN` |
| `OS_STAGING_APP_NAME` | Application name for `staging` env | `${OS_BASE_APP_NAME}-staging` |
| `OS_STAGING_ENVIRONMENT_URL`| The staging environment url **including scheme** (ex: `https://my-application-staging.nonpublic.domain.com`). Do not use variable inside variable definition as it will result in a two level cascade variable and gitlab does not allow that. | _none_ |
| `OS_STAGING_ENVIRONMENT_URL`| The staging environment url _(only define for static environment URLs declaration and if different from default)_ | `$OS_ENVIRONMENT_URL` |
#### Production environment
@@ -184,7 +184,7 @@ Here are variables supported to configure the production environment:
| `OS_PROD_URL` | OpenShift API url for `production` env _(only define if different from default)_| `$OS_URL` |
| :lock: `OS_PROD_TOKEN` | OpenShift API [token](#token-generation) for `production` env _(only define if different from default)_ | `$OS_TOKEN` |
| `OS_PROD_APP_NAME` | Application name for `production` env | `$OS_BASE_APP_NAME` |
|`OS_PROD_ENVIRONMENT_URL`|The production environment url **including scheme** (ex: `https://my-application.public.domain.com`) Do not use variable inside variable definition as it will result in a two level cascade variable and gitlab does not allow that. | _none_ |
|`OS_PROD_ENVIRONMENT_URL`|The production environment url _(only define for static environment URLs declaration and if different from default)_ | `$OS_ENVIRONMENT_URL` |
| `AUTODEPLOY_TO_PROD` | Set this variable to auto-deploy to production. If not set deployment to production will be `manual` (default behaviour). | _none_ (disabled) |
"description":"The review environment domain (ex: `noprod-openshift.domain.com`).\n\nBy default review `environment.url` will be built as `${OS_REVIEW_ENVIRONMENT_SCHEME}://${$CI_PROJECT_NAME}-${CI_ENVIRONMENT_SLUG}.${OS_REVIEW_ENVIRONMENT_DOMAIN}`",
"mandatory":true
"name":"OS_REVIEW_ENVIRONMENT_URL",
"type":"url",
"description":"The review environments url _(only define for static environment URLs declaration and if different from default)_",
"advanced":true
},
{
"name":"OS_REVIEW_URL",
@@ -109,8 +109,8 @@
{
"name":"OS_INTEG_ENVIRONMENT_URL",
"type":"url",
"description":"The integration environment url including scheme (ex: `https://my-application-integration.noprod-openshift.domain.com`).\n\nDo not use variable inside variable definition as it will result in a two level cascade variable and gitlab does not allow that.",
"mandatory":true
"description":"The integration environment url _(only define for static environment URLs declaration and if different from default)_",
"advanced":true
},
{
"name":"OS_INTEG_URL",
@@ -143,8 +143,8 @@
{
"name":"OS_STAGING_ENVIRONMENT_URL",
"type":"url",
"description":"The staging environment url including scheme (ex: `https://my-application-staging.noprod-openshift.domain.com`).\n\nDo not use variable inside variable definition as it will result in a two level cascade variable and gitlab does not allow that.",
"mandatory":true
"description":"The staging environment url _(only define for static environment URLs declaration and if different from default)_",
"advanced":true
},
{
"name":"OS_STAGING_URL",
@@ -177,8 +177,8 @@
{
"name":"OS_PROD_ENVIRONMENT_URL",
"type":"url",
"description":"The production environment url including scheme (ex: `https://my-application.openshift.domain.com`).\n\nDo not use variable inside variable definition as it will result in a two level cascade variable and gitlab does not allow that.",
"mandatory":true
"description":"The production environment url _(only define for static environment URLs declaration and if different from default)_",