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

Start a Tracetest agent to run trace based tests

Notifications You must be signed in to change notification settings

kubeshop/tracetest-agent-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

kubeshop/tracetest-agent-action

GitHub Action for running Tracetest Agent and using Tracetest CLI to trigger trace-based tests against Tracetest.

Placing use: kubeshop/tracetest-agent-action@v1 into a GitHub Action workflow gives you a simple way to run Tracetest Agent. The action installs the Tracetest CLI and starts Tracetest Agent.

The action takes an API Key and Token as parameters that will tell Tracetest Agent how to connect to Tracetest.

You then proceed to run Tracetest trace-based tests.

Trace-based Test Example

name: example-basic
on: push
jobs:
  trace-based-tests:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Run Tracetest Agent
        uses: kubeshop/tracetest-agent-action@v1
        with:
          apiKey: ${{ secrets.TRACETEST_API_KEY }}
          token: ${{ secrets.TRACETEST_TOKEN}}
      # Start your app
      # Run Tracetest tests
      - name: Run trace-based tests
        run: |
          tracetest run --file path-to-dir/test.yml

About

Start a Tracetest agent to run trace based tests

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published