This PR adds a new changelog script which replaces the old manual changelog script, which compared two points of time to gather the changelog. This lead to issues as it didn't reflect the direct changes in the image accurately.
This new method instead takes an input image and then gets the tag of the image before it, and compares these two images directly to compare the hash of identical repos to get a list of PRs. It also has an attached codebuild project which allows us to manually execute this script (you can also run it locally with abit of setup).
This codebuild project will be executed by the roles that create images as well to ensure the changelog gets received.
Checklist
Before posting a PR ensure that from each of the below categories AT LEAST ONE BOX HAS BEEN CHECKED. If more than one category is applicable then more can be checked. Also ensure that the proposed changes have been filled out with relevant information for reviewers.
Tests
[ ] No tests required to be added. (For small changes that will be tested by CI/CD infrastructure).
[ ] Added/Modified automated and PhantomHand CI tests (if a new class is added (Python or C++), the interface of that class must be unit tested).
[ ] Manually tested in simulation (if simulation specific or no hardware required to test the functionality).
[x] Manually tested on hardware (if hardware specific or related).
Documentation
[ ] No documentation required to be added.
[ ] Added documentation (For any new feature, explain what it does and how to use it. Write the documentation in a relevant space, e.g. Github, Confluence, etc).
[x] Updated documentation (For changes to pre-existing features mentioned in the documentation).
Proposed changes
This PR adds a new changelog script which replaces the old manual changelog script, which compared two points of time to gather the changelog. This lead to issues as it didn't reflect the direct changes in the image accurately.
This new method instead takes an input image and then gets the tag of the image before it, and compares these two images directly to compare the hash of identical repos to get a list of PRs. It also has an attached codebuild project which allows us to manually execute this script (you can also run it locally with abit of setup).
This codebuild project will be executed by the roles that create images as well to ensure the changelog gets received.
Checklist
Before posting a PR ensure that from each of the below categories AT LEAST ONE BOX HAS BEEN CHECKED. If more than one category is applicable then more can be checked. Also ensure that the proposed changes have been filled out with relevant information for reviewers.
Tests
Documentation