GithubHelp home page GithubHelp logo

zachariah-stevenson / kargo-render-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akuity/kargo-render-action

0.0 0.0 0.0 1.25 MB

GitHub Action for Kargo Render

License: Apache License 2.0

kargo-render-action's Introduction

Kargo Render for GitHub Actions

Use Kargo Render for GitHub Actions along with Kustomize or Helm to pre-render environment-specific configuration into (plain YAML) Kubernetes manifests committed (or PR'ed) to environment-specific branches that are easily consumed by your favorite GitOps platform.


🟡  Both Kargo Render and its GitHub Action are highly experimental at this time and breaking changes should be anticipated between pre-GA minor releases.

Getting Started

First learn about Kargo Render in our docs.

Then, integrate with GitHub Actions. In this simple example, every commit to the main branch results in environment-specific configuration being rendered and written to the env/dev, env/stage, and env/prod branches.

name: Commit Workflow

on:
  push:
    branches:
    - main

permissions: 
  contents: write
  pull-requests: write # Optional, depending on your workflow

jobs:
  render-manifests:
    name: Render and Commit Manifests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        targetBranch:
        - env/dev
        - env/stage
        - env/prod
    steps:
    - name: Render and Commit Manifests
      uses: akuity/[email protected]
      with:
        personalAccessToken: ${{ secrets.GITHUB_TOKEN }}
        targetBranch: ${{ matrix.targetBranch }}

Contributing

Kargo Render for GitHub Actions accepts contributions via GitHub pull requests.

Support & Feedback

To report an issue, request a feature, or ask a question, please open an issue here.

Code of Conduct

Participation in Kargo Render for GitHub Actions is governed by the Contributor Covenant Code of Conduct.

kargo-render-action's People

Contributors

krancour avatar blakepettersson avatar benjaminneale-heritage avatar zachariah-stevenson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.