lightbend / kalix-action

Run Kalix CLI commands in GitHub workflows

Home Page:https://docs.kalix.io/operations/integrate-cicd-github-actions.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kalix CLI for GitHub Actions

This action has been superseded by the setup-kalix-action which installs the Kalix CLI for use in the GitHub workflow.

This action will not see further updates.

This action provides a wrapper for the Kalix CLI. The action executes whatever commands you specify, and requires you've created an authentication token first.

Usage

The action takes two required variables to authenticate and set the project you want to work on correctly:

  • token: The Kalix authentication token
  • project: The project ID for the Kalix project you're using

Example Workflow

The below flow shows how to use this action to list all services in your project

name: kalix

on: 
  push:
    branches: [ main ]

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            - name: List Services
              uses: lightbend/kalix-action@v7
              with:
                cmd: "services list"
              env:
                token: ${{ secrets.TOKEN }}
                project: ${{ secrets.PROJECT }}

Contributing

We welcome all contributions! Pull requests are the preferred way to share your contributions. For major changes, please open an issue first to discuss what you would like to change.

Support

This project is an end-of-life

License

See the LICENSE

About

Run Kalix CLI commands in GitHub workflows

https://docs.kalix.io/operations/integrate-cicd-github-actions.html

License:Apache License 2.0


Languages

Language:Dockerfile 53.7%Language:Shell 46.3%