-
Notifications
You must be signed in to change notification settings - Fork 124
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
Release x86_64 & arm64 docker images built by bazel system #670
Conversation
But I'm not certain if this PR is right for E2E test on our CI. Let's watch the presubmit result in advance. It failed on e2e-test-orchestration presubmit test. Currently investigating how to use bazel-based script for deploying docker image via iterating github action. |
2d2d902
to
378c9d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the PR description and the actual code it's not clear what this PR is about. It seems it's still work in progress, although review was requested.
The BAZEL rules within docker were specifically tailored to be used within the e2etest
Bazel project, they might need some changes if wanted to be used standalone. To build the image, within e2etests
directory run: bazel build @images//docker:orchestration_image_tar
Yes, It's WIP. I tried to remove all reviewers, but Github system automatically added the reviewer again :(
I'll follow your suggestion in the future trial. Though this WIP PR is with |
90a7f25
to
49fff90
Compare
With running docker image, we can take host debian packages in the path |
I didn't understand the question. Rephrasing my original question, the commit message says: |
Commit 74b1d12 is a really good cleanup as it simplifies the logic around building the host packages and the docker image. However, I didn't understand what the commit was about by reading its description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Didn't see any issue in workflow side.
21f1553
to
436e4fd
Compare
This commit includes: - Make cuttlefish-orchestration buildable without building and running any other docker images - Make bazel buildable in the top dir of this repository Now docker image could be built with one of following steps: - cd docker && ./image-builder.sh - bazel build --sandbox_writable_path=$HOME //docker:orchestration_image_tar - cd e2etests && bazel build --sandbox_writable_path=$HOME @images//docker:orchestration_image_tar Docker image could be still tested with Host Orchestrator: - cd e2etests && bazel test --sandbox_writable_path=$HOME --test_output=errors --local_test_jobs=1 orchestration/...
I tried to build docker image via
bazel
, but haven't worked. During some experimentals, I foundrlocation
command in debs-tar-builder haven't worked properly. So removed the logic around usingrlocation
, with replacing to the one based onPWD
.