From c63499b6c83e491f426eec43495e2cb92ff881b4 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Feb 2024 07:23:04 -0800 Subject: [PATCH] remove package.json, update scripts/emit-values --- .github/workflows/CI.yaml | 2 +- package.json | 1 - scripts/emit-values | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 package.json diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index c66d044..e859280 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -96,6 +96,6 @@ jobs: # working-directory: ./charts/${{matrix.chart}} # run: helm test - - name: Delete cluster (since we're done) + - name: Delete Minikube cluster if: ${{ always() }} run: minikube delete --profile=helm-test diff --git a/package.json b/package.json deleted file mode 100644 index 5d0f733..0000000 --- a/package.json +++ /dev/null @@ -1 +0,0 @@ -{ "dependencies": { "@bitnami/readme-generator-for-helm": "/workspaces/Noelware/Products/charted/helm-charts/.cache/bitnami-helm-gen" } } \ No newline at end of file diff --git a/scripts/emit-values b/scripts/emit-values index a39509a..4f452c3 100755 --- a/scripts/emit-values +++ b/scripts/emit-values @@ -47,6 +47,9 @@ if ! [ -d "$DIR/.cache/bitnami-helm-gen" ]; then bun install "$DIR/.cache/bitnami-helm-gen" fi +# Bun emits a `package.json` if .cache/bitnami-helm-gen exists, so we don't need this. +[ -f "$DIR/package.json" ] && rm "$DIR/package.json" + # TODO(@auguwu): auto generate this list (if we need to) charts=( "$DIR/charts/charted"