Deploy using Ansible, Argo Workflows, Heroku, Octopus, OpenShift, Spinnaker, and Tosca with CloudBees deployment actions.
Run an Ansible playbook
Use the cloudbees-io/ansible-run-job action to run an Ansible playbook via Ansible AWX or Ansible Automation Platform (AAP).
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
|
|
String |
Yes |
An API token generated with the appropriate read or write access. |
|
String |
Required only if |
The name of the job template with the Ansible playbook. |
|
String |
Required only if |
Deploy with Argo Workflows
Use the cloudbees-io/argocd-run-workflow action to run an Argo Workflows workflow, a CI/CD pipeline tool for managing and executing complex workflows in Kubernetes.
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The Argo Workflows server URL. |
|
String |
Yes |
The Argo Workflows token. |
|
String |
Yes |
The Argo Workflows namespace. |
|
String |
Yes |
The Argo Workflows name. |
|
JSON |
No |
Any additional parameters, formatted as JSON data in key/value pairs. |
Deploy with Heroku
Use the cloudbees-io/heroku-run-job action to trigger Heroku APIs to build and deploy your application, and fetch the stdout logs as output.
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The Heroku API token generated with read or write access. |
|
String |
Yes |
The Heroku application name, which is a unique identifier for the application environment where the build occurs. |
|
String |
Yes |
The name of the repository where the source code resides. |
|
String |
Yes |
The personal access token to clone the source repository. |
Usage example
In your YAML file, add:
- name: Run Heroku job uses: https://github.com/cloudbees-io/heroku-run-job@v1 with: url: "https://api.heroku.com" token: ${{ secrets.HEROKU_TOKEN }} application_name: ${{ inputs.application_name }} repository_name: ${{ inputs.repository_name }} private_repository_personal_access_token: ${{ secrets.HEROKU_REPOSITORY_PERSONAL_ACCESS_TOKEN }}
Deploy with Octopus
Use the cloudbees-io/octopus-run-project action to deliver your software with Octopus Deploy, a deployment automation tool.
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The Octopus Deploy server URL. |
|
String |
Yes |
The Octopus Deploy token. |
|
String |
Yes |
The Octopus Deploy space name. |
|
String |
Yes |
The Octopus Deploy release version. |
|
String |
Yes |
The Octopus Deploy environment name. |
|
String |
No |
The Octopus Deploy channel name. |
Deploy with OpenShift
Use the cloudbees-io/openshift-invoke-deployment action to trigger Red Hat OpenShift, a hybrid cloud platform that uses Linux containers and Kubernetes to manage applications.
The action builds and deploys your application and fetches stdout logs as output.
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The OpenShift cluster URL. |
|
String |
Yes |
The OpenShift API token. Must have read/write access. |
|
String |
Yes |
The OpenShift project name, a unique identifier for the application environment when building and deployment occurs. |
|
String |
Yes |
The source code repository name. |
|
String |
Yes |
The paths to the configuration files required to build and deploy the application, listed in deployment order. |
Usage example
In your YAML file, add:
steps: - name: Build and deploy with OpenShift uses: https://github.com/cloudbees-io/openshift-invoke-deployment@v1 with: url: ${{ vars.OPENSHIFT_URL }} token: ${{ secrets.OPENSHIFT_TOKEN }} project_name: unique-openshift-project-name repository_name: ${{ vars.REPO_NAME }} repository_config_yaml_paths: my-dir/my-config
Deploy with Spinnaker
Use the cloudbees-io/spinnaker-run-pipeline action to deploy your application with Spinnaker, an open-source, multi-cloud continuous delivery platform.
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The Spinnaker server URL. |
|
String |
Yes |
The Spinnaker token. |
|
String |
Yes |
The application name in Spinnaker. |
|
String |
Required only if |
The Spinnaker pipeline name for the requested application. |
|
String |
Required only if |
The Spinnaker webhook URL for the requested application. |
|
JSON |
No |
Any additional parameters, formatted as JSON data in key/value pairs. |
Usage example
In your YAML file, add:
- name: Deploy with Spinnaker uses: https://github.com/cloudbees-io/spinnaker-run-pipeline@v1 with: url: ${{ SPINNAKER_URL }} token: ${{ secrets.SPINNAKER_TOKEN }} app-name: my_application pipeline-name: new_deploy webhook-url: https://my-webhook-example.net parameters: '{}'
Deploy with Tosca
Use the cloudbees-io/tosca-run-job action to execute a Tricentis Tosca cloud playlist, a software testing tool that automates end-to-end testing for software applications.
| You must use the Publish test results action to populate the Test Insights dashboard with Tosca testing results. |
| All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The Tosca cloud URL. |
|
String |
Yes |
The URL of the authorization server (available in the Swagger UI). |
|
String |
Yes |
The Tosca cloud API client ID. |
|
String |
Yes |
The Tosca cloud API token. |
|
String |
Yes |
The name of the playlist to be executed. |
|
String |
Yes |
The name of the workspace. |
Usage example
In your YAML file, add:
- name: Test with Tosca uses: https://github.com/cloudbees-io/tosca-run-job@v1 with: tosca_cloud_base_url: "https://your-company.my.tricentis.com/" tosca_auth_url: "https://your-company.okta.com/oauth2/default/v1/token" client_id: ${{ secrets.TOSCA_CLIENT_ID }} client_secret: ${{ secrets.TOSCA_CLIENT_SECRET }} playlist_name: "sample playlist" workspace: "sample workspace"