-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[dev] Move BPF VM creation into image build #4959
Conversation
|
87fcc4c
to
38393f5
Compare
|
38393f5
to
1809fac
Compare
|
1809fac
to
29c6d37
Compare
|
|
Codecov Report
@@ Coverage Diff @@
## main #4959 +/- ##
=========================================
+ Coverage 0 31.47% +31.47%
=========================================
Files 0 123 +123
Lines 0 21424 +21424
=========================================
+ Hits 0 6743 +6743
- Misses 0 14090 +14090
- Partials 0 591 +591
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@aledbf Would be nice if you found time for a review today or tomorrow 🙏 |
/werft run 👍 started the job as gitpod-build-geropl-move-qemu-image-build-to-4945.5 |
@@ -12,15 +12,14 @@ fi | |||
|
|||
set -euo pipefail | |||
|
|||
script_dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |||
outdir="${script_dirname}/_output" | |||
outdir="/root/_output" | |||
|
|||
|
|||
rm -Rf ~/.ssh | |||
cp -r "${outdir}/.ssh" ~/.ssh |
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.
I get this error when I start a workspace:
gitpod /workspace/gitpod $ leeway run components/ee/agent-smith:qemu
cp: cannot stat '/root/_output/.ssh': Permission denied
@@ -12,15 +12,14 @@ fi | |||
|
|||
set -euo pipefail | |||
|
|||
script_dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |||
outdir="${script_dirname}/_output" | |||
outdir="/root/_output" | |||
|
|||
|
|||
rm -Rf ~/.ssh | |||
cp -r "${outdir}/.ssh" ~/.ssh |
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.
sudo
solves the issue
|
/lgtm |
LGTM label has been added. Git tree hash: 1819057cb06f306f2fb98a436965d5337bf1b744
|
/hold (not sure if someone else wants to review the PR) |
Right, I fixed the copy but not the permissions |
3da9dbe
to
1a21d80
Compare
|
@csweichel please try again |
/lgtm |
LGTM label has been added. Git tree hash: d04f80ec4ef1c0ed7fa0e6e637ef8feac2e49034
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, csweichel, geropl Associated issue: #4945 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
Fixes #4945.
Also, makes the
img
even smaller by changing the format fromraw
toqcow2
.Test
Future work:
dev
image. Converging all in-VM steps into a single script instead of starting/stopping it for every step should help.