diff --git a/.github/workflows/lint-helm.yml b/.github/workflows/lint-helm.yml deleted file mode 100644 index c383b6a35..000000000 --- a/.github/workflows/lint-helm.yml +++ /dev/null @@ -1,32 +0,0 @@ -# workflows/lint-helm.yml -# -# Lint Helm -# Lint Helm Charts using Helm. - -name: Lint Helm - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths: - - "charts/paradedb/*" - - ".github/workflows/lint-helm.yml" - workflow_dispatch: - -concurrency: - group: lint-helm-${{ github.head_ref || github.ref }} - cancel-in-progress: true - -jobs: - lint-helm: - name: Lint Helm Charts - runs-on: ubuntu-latest - if: github.event.pull_request.draft == false - - steps: - - name: Checkout Git Repository - uses: actions/checkout@v4 - - - name: Check Helm Formatting - working-directory: charts/paradedb/ - run: helm lint . --strict diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml deleted file mode 100644 index 68e11be5f..000000000 --- a/.github/workflows/release-publish.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: release-publish - -on: - push: - branches: - - main - -permissions: - contents: write # Required for pushing the Helm charts to the gh-pages branch - packages: write # Required for GHCR access - id-token: write # Required for signing - -jobs: - release: - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - with: - fetch-depth: 0 # important for fetching all history to run comparison against - - - name: Fetch history - run: git fetch --prune - - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - - name: Import PGP Private Key - run: | - echo "${{ secrets.PGP_PRIVATE_KEY }}" | gpg --dearmor --output /tmp/keyring.gpg - echo "${{ secrets.PGP_KEY_PASSPHRASE }}" > /tmp/passphrase-file.txt - - - name: Set up Helm - uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 - with: - version: v3.14.1 - - - name: Add chart dependencies - run: | - helm repo add cnpg-grafana-dashboard https://cloudnative-pg.github.io/grafana-dashboards - - - name: Run chart-releaser - uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0 - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - CR_KEY: helm-charts+no-reply@cloudnative-pg.io - CR_KEYRING: /tmp/keyring.gpg - CR_PASSPHRASE_FILE: /tmp/passphrase-file.txt - CR_SIGN: true - CR_SKIP_EXISTING: true - CR_GENERATE_RELEASE_NOTES: true - CR_RELEASE_NAME_TEMPLATE: "{{ .Name }}-v{{ .Version }}" - - - name: Securely delete the PGP key and passphrase - if: always() - run: shred --remove=wipesync /tmp/keyring.gpg /tmp/passphrase-file.txt \ No newline at end of file