Skip to content

Commit

Permalink
ci: make helm release manual (grafana#14317)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney authored and jeschkies committed Oct 1, 2024
1 parent 3dd8cf1 commit a85a065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/helm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- "production/helm/**"
- ".github/workflows/helm-ci.yml"

env:
CT_CONFIGFILE: production/helm/ct.yaml
Expand All @@ -27,14 +28,6 @@ jobs:
- name: Lint Yaml
run: make helm-lint

- id: "get_github_app_token"
name: "Get Github app token"
uses: "actions/create-github-app-token@v1"
with:
app-id: "${{ secrets.APP_ID }}"
owner: "${{ github.repository_owner }}"
private-key: "${{ secrets.APP_PRIVATE_KEY }}"

- name: Lint Code Base
uses: docker://github/super-linter:v3.12.0
env:
Expand All @@ -45,7 +38,7 @@ jobs:
VALIDATE_YAML: false
VALIDATE_GO: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ steps.get_github_app_token.outputs.token }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
call-test:
name: Test Helm Chart
runs-on: ubuntu-latest
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: helm-release

on:
push:
branches:
- main
- helm-5.48
paths:
- 'production/helm/loki/Chart.yaml'
workflow_dispatch: # must be invoked manually

jobs:
call-update-helm-repo:
Expand Down

0 comments on commit a85a065

Please sign in to comment.