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:
118
118
setup :
119
119
makefile :
120
120
- " Makefile"
121
+ - " Makefile.debian7"
121
122
- " Makefile.debian9"
122
123
- " Makefile.debian10"
123
124
- " Makefile.debian11"
@@ -184,6 +185,7 @@ steps:
184
185
setup :
185
186
makefile :
186
187
- " Makefile"
188
+ - " Makefile.debian7"
187
189
- " Makefile.debian9"
188
190
- " Makefile.debian10"
189
191
- " Makefile.debian11"
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ template: |
48
48
- `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-base`
49
49
- `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-darwin` - darwin/amd64 (MacOS 10.11, MacOS 10.14)
50
50
- `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
51
52
- `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main-debian9` - linux/i386, linux/amd64, windows/amd64
52
53
- `docker.elastic.co/beats-dev/golang-crossbuild:$RESOLVED_VERSION-main-debian10` - linux/i386, linux/amd64, windows/amd64
53
54
- `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 9
9
@echo ' 0' > ${status}
10
10
@$(foreach var,$(TARGETS ) , \
11
11
$(MAKE ) -C $(var ) $@ || echo ' 1' > ${status} ; \
12
+ $(MAKE ) -C $(var ) -f Makefile.debian7 $@ || echo ' 1' > ${status} ; \
12
13
$(MAKE ) -C $(var ) -f Makefile.debian9 $@ || echo ' 1' > ${status} ; \
13
14
$(MAKE ) -C $(var ) -f Makefile.debian10 $@ || echo ' 1' > ${status} ; \
14
15
$(MAKE ) -C $(var ) -f Makefile.debian11 $@ || echo ' 1' > ${status} ; \
31
32
@echo ' 0' > ${status}
32
33
@$(foreach var,$(TARGETS ) , \
33
34
$(MAKE ) -C $(var ) $@ || echo ' 1' > ${status} ; \
35
+ $(MAKE ) -C $(var ) -f Makefile.debian7 $@ || echo ' 1' > ${status} ; \
34
36
$(MAKE ) -C $(var ) -f Makefile.debian9 $@ || echo ' 1' > ${status} ; \
35
37
$(MAKE ) -C $(var ) -f Makefile.debian10 $@ || echo ' 1' > ${status} ; \
36
38
$(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
119
119
The file ` go/Makefile.common ` is the default Makefile used to build the Docker images for the different architectures.
120
120
There is additional Makefile for each Debian version that is used to build the Docker images for that Debian version.
121
121
122
+ * ` go/Makefile.debian7 `
122
123
* ` go/Makefile.debian9 `
123
124
* ` go/Makefile.debian10 `
124
125
* ` 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