-
Notifications
You must be signed in to change notification settings - Fork 107
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: Wait for lightwalletd image rebuild if it has changed #4612
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
C-bug
Category: This is a bug
I-integration-fail
Continuous integration fails, including build and test failures
lightwalletd
any work associated with lightwalletd
Comments
teor2345
added
C-bug
Category: This is a bug
A-devops
Area: Pipelines, CI/CD and Dockerfiles
P-Medium ⚡
lightwalletd
any work associated with lightwalletd
labels
Jun 14, 2022
teor2345
added
P-Medium ⚡
I-integration-fail
Continuous integration fails, including build and test failures
and removed
P-Low ❄️
labels
Aug 4, 2022
This caused a build failure on the main branch:
So I've set it as a medium priority. |
1 task
gustavovalverde
added a commit
that referenced
this issue
Aug 29, 2022
Previous behavior: If the lightwalledt Dockerfile was changed in a PR, we couldn't test the changes from the actual branch as the image being pulled was the one from the `main` branch. Expected behavior: If we change the lightwalletd Docker image in a PR, those changes in the PR should be reflected in tests. Otherwise we won't know if our fixes work. If the image is not changed, the latest `main` branch image is fine. Solution: When building Zebra, allow to build using a lightwalletd image built from the actual working branch/PR if lightwalletd code has likely changed Fixes #4612
2 tasks
This isn't actually causing us any problems at the moment |
Work was started in #4980 (comment) but a refactor is needed to make builds interdependent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
C-bug
Category: This is a bug
I-integration-fail
Continuous integration fails, including build and test failures
lightwalletd
any work associated with lightwalletd
Motivation
If we change the
lightwalletd
Docker image in a PR, we want to see those changes in the PR's tests. Otherwise we won't know if our fixes work.If we don't change the image, the latest
main
branch image is fine.Design
Before starting this PR, we want to add the job to the branch protection rules, so we don't merge broken code:
We might want to use the same dependency algorithm we use for the state cache:
main
Original Conversation
I had the same thought, it makes testing a bit tricky.
Originally posted by @teor2345 in #4599 (comment)
The text was updated successfully, but these errors were encountered: