Skip to content

Commit 2fdca6c

Browse files
authored
Include go.sum in the Go CloudEvent template (#2441)
The go.sum must be in place otherwise "go list -f {{.Incomplete}}" returns true which breaks s2i build. Signed-off-by: Matej Vašek <[email protected]>
1 parent 7a75fec commit 2fdca6c

File tree

5 files changed

+10380
-10276
lines changed

5 files changed

+10380
-10276
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/cmd/func.yaml
55
/templates/typescript/cloudevents/build
66
/templates/typescript/http/build
7-
/templates/go/cloudevents/go.sum
87
/coverage.out
98
/coverage.txt
109
/.coverage

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ generate/zz_filesystem_generated.go: clean_templates templates/certs/ca-certific
8383
.PHONY: clean_templates
8484
clean_templates:
8585
# Removing temporary template files
86-
@rm -f templates/go/cloudevents/go.sum
87-
@rm -f templates/go/http/go.sum
8886
@rm -rf templates/node/cloudevents/node_modules
8987
@rm -rf templates/node/http/node_modules
9088
@rm -rf templates/python/cloudevents/__pycache__

0 commit comments

Comments
 (0)