File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed
Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ steps:
118118 setup :
119119 makefile :
120120 - " Makefile"
121+ - " Makefile.debian7"
121122 - " Makefile.debian9"
122123 - " Makefile.debian10"
123124 - " Makefile.debian11"
@@ -184,6 +185,7 @@ steps:
184185 setup :
185186 makefile :
186187 - " Makefile"
188+ - " Makefile.debian7"
187189 - " Makefile.debian9"
188190 - " Makefile.debian10"
189191 - " Makefile.debian11"
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ template: |
4848 - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-base`
4949 - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-darwin` - darwin/amd64 (MacOS 10.11, MacOS 10.14)
5050 - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main` - linux/i386, linux/amd64, windows/amd64
51+ - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main-debian7` - linux/i386, linux/amd64, windows/amd64
5152 - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main-debian9` - linux/i386, linux/amd64, windows/amd64
5253 - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main-debian10` - linux/i386, linux/amd64, windows/amd64
5354 - `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main-debian11` - linux/i386, linux/amd64, windows/amd64
Original file line number Diff line number Diff line change 99 @echo ' 0' > ${status}
1010 @$(foreach var,$(TARGETS ) , \
1111 $(MAKE ) -C $(var ) $@ || echo ' 1' > ${status} ; \
12+ $(MAKE ) -C $(var ) -f Makefile.debian7 $@ || echo ' 1' > ${status} ; \
1213 $(MAKE ) -C $(var ) -f Makefile.debian9 $@ || echo ' 1' > ${status} ; \
1314 $(MAKE ) -C $(var ) -f Makefile.debian10 $@ || echo ' 1' > ${status} ; \
1415 $(MAKE ) -C $(var ) -f Makefile.debian11 $@ || echo ' 1' > ${status} ; \
3132 @echo ' 0' > ${status}
3233 @$(foreach var,$(TARGETS ) , \
3334 $(MAKE ) -C $(var ) $@ || echo ' 1' > ${status} ; \
35+ $(MAKE ) -C $(var ) -f Makefile.debian7 $@ || echo ' 1' > ${status} ; \
3436 $(MAKE ) -C $(var ) -f Makefile.debian9 $@ || echo ' 1' > ${status} ; \
3537 $(MAKE ) -C $(var ) -f Makefile.debian10 $@ || echo ' 1' > ${status} ; \
3638 $(MAKE ) -C $(var ) -f Makefile.debian11 $@ || echo ' 1' > ${status} ; \
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ it triggers the build of all Docker images for all architectures and Debian vers
119119The file ` go/Makefile.common ` is the default Makefile used to build the Docker images for the different architectures.
120120There is additional Makefile for each Debian version that is used to build the Docker images for that Debian version.
121121
122+ * ` go/Makefile.debian7 `
122123* ` go/Makefile.debian9 `
123124* ` go/Makefile.debian10 `
124125* ` go/Makefile.debian11 `
Original file line number Diff line number Diff line change 1+ IMAGES := base main
2+ DEBIAN_VERSION := 7
3+ TAG_EXTENSION := -debian7
4+
5+ export DEBIAN_VERSION TAG_EXTENSION
6+
7+ build:
8+ @$(foreach var,$(IMAGES),$(MAKE) -C $(var) build || exit 1;)
9+
10+ # Requires login at https://docker.elastic.co:7000/.
11+ push:
12+ @$(foreach var,$(IMAGES),$(MAKE) -C $(var) push || exit 1;)
13+
14+ .PHONY: build push
You can’t perform that action at this time.
0 commit comments