Skip to content

Commit

Permalink
Merge pull request #1778 from owncloud/fix_ci_go_warnings
Browse files Browse the repository at this point in the history
[CI-only] suppress `bash: go: command not found` warnings
  • Loading branch information
wkloucek authored Mar 12, 2021
2 parents 77bf0d4 + d1701b3 commit d922c12
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ OCIS_MODULES = \
web \
webdav

ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include .bingo/Variables.mk
endif

.PHONY: help
help:
Expand Down
2 changes: 2 additions & 0 deletions accounts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ test-acceptance-webui:


############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions glauth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := glauth

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions graph-explorer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := graph-explorer

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions graph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := graph

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions idp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := idp

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions ocis-pkg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := ocis-pkg

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions ocis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := ocis

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions ocs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := ocs

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions onlyoffice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := onlyoffice

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions proxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := proxy

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
4 changes: 4 additions & 0 deletions settings/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ test-acceptance-webui:


############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk



############ release ############
include ../.make/release.mk

Expand Down
2 changes: 2 additions & 0 deletions storage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := storage

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions store/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := store

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions thumbnails/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := thumbnails

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions web/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := web

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down
2 changes: 2 additions & 0 deletions webdav/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ SHELL := bash
NAME := webdav

############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif

############ go tooling ############
include ../.make/go.mk
Expand Down

0 comments on commit d922c12

Please sign in to comment.