Commit c97c7a0
authored
[CLOUDP-361632] Add information about latest OM and agent in release.json (#622)
# Summary
We have been getting some request from the customers where they wanted
to know the combination of the container images that they require to run
a specific version of operator and Mongo DB instance. As part of that
work we are going to add a new file (release_info.json) as the assets in
the GitHub release.
That file is going to have details about the latest released images.
These images are going to be the images that MCK publishes as well as
the latest OM and Agent version mappings. To enable that, as part of
this PR we are adding a new field in the `release.json` that has the
mapping between OM version and agent version of latest OM releases. This
new field in the `release.json` is going to have the opsManaget to agent
image version mapping for every major opsmanager version.
We are adding this information in the `release.json` so that it can
easily be used later (in next PR), to create the release_info.json file.
This PR also updated the precommit hook so that when new version of OM
is released, the newly added field of release.json would properly be
updated with newly release OM/agent.
## Proof of Work
Manual:
- Mimic new release of OM by adding a new version (8.0.17) to
`supportedImages.ops-manager.versions` and respective entry in
`mongodb-agent.opsManagerMapping`. Run `make precommit` and verify that
the `supportedImages.latestOpsManagerAgentMapping` has been updated for
major version 8 with updated versions.
- Mimic the new major version release of OM by adding new version
(9.0.1) to `supportedImages.ops-manager.versions` and respective entry
in `mongodb-agent.opsManagerMapping`. Run `make precommit` and verify
that a new entry for major version 9 has been added to
`supportedImages.latestOpsManagerAgentMapping`.
## Checklist
- [x] Have you linked a jira ticket and/or is the ticket in the title?
- [x] Have you checked whether your jira ticket required DOCSP changes?
- [ ] Have you added changelog file? (will show up later)
- use `skip-changelog` label if not needed
- refer to [Changelog files and Release
Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes)
section in CONTRIBUTING.md for more details1 parent 3b35a2c commit c97c7a0
2 files changed
+69
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
19 | 39 | | |
20 | 40 | | |
21 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
43 | 92 | | |
44 | 93 | | |
45 | 94 | | |
| |||
0 commit comments