GithubHelp home page GithubHelp logo

vishweshwarp / concourse-vrealize-automation-resource Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-archive/concourse-vrealize-automation-resource

0.0 0.0 0.0 29 KB

Concourse Resource Type for vRealize Automation

License: Other

Go 93.40% Dockerfile 3.48% Shell 3.12%

concourse-vrealize-automation-resource's Introduction

Concourse vRealize Automation Resource

This project is about a new Resource Type in Concourse CI for VMware's product named vRealize Automation (https://www.vmware.com/in/products/vrealize-automation.html)

With this Resource Type, any pipeline from Concourse will be able to trigger a pipeline in vRealize Automation, execute the required tasks, and bring the execution context/output back to Concourse.

More about Concourse Resource Types can be found at https://resource-types.concourse-ci.org/

Installation

Add following resource type to your Concourse CI pipeline

resource_types:
- name: vra
  type: docker-image
  source:
    repository: projects.registry.vmware.com/concourse-vra-resource/concourse-vra-resource
    tag: latest # For reproducible builds, use a specific version tag

Source Configuration

Add following resource to your Concourse CI pipeline

resources:
- name: vra-pipeline
  type: vra
  source:
    host: https://www.mgmt.cloud.vmware.com/codestream
    apiToken: ****** # vRealize Automation API/Refresh token
    pipeline: my-vra-pipeline
  • host: Required. Code Stream URL of vRealize Automation. For Cloud, use https://www.mgmt.cloud.vmware.com/codestream and for on-prem, provide your instance URL.
  • apiToken: Required. API/Refresh token generated for your account
  • pipeline: Required. vRealize Automation Code Stream pipeline name

Behavior

check: NA

in: NA

out: Executes vRealize Automation pipeline

jobs:
- name: deploy-using-vra
  public: true
  plan:
  - put: vra-pipeline
    params:
      wait: true
      waitTimeout: 120
      input: # key-value pairs (map).
        key1: val1
        key2: val2

Parameters

  • wait: Required. Set to true if Concourse pipeline has to wait until vRealize Automation pipeline execution completes. Otherwise set it to false.
  • waitTimeout: Optional. Waiting timeout value in minutes for vRealize Automation pipeline execution. Default value is 1440 minutes (24 hours). This custom value is considered only when wait is set to true.
  • input: Optional. Input to vRealize Automation pipeline. This param takes key-value pairs and passes them to vRealize Automation pipeline as Input Parameters.

Examples

---
resource_types:
- name: vra
  type: docker-image
  source:
    repository: projects.registry.vmware.com/concourse-vra-resource/concourse-vra-resource
    tag: latest
resources:
- name: vra-pipeline
  type: vra
  source:
    host: https://www.mgmt.cloud.vmware.com/codestream
    apiToken: ****** # vRealize Automation API/Refresh token
    pipeline: my-vra-pipeline
jobs:
- name: deploy-using-vra
  public: true
  plan:
  - put: vra-pipeline
    params:
      wait: true
      waitTimeout: 120
      input:
        changeset: 5d459e220d7810deb2f62df4a4hd698ce64cf5ff
        developer: vishweshwar

Contributing

The Concourse vRealize Automation Resource project team welcomes contributions from the community. If you wish to contribute code and you have not signed our contributor license agreement (CLA), our bot will update the issue when you open a Pull Request. For any questions about the CLA process, please refer to our FAQ.

For more details about contributing, refer to the contributing guidelines

License

Apache License 2.0, see LICENSE.

concourse-vrealize-automation-resource's People

Contributors

vishweshwarp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.