Skip to content

Commit 3db90db

Browse files
author
Ildar Iskhakov
authored
Merge pull request #95 from grafana/dev
Merge dev to main
2 parents 46f95aa + a3ee992 commit 3db90db

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,18 @@ jobs:
2626
- name: Lint All
2727
run: |
2828
pre-commit run --all-files
29-
29+
30+
test-technical-documentation:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: "Check out code"
34+
uses: "actions/checkout@v3"
35+
- name: "Build website"
36+
# -e HUGO_REFLINKSERRORLEVEL=ERROR prevents merging broken refs with the downside
37+
# that no refs to external content can be used as these refs will not resolve in the
38+
# docs-base image.
39+
run: |
40+
docker run -v ${PWD}/docs/sources:/hugo/content/docs/oncall/latest -e HUGO_REFLINKSERRORLEVEL=ERROR --rm grafana/docs-base:latest /bin/bash -c 'make hugo'
3041
3142
unit-test-backend:
3243
runs-on: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Latest Release](https://img.shields.io/github/v/release/grafana/oncall?display_name=tag&sort=semver)](https://github.com/grafana/oncall/releases)
44
[![License](https://img.shields.io/github/license/grafana/oncall)](https://github.com/grafana/oncall/blob/dev/LICENSE)
55
[![Docker Pulls](https://img.shields.io/docker/pulls/grafana/oncall)](https://hub.docker.com/r/grafana/oncall/tags)
6-
[![Slack](https://img.shields.io/badge/join%20slack-%23grafana-%2Doncall-brightgreen.svg)](https://grafana.slack.com/archives/C02LSUUSE2G)
6+
[![Slack](https://img.shields.io/badge/join%20slack-%23grafana-%2Doncall-brightgreen.svg)](https://slack.grafana.com/)
77
[![Discussion](https://img.shields.io/badge/discuss-oncall%20forum-orange.svg)](https://github.com/grafana/oncall/discussions)
88
[![Build Status](https://drone.grafana.net/api/badges/grafana/oncall/status.svg?ref=refs/heads/dev)](https://drone.grafana.net/grafana/oncall)
99

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Grafana Cloud Documentation
22

3-
Source for documentation at https://grafana.com/docs/amixr/
3+
Source for documentation at https://grafana.com/docs/oncall/
44

55
## Preview the website
66

engine/config_integrations/alertmanager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
{%- if "status" in payload -%}
9797
<b>Status</b>: {{ payload.status }}
9898
{% endif -%}
99-
<b>Labels:** {% for k, v in payload["labels"].items() %}
99+
<b>Labels:</b> {% for k, v in payload["labels"].items() %}
100100
{{ k }}: {{ v }}{% endfor %}
101101
<b>Annotations:</b>
102102
{%- for k, v in payload.get("annotations", {}).items() %}
@@ -211,7 +211,7 @@
211211
"title": "KubeJobCompletion",
212212
"message": (
213213
"<b>Status</b>: firing\n"
214-
"<b>Labels:** \n"
214+
"<b>Labels:</b> \n"
215215
"job: kube-state-metrics\n"
216216
"instance: 10.143.139.7:8443\n"
217217
"job_name: email-tracking-perform-initialization-1.0.50\n"

engine/settings/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@
350350
SOCIAL_AUTH_SLACK_LOGIN_SECRET = SLACK_CLIENT_OAUTH_SECRET
351351

352352
SOCIAL_AUTH_SETTING_NAME_TO_LIVE_SETTING_NAME = {
353+
"SOCIAL_AUTH_SLACK_LOGIN_KEY": "SLACK_CLIENT_OAUTH_ID",
354+
"SOCIAL_AUTH_SLACK_LOGIN_SECRET": "SLACK_CLIENT_OAUTH_SECRET",
353355
"SOCIAL_AUTH_SLACK_INSTALL_FREE_KEY": "SLACK_CLIENT_OAUTH_ID",
354356
"SOCIAL_AUTH_SLACK_INSTALL_FREE_SECRET": "SLACK_CLIENT_OAUTH_SECRET",
355357
}

engine/uwsgi.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ harakiri=620
1111
max-requests=5000
1212
vacuum=True
1313
buffer-size=65535
14-
listen=1024
1514
http-auto-chunked=True
1615
http-timeout=620
1716
post-buffering=1

0 commit comments

Comments
 (0)