Skip to content

Setup Grafana Tanka

Actions
Configures GitHub Actions with support for Grafana Tanka
1.0.0-alpha.1
LatestPre-release
Star (8)

GitHub Actions × Grafana Tanka

CI License: Apache 2.0

Setup Grafana Tanka for use with GitHub Actions.

Tanka is a utility that allows Kubernetes resources to be defined and managed in the Jsonnet language.

Getting started

When specifying tanka-version the v prefix can be omitted, additionally, the patch number is not required if it is equal to zero. The versions v0.16.0, 0.16.0, v0.16, and 0.16 are all valid and all refer to the same semantic version of Tanka.

Inputs

Name Default Description
tanka-version "v0.26.0" Grafana Tanka version.

Example usage

The following example workflow uses the setup-tanka action to automatically apply resources to a production environment.

name: Deploy

on:
  workflow_dispatch: {}

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v4
    - name: Setup Grafana Tanka
      uses: unfunco/setup-tanka@v1
      with:
        tanka-version: 0.26.0
    - name: Apply the production configuration
      run: tk apply environments/production --dangerous-auto-approve

License

© 2021 Daniel Morris
Made available under the terms of the Apache License 2.0.

Setup Grafana Tanka is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Configures GitHub Actions with support for Grafana Tanka
1.0.0-alpha.1
LatestPre-release

Setup Grafana Tanka is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.