Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unfunco/setup-tanka
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.
https://github.com/unfunco/setup-tanka
deployment github-action grafana grafana-tanka jsonnet kubernetes tanka
Last synced: 13 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/unfunco/setup-tanka
- Owner: unfunco
- License: apache-2.0
- Created: 2021-06-13T17:11:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T20:13:30.000Z (9 months ago)
- Last Synced: 2024-10-04T17:56:08.691Z (about 1 month ago)
- Topics: deployment, github-action, grafana, grafana-tanka, jsonnet, kubernetes, tanka
- Language: TypeScript
- Homepage:
- Size: 573 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GitHub Actions × Grafana Tanka
![CI](https://github.com/unfunco/setup-tanka/actions/workflows/ci.yaml/badge.svg)
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-purple.svg)](https://opensource.org/licenses/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.```yaml
name: Deployon:
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](LICENSE.md).[Daniel Morris]: https://unfun.co
[Grafana Tanka]: https://tanka.dev
[Jsonnet]: https://jsonnet.org