Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

[DEPRECATED] Setup the Baselime CLI in Github actions

License

Notifications You must be signed in to change notification settings

baselime/action-setup-baselime

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

[DEPRECATED] ⚙️ action-setup-baselime

No Maintenance Intended Documentation License

Setup the Baselime CLI in Github actions

About

This action sets up the Baselime CLI in Github Actions.

This action can be run on ubuntu-latest, and macos-latest GitHub Actions runners, and will install and expose a specified version of the baselime CLI on the runner environment.

Usage

Create a marker for every new deployment

steps:
  - uses: baselime/action-setup-baselime@v0.0.1
    with:
      baselime-api-key: ${{ secrets.BASELIME_API_KEY }} # Can be imported from Github Actions Secrets
  - name: 📍Create marker
    run: |
      baselime mark \
      --name Deployment \
      --url "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
      --metadata '${{ toJson(github) }}' \
      --service ${{ github.repository }}

The marker will be available on the timeline when you query your telemetry data

Inputs

The actions supports the following inputs:

  • baselime-api-key: The API key to use with the Baselime CLI. You can get your API key in the Baselime console
  • version: The version of baselime to install, defaulting to the latest version

Contributing

Feel free to submit PRs or to fill issues. Every kind of help is appreciated.

Kindly check our Contributing guide on how to propose bugfixes and improvements, and submitting pull requests to the project.

License

© Baselime Limited, 2022

Distributed under MIT License (The MIT License).

See LICENSE for more information.