Giter Site home page Giter Site logo

mikaelvesavuori / dorametrix-pipe Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8 KB

Conveniently call Dorametrix to create a deployment event through a Bitbucket Pipe.

License: MIT License

Dockerfile 8.52% Shell 91.48%
dorametrix dora dora-metrics devops software-delivery

dorametrix-pipe's Introduction

Bitbucket Pipelines Pipe: dorametrix-pipe

Conveniently call Dorametrix to create a deployment event.

Looking for a demo? In that case you might be interested in the Dorametrix Pipe demo.

YAML Definition

Add the following snippet to the script section of your bitbucket-pipelines.yml file:

- pipe: docker://mikaelvesavuori/dorametrix-pipe:1.0.0
  variables:
    ENDPOINT: "$ENDPOINT"
    API_KEY: "$API_KEY"
    PRODUCT: "$BITBUCKET_REPO_SLUG"

Variables

Ideally set these as repository variables ("secrets").

endpoint

Environment variable name: ENDPOINT.

Dorametrix API endpoint, in the format https://mydomain.com/stagename.

api-key

Environment variable name: API_KEY.

Dorametrix API token.

product (optional)

Environment variable name: PRODUCT.

The product name can be optionally set. If not, it will default to the repository name.

Details

This Action uses two secrets: ENDPOINT and API_KEY, as described above.

Prerequisites

  • Set the required environment variables, ENDPOINT and API_KEY.
  • Always ensure you have secure settings regarding what actions you allow.
  • Note that Dorametrix will not work without access to the Git history (i.e. with.fetch-depth: 0).

Examples

image:
  name: atlassian/default-image:3

pipelines:
  default:
    - step:
        name: Dorametrix
        script:
          - pipe: docker://mikaelvesavuori/dorametrix-pipe:1.0.0
            variables:
              ENDPOINT: "$ENDPOINT"
              API_KEY: "$API_KEY"
              PRODUCT: "$BITBUCKET_REPO_SLUG"

Support

Please create an issue on GitHub.

If you're reporting an issue, please include:

  • The version of the pipe
  • Relevant logs and error messages
  • Steps to reproduce the issue

dorametrix-pipe's People

Contributors

mikaelvesavuori avatar

Watchers

 avatar  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.