chore: Build the Python services with Bazel for CWF Docker images#15106
chore: Build the Python services with Bazel for CWF Docker images#15106
Conversation
|
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
Bazel unit-test results 1 files ± 0 61 suites - 171 1m 49s ⏱️ - 1m 25s Results for commit 6c3c94e. ± Comparison against base commit fc06257. This pull request removes 658 tests.♻️ This comment has been updated with latest results. |
eeb62f3 to
324976c
Compare
CWF integration test results 1 files + 1 1 suites +1 58m 15s ⏱️ + 58m 15s For more details on these failures, see this check. Results for commit 81780c5. ± Comparison against base commit 8b770fd. ♻️ This comment has been updated with latest results. |
69015a7 to
63d87f8
Compare
c0761b7 to
695f84f
Compare
| ) | ||
|
|
||
| python_proto_library( | ||
| name = "mconfigs_python_proto", |
There was a problem hiding this comment.
This is needed in orc8r/gateway/python/magma/configuration/BUILD.bazel
There was a problem hiding this comment.
Could it be helpful to add this as a comment in the file? Same for your two comments in .github/workflows/cwf-integ-test.yml
There was a problem hiding this comment.
I added these comments to make it a bit easier for the reviewers. I don't think it makes sense to add them to the code. Here it should be obvious where this is used with a simple full text search. The comments in the workflow are only true at the moment and will get outdated very soon. We have the same steps in many other workflows.
| shell: bash | ||
| run: | | ||
| echo "Available storage:" | ||
| df -h |
There was a problem hiding this comment.
There are now ca. 16GB left. But there were out of space failures sometimes without this change.
| steps: | ||
| - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # [email protected] | ||
| - name: Maximize build space | ||
| uses: ./.github/workflows/composite/maximize-build-space |
There was a problem hiding this comment.
This creates ca 14 GB additional space.
695f84f to
f3e7a3c
Compare
f3e7a3c to
81780c5
Compare
Signed-off-by: Lars Kreutzer <[email protected]>
81780c5 to
6c3c94e
Compare
| ) | ||
|
|
||
| python_proto_library( | ||
| name = "mconfigs_python_proto", |
There was a problem hiding this comment.
Could it be helpful to add this as a comment in the file? Same for your two comments in .github/workflows/cwf-integ-test.yml
…gma#15106) Signed-off-by: Lars Kreutzer <[email protected]>
Summary
cwf/gateway/docker/python/Dockerfile#15041Test Plan
LTE integ: ✔️
FEG integ: ✔️
CWF integ: ✔️ (Gx/Gy tests are failing - this was already the case before the recent refactoring, check green runs on https://magma-ci.web.app/.)
Additional Information