Skip to content
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

chore: run tests in the buildkit itself #888

Merged
merged 1 commit into from
Jul 19, 2019

Conversation

smira
Copy link
Member

@smira smira commented Jul 18, 2019

This relies on two PRs to the buildkit, which aren't merged yet, so I
had to do some overrides to apply them:

Signed-off-by: Andrey Smirnov smirnov.andrey@gmail.com

@smira
Copy link
Member Author

smira commented Jul 18, 2019

Forgot to remove dev-test target, I'll do it in the next push, want to see if it works in drone

@@ -1,7 +1,7 @@
TOOLS ?= autonomy/tools:b4e3778

# TODO(andrewrynhard): Move this logic to a shell script.
BUILDKIT_VERSION ?= v0.5.0
BUILDKIT_VERSION ?= master@sha256:455f06ede03149051ce2734d9639c28aed1b6e8b8a0c607cb813e29b469a07d6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can update our current deployment to match this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and it looks like this works!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, that's awesome!

let me rebase and squash it. still waiting on dockerfile PR, and we can update Dockerfile slug back to upstream

@codecov
Copy link

codecov bot commented Jul 19, 2019

Codecov Report

Merging #888 into master will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #888      +/-   ##
==========================================
+ Coverage   34.85%   34.92%   +0.07%     
==========================================
  Files          93       93              
  Lines        5469     5469              
==========================================
+ Hits         1906     1910       +4     
+ Misses       3386     3383       -3     
+ Partials      177      176       -1
Impacted Files Coverage Δ
internal/app/machined/pkg/system/service_runner.go 92.11% <0%> (+0.98%) ⬆️
.../app/machined/pkg/system/runner/process/process.go 84.61% <0%> (+3.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a15499d...c985195. Read the comment docs.

@andrewrynhard andrewrynhard added this to the v0.2 milestone Jul 19, 2019
This relies on two PRs to the buildkit:

* moby/buildkit#1081
* moby/buildkit#1085

Sysfs fix was merged to upstream, so updated tag, while using
`Dockerfile` slug I can switch to dockerfile2llb with support for
`--security=insecure`.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
@smira smira force-pushed the buildkit-insecure branch from e482ce5 to c985195 Compare July 19, 2019 14:40
@andrewrynhard andrewrynhard merged commit 9f9acf1 into siderolabs:master Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants