Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added charts #15

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/helm-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Helm PR Workflow

on:
pull_request:
workflow_dispatch:

jobs:
lint-test:
runs-on: ubuntu-latest
name: Helm Chart Lint
env:
CT_CHART_DIRS: charts
CT_TARGET_BRANCH: $GITHUB_BASE_REF
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1

- name: Fake validator
run: |
ls -la
echo "Faking validator"
36 changes: 36 additions & 0 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Helm Release Workflow

on:
push:
branches:
- main
workflow_dispatch:

jobs:
helm-release:
runs-on: ubuntu-latest
name: Release Helm Chart
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"

- name: Install Helm
uses: azure/setup-helm@v1

# - name: Add Helm Repo dependencies
# run: helm repo add bitnami https://charts.bitnami.com/bitnami

- name: Run User chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.REPO_TOKEN }}"
CR_SKIP_EXISTING: true
with:
charts_dir: charts
40 changes: 0 additions & 40 deletions .github/workflows/lint-test.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/release.yaml

This file was deleted.