Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add github-comment-ops chart #2631

Merged
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
12 changes: 12 additions & 0 deletions clusters/prodpublick8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ repositories:
url: https://charts.jetstack.io
- name: prometheus-community
url: https://prometheus-community.github.io/helm-charts
- name: github-comment-ops
url: https://timja.github.io/github-comment-ops/
releases:
- name: datadog
namespace: datadog
Expand Down Expand Up @@ -253,3 +255,13 @@ releases:
- public-nginx-ingress/public-nginx-ingress # Required to expose both the UI and the webhooks endpoint
values:
- "../config/jenkinsisthewayio.yaml"
- name: github-comment-ops
namespace: github-comment-ops
chart: github-comment-ops/github-comment-ops
version: 1.2.0
needs:
- public-nginx-ingress/public-nginx-ingress # Required to expose the webhooks endpoint
values:
- "../config/ext_github-comment-ops.yaml"
secrets:
- "../secrets/config/github-comment-ops/secrets.yaml"
15 changes: 15 additions & 0 deletions config/ext_github-comment-ops.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ingress:
enabled: true
className: public-nginx
annotations:
"cert-manager.io/cluster-issuer": "letsencrypt-prod"
"nginx.ingress.kubernetes.io/ssl-redirect": "true"
hosts:
- host: webhook-github-comment-ops.jenkins.io
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: github-comment-ops-tls
hosts:
- webhook-github-comment-ops
Copy link
Contributor

Choose a reason for hiding this comment

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

- webhook-github-comment-ops.jenkins.io

41 changes: 41 additions & 0 deletions updatecli/updatecli.d/charts/github-comment-ops.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
title: "Bump github-comment-ops Helm Chart Version"

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
lastChartVersion:
kind: helmchart
spec:
url: https://timja.github.io/github-comment-ops
name: github-comment-ops

targets:
updateChartVersion:
name: "Update the chart version for github-comment-ops"
kind: file
spec:
file: clusters/prodpublick8s.yaml
matchpattern: 'chart: github-comment-ops\/github-comment-ops((\r\n|\r|\n)(\s+))version: .*'
replacepattern: 'chart: github-comment-ops/github-comment-ops${1}version: {{ source "lastChartVersion" }}'
scmid: default

pullrequests:
default:
kind: github
scmid: default
targets:
- updateChartVersion
spec:
labels:
- dependencies
- github-comment-ops