GithubHelp home page GithubHelp logo

akamai-mpulse-annotation-action's Introduction

Akamai logo

GitHub Action to submit annotations to Akamai mPulse

GitHub license

Annotate Akamai mPulse

This action calls the Akamai Api's to submit mPulse annotations to the Akamai platform.

mPulse

Usage

All sensitive variables should be set as encrypted secrets in the action's configuration.

Authentication

You need to declare a AKAMAI_mPulseApiToken secret in your repository.

Follow this guide to retrieve your apiToken.

Inputs

Auth-Token

Required API Token: used to authenticate against the Akamai platform

title

Required Title: Currently set to use the following format: 'Repository name - Build build number'

time

Required current time in UTC milliseconds

text

Required Text: Currently set to use git commit message

tennant

Required Tennant: The tennant you wish to assign the annotation to

domainIds

Optional List of domain id's: use a comma to seperate. i.e 123,123. Leave blank if not specifying

workflow.yml Example

Place in a .yml file such as this one in your .github/workflows folder. Refer to the documentation on workflow YAML syntax here.

steps:
      - name: Annotation - start of deployment
        uses: jdmevo123/[email protected]
        with:
          Auth-Token: ${{ secrets.AKAMAI_MPULSEAPITOKEN }} 
          title: ${{ github.event.repository.name }} - Build:${{ github.run_number }}
          text: ${{ toJson(github.event.head_commit.message) }}
          tennant: "" #If api key has access to multiple tennant place the tennant name here, otherwise leave as blank. 

If you wish to submit domain id's, use the following YAML:

steps:
      - name: Annotation - start of deployment
        uses: jdmevo123/[email protected]
        with:
          Auth-Token: ${{ secrets.AKAMAI_MPULSEAPITOKEN }} 
          title: ${{ github.event.repository.name }} - Build:${{ github.run_number }}
          text: ${{ toJson(github.event.head_commit.message) }}
          tennant: "" #If api key has access to multiple tennant place the tennant name here, otherwise leave as blank. 
          domainIds: "123,124" #Optional  #Domain ID's split by comma. i.e. "123,124"

License

This project is distributed under the MIT license.

akamai-mpulse-annotation-action's People

Contributors

jdmevo123 avatar tvereecke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

tvereecke

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.