Skip to content
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

Bug 1932257 - CircleCI configuration cleanups and removal of un-used code in entrypoint.pl #2361

Merged
merged 8 commits into from
Nov 21, 2024

Conversation

dklawren
Copy link
Collaborator

@dklawren dklawren commented Nov 19, 2024

Rather than junk up the other pull request for the ETL work with these minor fixes, I am making them here instead. These are changes to the way images are built in CircleCI for running the automated tests as well as some code cleanup to remove unused code and get rid of some warnings in the test output that looks bad.

In order to build the bigquery-emulator container for testing in the ETL pull request, we need to build the images from the docker-compose.test.yml file instead of doing docker builds outside of docker-compose. Instead of docker build -t bmo . ; docker-compose run bmo.test test_webservices, I do docker run --build bmo.test test_webservices.

For github, I still need to do the docker-compose build before the test run since for some reason their implementation did not like using docker-compose run --build ....

I removed some extra functions in entrypoint.pl that are never used by BMO or mozilla-conduit/suite.

The rest of the changes are small fixes to remove warnings and other extra stuff sent to STDOUT that was cluttering up the test logs.

@dklawren dklawren requested a review from cgsheeh November 21, 2024 00:12
Copy link
Collaborator

@cgsheeh cgsheeh left a comment

Choose a reason for hiding this comment

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

LGTM, appreciate you proactively splitting out the cleanups into a separate PR!

@dklawren dklawren merged commit 48f38d8 into mozilla-bteam:master Nov 21, 2024
17 checks passed
@dklawren dklawren deleted the circleci-improve branch November 21, 2024 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants