Skip to content

Commit

Permalink
fix(ci): Fix Ci processes
Browse files Browse the repository at this point in the history
- [x] Add helm-docs generation to `studio-release` process (and remove go command)
- [x] Fix Trufflehog
- [x] Extend Renovate schedule window to whole Wednesday
  • Loading branch information
mjasion committed Feb 12, 2024
1 parent 8e5e15f commit c068aac
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"schedule": ["before 12am on Wednesday"],
"schedule": ["on Wednesday"],
"assigneesFromCodeOwners": true,
"labels": ["dependencies"],
"rebaseWhen": "conflicted",
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/helm-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
with:
token: ${{ steps.generate_token.outputs.token }}

- name: Run helm-docs from go
working-directory: charts/studio/
run: |
go run github.com/norwoodj/helm-docs/[email protected]
- name: Run helm-docs
working-directory: charts/studio/
run: |
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/leaked_secrets_scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
trufflehog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: TruffleHog OSS
- if: github.ref_name != 'main'
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --debug --only-verified
- if: github.ref_name == 'main'
uses: trufflesecurity/trufflehog@main
with:
path: ./
extra_args: --debug --only-verified
6 changes: 6 additions & 0 deletions .github/workflows/studio_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
do
go run github.com/mikefarah/yq/[email protected] eval --inplace "$expression" charts/studio/Chart.yaml
done
- name: Run helm-docs
working-directory: charts/studio/
run: |
docker run --pull always --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
- uses: iterative/setup-cml@v1
- run: >
cml pr create .
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.9.2](https://img.shields.io/badge/Version-0.9.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.72.0](https://img.shields.io/badge/AppVersion-v2.72.0-informational?style=flat-square)
![Version: 0.9.31](https://img.shields.io/badge/Version-0.9.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.85.2](https://img.shields.io/badge/AppVersion-v2.85.2-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down

0 comments on commit c068aac

Please sign in to comment.