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

Remove yamlgen. Refactor deployment and yaml generation to use Helm templating #350

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
46 changes: 0 additions & 46 deletions .env

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/deploy-helm-charts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release Helm Charts

# Only cut new helm charts when:
# - a new release is published
# - a maintainer runs the workflow explicitly via "gh workflow run"
on:
workflow_dispatch:
release:
types: [published]
jpmcb marked this conversation as resolved.
Show resolved Hide resolved

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout brupop
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.10.0

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.4.1
stmcginnis marked this conversation as resolved.
Show resolved Hide resolved
with:
charts_dir: deploy/charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"