Skip to content

Commit

Permalink
Propagating MAKEFLAGS to support tagless builds (#46606) (#46919)
Browse files Browse the repository at this point in the history
* Propagating makeflags for nightly release

* Trying recusrive submake in container

* Propagating makeflags another way

* More propagation

* Trying MAKEFLAGS as an env var

* Have specify MAKEFLAGS

* Typod a paranthesis

* Moving makeflags env flag for docker to the targets

* Typo

* Previous try had a typo didn't catch but should work now
  • Loading branch information
doggydogworld committed Sep 30, 2024
1 parent 17aedc0 commit 72960b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.assets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ HOSTNAME=buildbox
SRCDIR=/go/src/github.com/gravitational/teleport
GOMODCACHE ?= /tmp/gomodcache
# TODO(hugoShaka) remove HELM_PLUGINS with teleport13 buildbox
DOCKERFLAGS := --rm=true -v "$$(pwd)/../":$(SRCDIR) -v /tmp:/tmp -w $(SRCDIR) -h $(HOSTNAME) -e GOMODCACHE=$(GOMODCACHE) -e HELM_PLUGINS=/home/ci/.local/share/helm/plugins-new
DOCKERFLAGS := --rm=true -v "$$(pwd)/../":$(SRCDIR) -v /tmp:/tmp -w $(SRCDIR) -h $(HOSTNAME) -e GOMODCACHE=$(GOMODCACHE) -e HELM_PLUGINS=/home/ci/.local/share/helm/plugins-new -e MAKEFLAGS
# Teleport version - some targets require this to be set
VERSION ?= $(shell egrep ^VERSION ../Makefile | cut -d= -f2)

Expand Down

0 comments on commit 72960b6

Please sign in to comment.