Skip to content

Repository files navigation


entur/gha-helm

Entur/Helm/CI

GitHub Actions for working with Helm

Golden Path

  • ./helm/your_chart at the root of your repository
  • Chart name matches the repository name

Usage

For complete usage examples and golden path recommendations, see the Platform Examples repository.

Examples

Let's look at an example, assume our repo is called amazing-app:

λ amazing-app ❯ tree
.
├── README.md
├── helm/amazing-app
└── .github
    └── workflows
        └── ci.yml
# ci.yml
name: CI

on:
  pull_request:

jobs:
  helm-lint:
    uses: entur/gha-helm/.github/workflows/lint.yml@v1
# cd.yml
name: CD

on:
  push:

jobs:
  helm-deploy:
    uses: entur/gha-helm/.github/workflows/deploy.yml@v1
    with:
      environment: prd
      image: amazing-app:latest
      slack_channel_id: GXYZABCD # optional slack channel ID for notifications
    secrets: inherit # required for slack notifications

About

GitHub Actions for working with Helm

Topics

Resources

Contributing

Stars

0 stars

Watchers

12 watching

Forks

Releases

Used by

Contributors

Languages