-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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] Make building debug images optional for PR CI #4663
Comments
This was partially addressed by #4496 that is supposed to skip building debug images, but the logs above clearly show that's not enough. E.g. the script |
@yurishkuro I believe #4672 PR should resolve this issue. |
@karthikmurali60 no, that PR only avoids building additional architectures, it does not change the fact that Delve is still being built |
@yurishkuro got it. The
Ideally in both of these places, we should execute the make command in only non PR mode right ?? |
We always need the main base image, but don't need debug image in pr-only |
## Which problem is this PR solving? - Resolves #4663 ## Description of the changes - Update image build/upload scripts to create base image only when `mode=pr-only` ## How was this change tested? - Works from my local by running `BRANCH=refactor/avoid-build-debug-img-in-pr ./scripts/build-all-in-one-image.sh pr-only` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: Tony Jin <[email protected]>
This all-in-one build took 15min. In it compiling Delve debugger, which is only used in debug images, took 6min.
I think we should skip it altogether when running the build for PR, let it only be built for CI runs on the main branch.
The text was updated successfully, but these errors were encountered: