Skip to content

Conversation

@MartinWheelerMT
Copy link
Collaborator

@MartinWheelerMT MartinWheelerMT commented Apr 1, 2025

  • Add initial build workflow as build.yml
  • Add initial test workflow as test.yml
  • Add initial publish workflow as publish.yml
  • Add a unit test job step.
  • Add a component test job step.
  • Add an integration test job step.
  • Add docker compose, log gathering, and artefact gathering for integration test job step.
  • Add Build ID script
  • Add generate build ID step to the build workflow
  • Add call to publish work flow from build workflow to build and publish the NHAIS ECR Image.

* Add initial build action.
* Add a unit test job in test.yml.
* Remove unneeded name parameter from `test.yml`
* Remove unneeded quotation marks around named values
@MartinWheelerMT MartinWheelerMT force-pushed the niad-3192-create-github-action-for-build branch from 3848839 to 6672990 Compare April 1, 2025 14:38
@MartinWheelerMT MartinWheelerMT force-pushed the niad-3192-create-github-action-for-build branch from 6672990 to c085d74 Compare April 1, 2025 14:40
…ocker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/library/mongo:3.2.4 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2`.
* Remove unnecessary passing of secrets to test workflow.
* Remove unnecessary quotation marks around named valued.
* Add a job to `build.yml` to generate a build tag.
* Add `create_build_id.sh` to create the build tag.
* Add a job to `build.yml` to call publish workflow.
@github-actions
Copy link

github-actions bot commented Apr 2, 2025

Images built and published to ECR using a Build Id of PR-20-5b640e7

@MartinWheelerMT MartinWheelerMT marked this pull request as ready for review April 2, 2025 15:56
@MartinWheelerMT MartinWheelerMT enabled auto-merge (squash) April 2, 2025 15:56

public static final int MONGODB_PORT = 27017;
public static final String DEFAULT_IMAGE_AND_TAG = "mongo:3.2.4";
public static final String DEFAULT_IMAGE_AND_TAG = "mongo:8.0";
Copy link
Collaborator Author

@MartinWheelerMT MartinWheelerMT Apr 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was updated due to TestContainers reporting the following issue due docker versioning on the GitHub runners:

[DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest version 2, schema 1 support is disabled by default and will be removed in an upcoming release. Suggest the author of docker.io/library/mongo:3.2.4 to upgrade the image to the OCI Format or Docker Image manifest v2, schema 2`.

This change only affects the TestContainers startup stage for the integration tests.

 * Remove code checkout from the comment step.
 * Change permissions for the comment job to only have write access to pull-requests.
 * Remove duplicated command to remove stopped docker containers as already handled in the command above.
@MartinWheelerMT MartinWheelerMT requested a review from ORybak5 April 3, 2025 10:44
@MartinWheelerMT MartinWheelerMT merged commit 994a052 into develop Apr 3, 2025
6 checks passed
@MartinWheelerMT MartinWheelerMT deleted the niad-3192-create-github-action-for-build branch April 3, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants