Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Generate mock files from a live Alertmanager instance #87

Merged
merged 2 commits into from
May 2, 2017
Merged

Conversation

prymitive
Copy link
Contributor

Instead of manually generating mock API data spawn a docker, feed it with alerts & silences and then collect API responses. And now we can do it with a single command we can have mocks for many many Alertmanager releases.

This PR depends on #86 as I've branched it on top of it.

prymitive added 2 commits May 2, 2017 10:28
This will allow moving away from manually captured/edited mock API responses and start generating them by sending alerts & silences to a live Alertmanager instance
Generate mock data for all Alertmanager releases that we can support (0.4 - 0.6) and switch tests to use them instead of old files
Fixes #67
@prymitive prymitive merged commit f9bd5eb into master May 2, 2017
@prymitive prymitive deleted the livemocks branch May 2, 2017 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants