Skip to content

Commit 114a7ff

Browse files
authored
[release-v.1.16] Cherry picks for v1.16 (#1237)
* Fix http port 433 => 443 (knative#2742) * Trust loopback builders (knative#2750) Signed-off-by: Matej Vašek <[email protected]> * Add testcase for Go private repositories (knative#2748) Signed-off-by: Matej Vašek <[email protected]> * Test adjustments (knative#2751) * Use tiny instead of base BP builder. * Decrease minimal required Go version. * Make the self-signed certificate CA==true so it works with update-ca-trust utility. Signed-off-by: Matej Vašek <[email protected]> * Allow host mounts for build phahse (knative#2753) * Allow host mounts for build pahse. This is in particular useful for using paket bindings, e.g. to inject git credentials into build process. Signed-off-by: Matej Vašek <[email protected]> * Mark test as a integration test Signed-off-by: Matej Vašek <[email protected]> * fixup: style Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]> Signed-off-by: Matej Vašek <[email protected]> * Use s2i in standard mode, not "as-dockerfile" (knative#2764) Signed-off-by: Matej Vašek <[email protected]> Signed-off-by: Matej Vašek <[email protected]> * fixup cherry-pick The release-v1.16 branch uses older docker library version some minor adjusment was needed. Signed-off-by: Matej Vašek <[email protected]> * Improvements for Go s2i assembler (knative#2765) * Return error code when compilation was not done * Run `go mod tidy` on scaffoded code Signed-off-by: Matej Vašek <[email protected]> * S2I (source-to-image) host binds (knative#2766) * Added tests for s2i build with private Go module The test is for now skipped since host binds are not yet implemented for s2i. Signed-off-by: Matej Vašek <[email protected]> * User "host" network mode for s2i build on Linux Signed-off-by: Matej Vašek <[email protected]> * Implement host binds for local s2i build Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]> * Make build binds more similar to runtime binds (knative#2768) * Make build binds more similar to runtime binds Signed-off-by: Matej Vašek <[email protected]> * Added comments on struct Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]> Signed-off-by: Matej Vašek <[email protected]> * Add guideline for private Go module usage (knative#2771) Signed-off-by: Matej Vašek <[email protected]> Signed-off-by: Matej Vašek <[email protected]> * Fix: Go scaffolding uses correct module name (knative#2769) * Fix: Go scaffolding uses correct module name Using incorrect name works for a functions with flat structure -- no sub-packages. When sub-packages are used we need to refer the user module by its true name. Signed-off-by: Matej Vašek <[email protected]> * fixup tests Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]> * fixup for c841f40 Signed-off-by: Matej Vašek <[email protected]> --------- Signed-off-by: Matej Vašek <[email protected]> Signed-off-by: Matej Vašek <[email protected]>
1 parent 3e9c77f commit 114a7ff

File tree

24 files changed

+10630
-10254
lines changed

24 files changed

+10630
-10254
lines changed

generate/zz_filesystem_generated.go

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

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ require (
4848
github.com/tektoncd/pipeline v0.60.1
4949
github.com/xanzy/go-gitlab v0.102.0
5050
golang.org/x/crypto v0.31.0
51-
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa
5251
golang.org/x/net v0.30.0
5352
golang.org/x/oauth2 v0.22.0
5453
golang.org/x/sync v0.10.0
@@ -267,6 +266,7 @@ require (
267266
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
268267
go.uber.org/multierr v1.11.0 // indirect
269268
go.uber.org/zap v1.27.0 // indirect
269+
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
270270
golang.org/x/mod v0.21.0 // indirect
271271
golang.org/x/sys v0.28.0 // indirect
272272
golang.org/x/text v0.21.0 // indirect

hack/allocate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ nodes:
113113
- containerPort: 80
114114
hostPort: 80
115115
listenAddress: "127.0.0.1"
116-
- containerPort: 433
116+
- containerPort: 443
117117
hostPort: 443
118118
listenAddress: "127.0.0.1"
119119
- containerPort: 30022

0 commit comments

Comments
 (0)