Skip to content

OpenShift for IBM DevOps Deploy - Process Steps

Add Tag

Tag existing images into image streams.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenicate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Destination NamesStringThe image streams to tag. Separate multiple image streams with space characters. Use the following format: <namespace>/<stream_name >:<tag>Yes
Keep UpdatedBooleanSelect to update the destination tag each time the source tag changes.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the resource to tag.No
Source NameStringThe name of the source to tag. For example: <namespace>/<stream_name>:<tag>, <name>@<id>Yes
Source TypeEnumeration:Specify a source type to use.No
* none
* istag
* isimage
* docker
Step FlagsStringA list of flags to set when running the add tag command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No

Apply

Apply a configuration to a resource by filename.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenicate with the OpenShift API server. CYou can use either this property or the User Name and Password properties to authenticate with the server.No
File NameStringThe file to be applied. If a directory is specified, all files in that directory are applied.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project where the resource is applied.No
Step FlagsStringA list of flags to set when running the apply process. For example: –force=false. Specify each flag on a new line.No
User NameStringThe user name to authenicate with the OpenShift server.No

Cancel Build

Request a graceful shutdown of a build. Running, pending, or new builds are canceled.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Build Config(s)StringThe builds to be cancelled created from specified Build ConfigsNo
Build(s)StringThe build to be cancelled.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to cancel a build.No
Step FlagsStringA list of flags to set when running the cancel-build command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No

Create

Create a resource by filename.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
File NameStringFile to be created.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project where the resource is created.No
Step FlagsStringA list of flags to set when running the create process. Specify each flag on a new line.No
User NameStringThe user name used to authenticate with the OpenShift server.No

Create New-App

Create a new application by specifying source code, templates, and/or images.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
SourceStringThe source code path, source code repository URL, template, image or image streamNo
Step FlagsStringA list of flags to set when running the new-app command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No

Create Object From Template

Create object on OpenShift server from a JSON template.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Do you want to use ‘apply’ or ‘create’?StringSpecify create to create the configuration if it does not exist. An error is displayed if the create is specified and the configuration already exists. Specify apply to update the configuration. The default value is apply. For more details, see the Openshift/Kubernetes documentation.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
Parameter FileStringThe fully-qualified path of a newline-separated parameter file.No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
Step FlagsStringA list of flags to set when running the create object from template command. Specify each flag on a new line.No
TemplateStringThe fully-qualified path to the template JSON file to be used to create the object.Yes
User NameStringThe user name to access the OpenShift server.No

Create Secret

Create secret in OpenShift.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
PasswordPasswordThe password used to authenicate with the OpenShift server.No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
Secret JSONStringA JSON string or the fully-qualified path to the JSON file containing the JSON for the secret to be created.Yes
User NameStringThe user name used to authenicate with the OpenShift server.No

Delete

Delete resources by filenames, stdin, resources and names, or by resources and label selector.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to delete a resource.No
Resource(s)/resource namesStringPlease check Openshift documentation on the format to specify for resource and resource namesYes
Step FlagsStringA list of flags to set when running the delete command. Specify each flag on a new line.No
User NameStringThe user name used to authenticate with the OpenShift server.No

Deploy

(Deprecated)Start, cancel, retry or view a deployment on an OpenShift server.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Deployment ActionEnumeration:Select deployment action.No
* latest
* retry
* cancel
* triggers
* history
Deployment ConfigStringThe deployment configuration to use.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
Step FlagsStringA list of flags to set when running the deploy command. Specify each flag on a new line.No
User NameStringThe user name to access the OpenShift server.No

Expose

Expose containers internally as services or externally through routes.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to expose a resource as a route or a service.No
Resource(s)/resource namesStringPlease check Openshift documentation on the format to specify for resource and resource namesYes
Step FlagsStringA list of flags to set when running the expose command. Specify each flag on a new line.No
User NameStringThe user name to access the OpenShift server.No

Login

Log in to your Openshift server and save login for subsequent use.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Certificate AuthorityStringThe path to a certificate file for the certificate authority.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
PasswordPasswordThe password used to authenticate with the OpenShift server.No
ProjectStringThe OpenShift project that contains the application to login.No
Skip TLS VerificationBooleanSelect to not validate the server certificate. If selected, HTTPS connections are not secure.No
Step FlagsStringA list of flags to set when running the login command. Specify each flag on a new line.No
User NameStringThe user name used to authenticate with the OpenShift server.No

New Build

Create a new build by specifying source code

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to create a new build.No
Sourcecode/Image pathStringThe sourcecode used to create the build. It can be a combination of image~sourcecodeNo
Step FlagsStringA list of flags to set when running the new-build command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No

Patch DeploymentConfig

Patch/Update a Deployment Config.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Deployment ConfigStringThe name of the current deployment configuration.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
Patch JSONStringThe JSON or the fully-qualified path to the JSON file containing the JSON to be used.Yes
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
Step FlagsStringA list of flags to set when running the patch deployment config command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No

Patch Secret

Patch secret in OpenShift.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
App SecretsStringA list of app secrets to patch. Specify each list item on a new line. At least one Secrets field must be specified.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
PasswordPasswordThe password used to authenticate with the OpenShift server.No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
Pull SecretsStringA list of pull secrets to patch. Specify each list item on a new line. At least one Secrets field must be specified.No
ServiceAccount NameStringThe name of ServiceAccount to create secret for.Yes
Step FlagsStringA list of flags to set when running the patch secret command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No

Replace DeploymentConfig

Deploy using a new deployment configuration for an existing application in OpenShift.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Deployment ConfigStringThe name of the current deployment configuration.Yes
New Deployment Config JSONStringThe JSON or the fully-qualified path to the JSON file for the new deployment configuration to use.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
PasswordPasswordThe password to authenicate with the OpenShift server.No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
User NameStringThe user name to authenicate with the OpenShift server.No

Rollback

Roll back an application to a previous deployment.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Change Scaling SettingsBooleanInclude the replication controller replica count and selector of the previous deployment in the rollback.No
Change StrategyBooleanInclude the strategy of the previous deployment in the rollback.No
Change TriggersBooleanInclude the triggers of the previous deployment in the rollback.No
Deployment Name/ConfigStringThe name of the previous deployment or deployment configuration to roll back to.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to run the roll back on.No
Step FlagsStringA list of flags to set when running the rollback command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No
VersionStringThe specific configuration version to roll back to. Leave blank to roll back to the last successfully completed deployment. This field is ignored when rolling back to a deployment instead of a deployment config.No

Rollout

Start a new rollout, view its status or history, rollback to a previous revision of your app.

NameTypeDescriptionRequired
Access TokenPasswordThe token to authenicate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the serverNo
Deployment Config or NameStringThe deployment configuration or the name of a deployment depending on the rollout type to use.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to run the deployment on.No
Rollout typeEnumeration:Select a rollout subcommand.No
* cancel
* history
* latest
* pause
* resume
* retry
* status
* undo
Step FlagsStringA list of flags to set when running the rollout command. Specify each flag on a new line.No
User NameStringThe user name to authenicate with the OpenShift server.No

Scale

Set a new size for a deployment or replication controller.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Number of ReplicasStringThe number of replicas to scale to.Yes
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to scale.No
Resource NameStringThe name of the resource to scale in OpenShift.Yes
Resource TypeEnumeration:The type of resource to scale in OpenShift.Yes
* dc
* replicationcontrollers
Step FlagsStringA list of flags to set when running the scale command. Specify each flag on a new line.No
User NameStringThe user name to access the OpenShift server.No

Set Env

Update environment variables on a pod template or a build config

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
File PathStringThe filename, directory, or URL to files to use to edit the resource.No
KEY=VALUE/KEY-StringA list of keys and associated value. Specify each list item in the format key=value on a new line. You can remove the environment variable with KEY-.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to update the environment.No
RESOURCE/NAMEStringA list of resource type and associated object name pairs. Specify each pair in the format resource_type/name on a new line.No
RESOURCESStringA list of resource types, separate each resource type with a comma. For example: resource1,resource2,…resourex.No
Step FlagsStringA list of flags to set when running the set env command. Specify each flag on a new line.No
User NameStringThe user name used to authenticate with the OpenShift server.No

Set Image

Update existing container images of resources

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
CONTAINER_NAME=IMAGE_NAMEStringA list of container and assocaited image name. Specify each pair in the format: container_name=image_name. Specify each list item on a new line. You can update image of all containers with *=image_name.No
File PathStringThe filename, directory, or URL to files used to identify the resource to obtain from the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to update the image.No
RESOURCE/NAMEStringA list of resource type and object name pair. Specify each pair in the format: resource/name. Specify each list item on a new line.No
RESOURCESStringA list of resource types to be specified in the format resource1,resource2,…resourcex.No
Step FlagsStringA list of flags to set when running the set image command. Specify each flag on a new line.No
User NameStringThe user name used to authenticate with the OpenShift server.No

Set Triggers

Set or remove triggers

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to set/update the triggers.No
RESOURCE/NAMEStringA list of resource type/object name to be specified in the format as shown in the label. Specify each list item on a new line.Yes
Step FlagsStringA list of flags to set when running the set triggers command. Specify each flag on a new line.No
User NameStringThe user name used to authenticate with the OpenShift server.No

Start Build

Start a new build for the provided build configuration or copy an existing build.

NameTypeDescriptionRequired
Access TokenPasswordThe token used to authenticate with the OpenShift API server. You can use either this property or the User Name and Password properties to authenticate with the server.No
Build ConfigStringThe build configuration to be usedNo
From BuildStringThe name of a build to run again.No
OpenShift URLStringThe URL of the Red Hat OpenShift server. For example: https://192.0.2.0:8443No
ProjectStringThe OpenShift project that contains the application to start a build.No
Step FlagsStringA list of flags to set when running the start-build command. Specify each flag on a new line.No
User NameStringThe user name used to authenicate with the OpenShift server.No