Skip to content

Kustomize Pluto (Helm inheritance) #318

Kustomize Pluto (Helm inheritance)

Kustomize Pluto (Helm inheritance) #318

# vim:ts=2:sts=2:sw=2:et
#
# Author: Hari Sekhon
# Date: 2022-08-13 09:54:19 +0100 (Sat, 13 Aug 2022)
#
# https://github.com/HariSekhon/Kubernetes-configs
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
---
name: Kustomize Pluto (Helm inheritance)
on:
push:
branches:
- master
paths:
- '*.yaml'
- .github/workflows/kustomize-pluto.yaml
- .github/actions/install-kustomize/action.yaml
- .github/actions/kustomizations-materizalize/action.yaml
pull_request:
branches:
- master
paths:
- '*.yaml'
- .github/workflows/kustomize-pluto.yaml
- .github/actions/install-kustomize/action.yaml
- .github/actions/kustomizations-materialize/action.yaml
workflow_dispatch: # needs to be in default branch before you get the UI option to manually run though
inputs:
debug:
type: boolean
required: false
default: false
schedule:
- cron: '0 0 * * 1'
permissions:
contents: read
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
defaults:
run:
shell: bash -euxo pipefail {0}
env:
DEBUG: ${{ github.event.inputs.debug == true || '' }}
jobs:
kustomize-pluto:
name: Kustomize Pluto
runs-on: ubuntu-latest
steps:
- name: Environment
run: env | sort
- uses: actions/checkout@v3
- name: Download Pluto
uses: FairwindsOps/pluto/github-action@master
- name: Pluto version
run: pluto version
- uses: ./.github/actions/install-kustomize
- uses: ./.github/actions/kustomizations-materialize
- name: Pluto detect-files
run: pluto detect-files -d .
# --no-footer needs new version
#run: pluto detect-files -d . --no-footer