Commit graph

4688 commits

Author SHA1 Message Date
grafana-irm-app[bot]
f1439be7c1
Merge pull request #5083 from grafana/helm-release/1.9.29
Merge: Release oncall Helm chart 1.9.29
2024-09-24 20:44:04 +00:00
GitHub Actions
355d1dc284 Release oncall Helm chart 1.9.29 2024-09-24 20:43:32 +00:00
Joey Orlando
4b374a78fe
Revert "Merge: Release oncall Helm chart 1.9.29" 2024-09-24 16:20:40 -04:00
Joey Orlando
c3641acf6a
Revert "Merge: Release oncall Helm chart 1.9.29" 2024-09-24 16:20:25 -04:00
Joey Orlando
cbd6950e4a
debugging helm pr merged workflow 2024-09-24 16:17:59 -04:00
grafana-irm-app[bot]
646f10f30b
Merge pull request #5081 from grafana/helm-release/1.9.29
Merge: Release oncall Helm chart 1.9.29
2024-09-24 19:54:02 +00:00
GitHub Actions
3a2bfa9972 Release oncall Helm chart 1.9.29 2024-09-24 19:53:39 +00:00
Joey Orlando
19a37c0ba7
v1.9.29 2024-09-24 15:35:05 -04:00
Joey Orlando
4a9c315dec
Reverts grafana/oncall#5077 2024-09-24 15:34:35 -04:00
Joey Orlando
9d20f61389
chore: merge helm request PRs using the grafana-irm-app GitHub App (#5078)
# What this PR does

Stop merging Helm release chart PRs as me 🙃 and instead use the "Grafana
IRM App" GitHub App credentials:

<img width="936" alt="Screenshot 2024-09-24 at 2 56 25 PM"
src="https://github.com/user-attachments/assets/477fdad0-4c0b-4ae9-b390-92187fcaf64c">
2024-09-24 15:31:59 -04:00
Joey Orlando
3e15bdab92
debugging helm pr merged workflow 2024-09-24 15:30:56 -04:00
Joey Orlando
51c72fcea2
feat: add Grafana IDs to users and teams public API endpoints (#5075)
# What this PR does

- add Grafana IDs to users and teams public API endpoints
- update Schedules public API docs to reflect the fact that [we allow
filtering by
`team_id`](https://github.com/grafana/oncall/blob/dev/engine/apps/public_api/views/schedules.py#L42)

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-24 19:16:22 +00:00
Joey Orlando
5fb2a8a973
Merge pull request #5077 from grafana/helm-release/1.9.29
Merge: Release oncall Helm chart 1.9.29
2024-09-24 14:49:33 -04:00
GitHub Actions
b9a040781d Release oncall Helm chart 1.9.29 2024-09-24 18:49:07 +00:00
Joey Orlando
5087dd2f23
Revert "Merge: Release oncall Helm chart 1.9.29" 2024-09-24 14:33:34 -04:00
Joey Orlando
60f720aa8d
Revert "Merge: Release oncall Helm chart 1.9.29" 2024-09-24 14:33:22 -04:00
Joey Orlando
acf643f43b
debugging (again) update helm-charts repo github workflow 2024-09-24 14:32:45 -04:00
Joey Orlando
5cf479dcdb
Merge pull request #5074 from grafana/helm-release/1.9.29
Merge: Release oncall Helm chart 1.9.29
2024-09-24 14:17:10 -04:00
GitHub Actions
fcb3c639dd Release oncall Helm chart 1.9.29 2024-09-24 18:16:48 +00:00
Joey Orlando
40f8d7b013
Revert "Merge: Release oncall Helm chart 1.9.29" 2024-09-24 14:00:13 -04:00
Joey Orlando
229179fc97
Revert "Merge: Release oncall Helm chart 1.9.29" 2024-09-24 13:59:52 -04:00
Joey Orlando
74159054a6
patching helm update github workflow 2024-09-24 13:52:37 -04:00
Joey Orlando
1892d347d1
Merge pull request #5071 from grafana/helm-release/1.9.29
Merge: Release oncall Helm chart 1.9.29
2024-09-24 13:36:36 -04:00
GitHub Actions
645cfee26a Release oncall Helm chart 1.9.29 2024-09-24 17:36:16 +00:00
Joey Orlando
dabba1fa10
v1.9.29 2024-09-24 13:20:47 -04:00
Yulya Artyukhina
fc58aaad20
Merge main to dev (#5068)
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
Co-authored-by: GitHub Actions <actions@github.com>
Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
Co-authored-by: Matias Bordese <mbordese@gmail.com>
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Dominik Broj <dominik.broj@grafana.com>
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
Co-authored-by: Ildar Iskhakov <Ildar.iskhakov@grafana.com>
2024-09-24 13:13:51 -04:00
Joey Orlando
d958bffe8f
Merge branch 'dev' into main 2024-09-24 13:12:32 -04:00
Joey Orlando
7586b04f8a
fix "on helm release pr merged" GitHub Actions workflow (#5069)
# What this PR does

- Closes https://github.com/grafana/oncall/issues/5065
- Fixes [failing update Helm repo github
workflows](https://github.com/grafana/oncall/actions/workflows/on-helm-release-pr-merged.yml)
(due to `secrets. GH_HELM_RELEASE` now seeming to return "Bad
credentials")

## TODO

- [ ] after this PR is merged and change merged to `main`, remove
`GH_HELM_RELEASE` repository secret

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-24 17:00:37 +00:00
Yulya Artyukhina
cd54600340
Merge pull request #5067 from grafana/julia/add_started_at_default_filter_value
Add default value for `started_at` filter for `/alertgroups` internal endpoint
2024-09-24 18:14:21 +02:00
Julia
1065748008 update filtering by started_at 2024-09-24 18:00:45 +02:00
Julia
f577073464 Fix comment 2024-09-24 17:38:48 +02:00
Julia
5fd1cf3be3 Add default value for started_at filter for /alertgroups internal endpoint 2024-09-24 17:35:52 +02:00
maltelehmann
5bce7bf9da
docs: add templates.mobile_app entry to Integrations API docs (#5054)
# What this PR does

Related to
https://github.com/grafana/terraform-provider-grafana/issues/1665

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2024-09-24 10:47:43 -04:00
Matias Bordese
4abfb205ef
Ignore resolve condition template if source resolving is disabled (#5049)
Related to https://github.com/grafana/support-escalations/issues/12528
2024-09-23 18:01:59 +00:00
Joey Orlando
737eaf79cc
ci: patch issue in gcom curl command (#5061)
## Which issue(s) this PR closes

Fix
https://github.com/grafana/oncall/actions/runs/10997991428/job/30535419238#step:9:1
2024-09-23 12:30:31 -04:00
Joey Orlando
f5f18f2f62
Merge pull request #5062 from grafana/helm-release/1.9.27
Merge: Release oncall Helm chart 1.9.27
2024-09-23 12:27:36 -04:00
GitHub Actions
7facac4aef Release oncall Helm chart 1.9.27 2024-09-23 16:27:13 +00:00
Joey Orlando
1f3edd6ba9
v1.9.27 2024-09-23 11:58:25 -04:00
Joey Orlando
e882e9782d
ci: update oss plugin release process (#5051)
# What this PR does

Related to https://github.com/grafana/irm/pull/137 (**NOTE**: should
only be merged after those changed are back-merged here into
`grafana/oncall`)

## Which issue(s) this PR closes

Also, fixes https://github.com/grafana/oncall/issues/5028

---------

Co-authored-by: Dominik <dominik.broj@grafana.com>
2024-09-23 11:56:16 -04:00
Ravishankar
20d2d5a578
feat: Add silence and unsilence public api endpoint (#5031)
# What this PR does
Exposes alert group silence and unsilence via public api endpoint

## Which issue(s) this PR closes
[#5026](https://github.com/grafana/oncall/issues/5026)

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-23 12:33:12 +00:00
Joey Orlando
d82ca01b31
Merge pull request #5058 from grafana/helm-release/1.9.26
Merge: Release oncall Helm chart 1.9.26
2024-09-23 05:56:13 -04:00
GitHub Actions
d26b35b616 Release oncall Helm chart 1.9.26 2024-09-23 09:55:53 +00:00
Ildar Iskhakov
65fce5e73c
Merge pull request #5057 from grafana/dev
v1.9.26
2024-09-23 17:30:12 +08:00
Ildar Iskhakov
82c564fecb
Check for invalid urls in slack (#5055)
# What this PR does


We recently changed the default template
(https://github.com/grafana/oncall/pull/5005) but some alertmanagers may
send invalid URLs.

Our fronted has the check for invalid URLs ("he Integration template
Source Link is invalid"), but slack does not, so I added this check


## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-23 08:45:32 +00:00
Ravishankar
1f209cd2bd
fix: Add rolling users validation for oncall shift API (#5050)
# What this PR does
Adds validation for rolling users param in the shift api

## Which issue(s) this PR closes
Closes [5041](https://github.com/grafana/oncall/issues/5041)

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-20 21:06:33 +00:00
Joey Orlando
2cb8f4a24f
ci: fix snyk security scans (#5046)
# What this PR does

Similar to https://github.com/grafana/gops-labels/pull/137, use common
vault secret rather than the org github secret
2024-09-19 16:05:16 -04:00
Jack Baldry
d9b1196e3c
Use centralized 'Add to docs project' workflow with GitHub App auth (#5045)
Until this is merged, it is likely that any issues labeled `type/docs`
won't be added to the [organization
project](https://github.com/orgs/grafana/projects/69).

The underlying action is centralized so that any future changes are made
in one place (`grafana/writers-toolkit`). The action is versioned to
protect workflows from breaking changes.

The action uses Vault secrets instead of the discouraged organization
secrets.

The workflow uses a consistent name so that future changes can be made
programmatically.

Relates to
https://github.com/orgs/grafana/projects/279/views/9?pane=issue&itemId=44280262

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2024-09-19 15:01:18 +00:00
Matias Bordese
11f5f489df
Add incident API client (#5040)
Related to https://github.com/grafana/oncall-private/issues/2831
2024-09-19 13:35:42 +00:00
Rares Mardare
f0bfc4d40b
Rares/v1.6.5 labels (#5042)
Required for https://github.com/grafana/gops-labels/pull/140

---------

Co-authored-by: Dominik Broj <dominik.broj@grafana.com>
2024-09-19 12:03:47 +00:00
Dominik Broj
3a125e004f
test: use 4 workers, disable timezone test (#5044)
# What this PR does
Toggle off timezone test temporarily
Use 4 workers always

## Which issue(s) this PR closes

Related to [issue link here]

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-09-19 11:25:17 +00:00