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

ci: fix workflows lint & test #1344

Merged
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
5 changes: 5 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
- name: Set up chart-testing
uses: helm/[email protected]

- name: Add Helm Repositories
run: |
helm repo add sentry-kubernetes https://sentry-kubernetes.github.io/charts
helm repo update

- name: Run chart-testing (list-changed)
id: list-changed
run: |
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/lint.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ jobs:
- name: Build clickhouse chart
uses: WyriHaximus/github-action-helm3@v4
with:
exec: helm package -u main/clickhouse --destination gh-pages/charts
exec: helm package -u main/charts/clickhouse --destination gh-pages/charts

- name: Build sentry chart
uses: WyriHaximus/github-action-helm3@v4
with:
exec: helm package -u main/sentry --destination gh-pages/charts
exec: helm package -u main/charts/sentry --destination gh-pages/charts

- name: Build sentry-kubernetes chart
uses: WyriHaximus/github-action-helm3@v4
with:
exec: helm package -u main/sentry-kubernetes --destination gh-pages/charts
exec: helm package -u main/charts/sentry-kubernetes --destination gh-pages/charts

- name: Build sentry-kubernetes chart
uses: WyriHaximus/github-action-helm3@v4
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
** Please be patient while the chart is being deployed **
1. Get the Clickhouse URL by running:
{{- if .Values.clickhouse.ingress.enabled }}
export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }} -o jsonpath='{.spec.rules[0].host}')
echo "Clickhouse URL: http://$HOSTNAME/"
{{- else }}
echo URL : http://127.0.0.1:8080/
echo Management URL : http://127.0.0.1:8080/manager
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 8123:{{ .Values.clickhouse.http_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9000:{{ .Values.clickhouse.tcp_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9009:{{ .Values.clickhouse.interserver_http_port }}
{{- end }}
2. Get the Tabix URL by running:
{{- if .Values.tabix.ingress.enabled }}
export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }}-tabix -o jsonpath='{.spec.rules[0].host}')
echo "Tabix URL: http://$HOSTNAME/"
{{- else }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }}-tabix 80
{{- end }}
** Please be patient while the chart is being deployed **

1. Get the Clickhouse URL by running:

{{- if .Values.clickhouse.ingress.enabled }}

export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }} -o jsonpath='{.spec.rules[0].host}')
echo "Clickhouse URL: http://$HOSTNAME/"

{{- else }}

echo URL : http://127.0.0.1:8080/
echo Management URL : http://127.0.0.1:8080/manager
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 8123:{{ .Values.clickhouse.http_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9000:{{ .Values.clickhouse.tcp_port }}
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }} 9009:{{ .Values.clickhouse.interserver_http_port }}

{{- end }}

2. Get the Tabix URL by running:

{{- if .Values.tabix.ingress.enabled }}

export HOSTNAME=$(kubectl get ingress --namespace {{ .Release.Namespace }} {{ template "clickhouse.fullname" . }}-tabix -o jsonpath='{.spec.rules[0].host}')
echo "Tabix URL: http://$HOSTNAME/"

{{- else }}

kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "clickhouse.fullname" . }}-tabix 80

{{- end }}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ keywords:
sources:
- https://github.com/getsentry/sentry-kubernetes
- https://github.com/sentry-kubernetes/charts
maintainers:
- name: sentry-kubernetes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions sentry/values.yaml β†’ charts/sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ sentry:
enableFeedback: false
enableSpan: false

#example customFeature to enable Metrics(beta) https://docs.sentry.io/product/metrics/
#customFeatures:
#- organizations:custom-metric
#- organizations:custom-metrics-experimental
#- organizations:derive-code-mappings
# example customFeature to enable Metrics(beta) https://docs.sentry.io/product/metrics/
# customFeatures:
# - organizations:custom-metric
# - organizations:custom-metrics-experimental
# - organizations:derive-code-mappings

worker:
enabled: true
Expand Down Expand Up @@ -1619,13 +1619,13 @@ nginx:
ports:
http: 80
extraLocationSnippet: false
#extraLocationSnippet: |
# extraLocationSnippet: |
# location /admin {
# allow 1.2.3.4; # VPN network
# deny all;
# proxy_pass http://sentry;
# }
## Use this to enable an extra service account
# Use this to enable an extra service account
# serviceAccount:
# create: false
# name: nginx
Expand Down Expand Up @@ -1992,7 +1992,7 @@ externalPostgresql:
username: postgres
# password: postgres
# existingSecret: secret-name
## set existingSecretKeys in a secret, if not specified, value from the secret won't be used
## set existingSecretKeys in a secret, if not specified, value from the secret won't be used
existingSecretKeys: {}
# password: password
# username: username
Expand Down
6 changes: 3 additions & 3 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
"clickhouse": {
"charts/clickhouse": {
"release-type": "helm",
"changelog-path": "CHANGELOG.md"
},
"sentry": {
"charts/sentry": {
"release-type": "helm",
"changelog-path": "CHANGELOG.md"
},
"sentry-kubernetes": {
"charts/sentry-kubernetes": {
"release-type": "helm",
"changelog-path": "CHANGELOG.md"
}
Expand Down
Loading