oncall-engine/.github/workflows
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
..
e2e-tests.yml Use ops-devenv only in expensive tests (#4285) 2024-04-26 17:41:08 -04:00
expensive-e2e-tests.yml Use ops-devenv only in expensive tests (#4285) 2024-04-26 17:41:08 -04:00
helm_release.yml configure yamllint pre-commit step (#2728) 2023-08-03 02:35:08 -04:00
helm_release_pr.yml configure yamllint pre-commit step (#2728) 2023-08-03 02:35:08 -04:00
issue_commands.yml configure yamllint pre-commit step (#2728) 2023-08-03 02:35:08 -04:00
linting-and-tests.yml Splunk OnCall migration tool (#4267) 2024-05-14 13:53:59 +00:00
on-issue-creation.yml update PR template + change assigned label on issue creation (#4020) 2024-03-06 12:08:41 +00:00
publish-technical-documentation-next.yml fix documentation CI job yaml formatting issue 2023-08-17 11:07:36 +02:00
publish-technical-documentation-release.yml remove extraneous double quote 2023-08-17 11:19:05 +02:00
snyk.yml Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
triage-stale-pull-requests.yml Add GitHub action cron job to triage stale GH issues (#3209) 2023-11-07 13:46:37 -05:00
update-make-docs.yml Update make docs procedure (#3265) 2023-11-06 10:09:09 +00:00
verify-public-docs-updated.yml configure yamllint pre-commit step (#2728) 2023-08-03 02:35:08 -04:00
verify-release-label-added.yml Allow e2e tests GitHub Actions job to run for PRs from external forks (#4024) 2024-03-06 18:20:55 +00:00