Skip to content

Commit 3188eed

Browse files
Fix: Resolve s2i linux/amd64 build failure by pinning source-to-image v1.5.1 (#3144)
* Fix:func go build error - s2i linux/amd64 * FIX:#3144 issue * remove debug print and adjust timeout handling * Fix:removes the unnessarytest data from pkg folder * FIX:reclaimed deleted files in the pkg files * Fix:gitignore * Update go.mod to fix dependency and rebase on latest main
1 parent be256cd commit 3188eed

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ require (
4343
github.com/modelcontextprotocol/go-sdk v1.1.0
4444
github.com/opencontainers/image-spec v1.1.1
4545
github.com/openshift-pipelines/pipelines-as-code v0.31.0
46-
github.com/openshift/source-to-image v1.6.0
46+
github.com/openshift/source-to-image v1.5.1
4747
github.com/ory/viper v1.7.5
4848
github.com/paketo-buildpacks/libpak v1.70.0
4949
github.com/pelletier/go-toml v1.9.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,8 @@ github.com/opencontainers/selinux v1.12.0 h1:6n5JV4Cf+4y0KNXW48TLj5DwfXpvWlxXplU
869869
github.com/opencontainers/selinux v1.12.0/go.mod h1:BTPX+bjVbWGXw7ZZWUbdENt8w0htPSrlgOOysQaU62U=
870870
github.com/openshift-pipelines/pipelines-as-code v0.31.0 h1:dUUvnwCrhSmr3IYjsywLD7QTNAINetFoLCIO4529nOk=
871871
github.com/openshift-pipelines/pipelines-as-code v0.31.0/go.mod h1:74yRkJfqVzMp2iiq3IBm8Lt1q1EAHMIHb53/Au+2IVM=
872-
github.com/openshift/source-to-image v1.6.0 h1:u5jK0KPOOUEHkUw+6X3Kae0l762yR8aYUm/tZX3oa60=
873-
github.com/openshift/source-to-image v1.6.0/go.mod h1:ZNfsBThrFHlIgkzqz2NyXqAsb8d7eESBiE73zR07BXo=
872+
github.com/openshift/source-to-image v1.5.1 h1:mtV2Nh1jVeLg5S02HIbk3GmGYS912hWCCbASEadAS6M=
873+
github.com/openshift/source-to-image v1.5.1/go.mod h1:ZNfsBThrFHlIgkzqz2NyXqAsb8d7eESBiE73zR07BXo=
874874
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
875875
github.com/ory/viper v1.7.5 h1:+xVdq7SU3e1vNaCsk/ixsfxE4zylk1TJUiJrY647jUE=
876876
github.com/ory/viper v1.7.5/go.mod h1:ypOuyJmEUb3oENywQZRgeAMwqgOyDqwboO1tj3DjTaM=

main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package main
22

3-
import "knative.dev/func/pkg/app"
3+
import (
4+
"knative.dev/func/pkg/app"
5+
)
46

57
func main() {
68
app.Main()

0 commit comments

Comments
 (0)