Skip to content

Commit

Permalink
Refactor deployment and yaml generation to use Helm
Browse files Browse the repository at this point in the history
- helm install brupop-crd --create-namespace deploy/charts/bottlerocket-shadow
- helm install brupop deploy/charts/bottlerocket-shadow
- Removes yamlgen subprogram
  - Snapshot testing of rust generated CRD yaml via insta

Signed-off-by: John McBride <[email protected]>
  • Loading branch information
jpmcb committed Feb 14, 2023
1 parent a8cc86b commit b6e00ce
Show file tree
Hide file tree
Showing 76 changed files with 3,349 additions and 2,265 deletions.
37 changes: 0 additions & 37 deletions .env

This file was deleted.

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

on:
release:
# Only cut new helm charts when a new release is published
types: [published]

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 "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.10.0

- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: deploy/charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Loading

0 comments on commit b6e00ce

Please sign in to comment.