Skip to content

replicatedhq/action-kots-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-kots-lint

A github Action to lint application manifests for a Replicated KOTS application.

Usage

An example workflow is included at ./.github/workflows/main.yml

name: Lint KOTS Application Manifests

on: [push]

jobs:
  create-release:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: replicatedhq/[email protected]
      name: Lint the release manifests
      with:
        replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}
        replicated-app: ${{ secrets.REPLICATED_APP }}
        yaml-dir: manifests

Inputs

replicated-app

The application slug or ID for this application. This can be found at vendor.replicated.com/settings.

replicated-api-token

A Replicated Service Account API token. Create one in the vendor portal under Service Accounts.

yaml-dir

A directory containing KOTS manifests, defaults to ./manifests.

Limiting to specific branches or patterns

To limit which branches create releases or more advanced branch filtering, check out the GitHub Actions docs on workflow triggers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 6