Skip to content

Commit 46de852

Browse files
authored
Merge pull request #6276 from tonistiigi/policysession
policysession: dynamic source policy support
2 parents 4ab3e37 + bab17af commit 46de852

File tree

18 files changed

+2467
-17
lines changed

18 files changed

+2467
-17
lines changed

api/services/control/control.pb.go

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/services/control/control.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ message SolveRequest {
7676
moby.buildkit.v1.sourcepolicy.Policy SourcePolicy = 12;
7777
repeated Exporter Exporters = 13;
7878
bool EnableSessionExporter = 14;
79+
string SourcePolicySession = 15;
7980
}
8081

8182
message CacheOptions {

api/services/control/control_vtproto.pb.go

Lines changed: 47 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/client_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ var allTests = []func(t *testing.T, sb integration.Sandbox){
251251
testHTTPResolveMultiBuild,
252252
testGitResolveMutatedSource,
253253
testImageResolveAttestationChainRequiresNetwork,
254+
testSourcePolicySession,
255+
testSourceMetaPolicySession,
256+
testSourcePolicyParallelSession,
254257
}
255258

256259
func TestIntegration(t *testing.T) {

0 commit comments

Comments
 (0)