Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/values-schema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Generate values schema json
on:
pull_request:
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v4
with:
# renovate: datasource=github-tags depName=helm/helm
version: v3.17.1
- name: Generate values schema json
uses: losisin/helm-values-schema-json-action@v1
with:
input: charts/jenkins/values.yaml
output: charts/jenkins/values.schema.json
indent: 2
id: "https://charts.jenkins.io/values.schema.json"
title: "Jenkins Helm Chart"
description: "Values schema for Jenkins Helm Chart"
fail-on-diff: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this fails the build if its out of date?

What's the expected workflow?

If a developer is supposed to run something then:

  1. Needs update to https://github.com/jenkinsci/helm-charts/blob/main/CONTRIBUTING.md
  2. Update to PR template

4 changes: 4 additions & 0 deletions charts/jenkins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Use the following links to reference issues, PRs, and commits prior to v2.6.0.
The changelog until v1.5.7 was auto-generated based on git commits.
Those entries include a reference to the git commit to be able to get more details.

## 5.8.13

Generate values.schema.json

## 5.8.12

Update plugin count.
Expand Down
2 changes: 1 addition & 1 deletion charts/jenkins/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: jenkins
type: application
home: https://www.jenkins.io/
version: 5.8.12
version: 5.8.13
appVersion: 2.492.1
description: >
Jenkins - Build great things at any scale! As the leading open source automation server, Jenkins provides over 2000 plugins to support building, deploying and automating any project.
Expand Down
Loading
Loading