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

ci: Build Docker image during test #50

Merged
merged 7 commits into from
Mar 22, 2023
Merged

Conversation

thanethomson
Copy link
Contributor

@thanethomson thanethomson commented Mar 22, 2023

Our current test relies on a Docker image that's built previously, meaning that if the dependencies change we need to build and push that image manually beforehand.

This should hopefully improve the process by instead building the image during the test process, and using that same image for the tests.

It takes long to build the image (10mins), but I imagine that changes like #42 that change database dependencies are really the only reason for us to continue cutting new releases here.

Our current test relies on a Docker image that's built previously,
meaning that if the dependencies change we need to build and push that
image manually beforehand.

This should hopefully improve the process.

Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson thanethomson added the ci Continuous integration-related label Mar 22, 2023
Since this image is now being built upon every Test workflow run, we no
longer need to additionally build the image on every PR.

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson thanethomson marked this pull request as ready for review March 22, 2023 13:58
@thanethomson thanethomson requested a review from a team as a code owner March 22, 2023 13:58
@thanethomson
Copy link
Contributor Author

This should help toward #42.

@thanethomson thanethomson merged commit 056a2af into main Mar 22, 2023
@thanethomson thanethomson deleted the thane/42-improve-docker-test branch March 22, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration-related
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants