-
Notifications
You must be signed in to change notification settings - Fork 3
NIAD-3192: Move from Jenkins to GitHub Actions #285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NIAD-3192: Move from Jenkins to GitHub Actions #285
Conversation
* 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
3848839 to
6672990
Compare
6672990 to
c085d74
Compare
…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.
|
Images built and published to ECR using a Build Id of PR-20-5b640e7 |
|
|
||
| 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"; |
There was a problem hiding this comment.
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.
build.ymltest.ymlpublish.yml