triggermesh / Aktion
Programming Languages
Projects that are alternatives of or similar to Aktion
[WIP]: A CLI for running Github Actions in Kubernetes clusters using Knative and Tekton
Installation
With a working Golang environment do:
go get github.com/triggermesh/aktion
Usage
Test that the parsing of your GitHub Action workflow works:
aktion parser -f samples/main.workflow
Create the Tasks object that Tekton can understand:
aktion create -f samples/main.workflow
To specify which git repository this should apply to:
aktion create -f samples/main.workflow --git https://github.com/sebgoa/klr-demo
You can pipe it directly to kubectl
to create the actions:
aktion create -f samples/main.workflow | kubectl apply -f -
To launch the actions you need a Knative GitHub source and a transceiver which will receive the GitHub event and create a TaskRun
object that will execute the Task
specified. Like this:
aktion launch --task knative-test --git sebgoa/cloudbuild
ASCIICAST
Support
This is heavily Work In Progress We would love your feedback on this tool so don't hesitate to let us know what is wrong and how we could improve it, just file an issue
Building
Requires a minimum of Go 1.12, Go Dep, and GNU Make
When cloning for the first time, or after modifying the Gopkg.toml file, run:
make dep
Otherwise, make build
will build aktion
.
Code of Conduct
This plugin is by no means part of CNCF but we abide by its code of conduct