oncall-engine/.github
Joey Orlando c46dff09d9
Splunk OnCall migration tool (#4267)
# What this PR does

Refactors the PagerDuty migration script to be a bit more generic + adds
a migration script to migrate from Splunk OnCall (VictorOps)

tldr;
```bash
❯ docker build -t oncall-migrator .
[+] Building 0.4s (10/10) FINISHED
❯ docker run --rm \
-e MIGRATING_FROM="pagerduty" \
-e MODE="plan" \
-e ONCALL_API_URL="http://localhost:8080" \
-e ONCALL_API_TOKEN="<ONCALL_API_TOKEN>" \
-e PAGERDUTY_API_TOKEN="<PAGERDUTY_API_TOKEN>" \
oncall-migrator
running pagerduty migration script...

❯ docker run --rm \
-e MIGRATING_FROM="splunk" \
-e MODE="plan" \
-e ONCALL_API_URL="http://localhost:8080" \
-e ONCALL_API_TOKEN="<ONCALL_API_TOKEN>" \
-e SPLUNK_API_ID="<SPLUNK_API_ID>" \
-e SPLUNK_API_KEY="<SPLUNK_API_KEY>" \
oncall-migrator
migrating from splunk oncall...
```

https://www.loom.com/share/a855062d436a4ef79f030e22528d8c71

## 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-05-14 13:53:59 +00:00
..
ISSUE_TEMPLATE configure yamllint pre-commit step (#2728) 2023-08-03 02:35:08 -04:00
workflows Splunk OnCall migration tool (#4267) 2024-05-14 13:53:59 +00:00
CODEOWNERS allow @grafana/grafana-oncall GitHub team users to approve changes to /docs (#4026) 2024-03-07 17:09:56 +00:00
helm-ci.yml Configure cross plugin e2e tests (#4222) 2024-04-25 06:25:59 +00:00
issue_and_pr_commands.json add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
pull_request_template.md remove GOVERNANCE.md and MAINTAINERS.md (#4021) 2024-03-07 17:28:58 +00:00
release.yml Automate release note generation (#4004) 2024-03-06 14:37:55 +00:00
verify-public-docs-updated.sh add small script + github action to check that public docs updated (#1177) 2023-01-20 13:23:06 +01:00