File tree 5 files changed +100
-0
lines changed
5 files changed +100
-0
lines changed Original file line number Diff line number Diff line change
1
+ image_name := go-v0.36
2
+ version := 0.36.5
3
+
4
+ all : image.json
5
+
6
+ image.json : verify-checksum go-libp2p-${version}
7
+ cd go-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile .
8
+ docker image inspect ${image_name} -f " {{.Id}}" | \
9
+ xargs -I {} echo " {\" imageID\" : \" {}\" }" > $@
10
+
11
+ go-libp2p-${version} : go-libp2p-${version}.zip
12
+ unzip -o go-libp2p-${version} .zip
13
+
14
+ go-libp2p-${version}.zip :
15
+ wget -O $@ " https://github.com/libp2p/go-libp2p/archive/v${version} .zip"
16
+
17
+ # Run `make version.lock` to generate this lock file. This file should be commited.
18
+ # This locks the exact contents of the specified version. This lets us use the
19
+ # human readable name while still making sure the contents don't change.
20
+ version.lock : go-libp2p-${version}.zip
21
+ shasum -a 256 go-libp2p-${version} .zip > $@
22
+
23
+ verify-checksum : go-libp2p-${version}.zip
24
+ shasum -a 256 -c version.lock
25
+
26
+ .PHONY : clean all verify-checksum
27
+
28
+ clean :
29
+ rm image.json
30
+ rm go-libp2p-* .zip
31
+ rm -rf go-libp2p-*
Original file line number Diff line number Diff line change
1
+ da6028d5ba79a65c670ded3d4e0745712cab3e012f24ec38aa771bf58745471a go-libp2p-0.36.5.zip
Original file line number Diff line number Diff line change
1
+ image_name := go-v0.37
2
+ version := 0.37.2
3
+
4
+ all : image.json
5
+
6
+ image.json : verify-checksum go-libp2p-${version}
7
+ cd go-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile .
8
+ docker image inspect ${image_name} -f " {{.Id}}" | \
9
+ xargs -I {} echo " {\" imageID\" : \" {}\" }" > $@
10
+
11
+ go-libp2p-${version} : go-libp2p-${version}.zip
12
+ unzip -o go-libp2p-${version} .zip
13
+
14
+ go-libp2p-${version}.zip :
15
+ wget -O $@ " https://github.com/libp2p/go-libp2p/archive/v${version} .zip"
16
+
17
+ # Run `make version.lock` to generate this lock file. This file should be commited.
18
+ # This locks the exact contents of the specified version. This lets us use the
19
+ # human readable name while still making sure the contents don't change.
20
+ version.lock : go-libp2p-${version}.zip
21
+ shasum -a 256 go-libp2p-${version} .zip > $@
22
+
23
+ verify-checksum : go-libp2p-${version}.zip
24
+ shasum -a 256 -c version.lock
25
+
26
+ .PHONY : clean all verify-checksum
27
+
28
+ clean :
29
+ rm image.json
30
+ rm go-libp2p-* .zip
31
+ rm -rf go-libp2p-*
Original file line number Diff line number Diff line change
1
+ 4c6e3548c4a75f6bceabe14bae455b78fd29ddfeaa05747cda913683ae274d40 go-libp2p-0.37.2.zip
Original file line number Diff line number Diff line change 298
298
"muxers" : [
299
299
" yamux"
300
300
]
301
+ },
302
+ {
303
+ "id" : " go-v0.37" ,
304
+ "transports" : [
305
+ " tcp" ,
306
+ " ws" ,
307
+ " wss" ,
308
+ " quic-v1" ,
309
+ " webtransport" ,
310
+ " webrtc-direct"
311
+ ],
312
+ "secureChannels" : [
313
+ " tls" ,
314
+ " noise"
315
+ ],
316
+ "muxers" : [
317
+ " yamux"
318
+ ]
319
+ },
320
+ {
321
+ "id" : " go-v0.36" ,
322
+ "transports" : [
323
+ " tcp" ,
324
+ " ws" ,
325
+ " wss" ,
326
+ " quic-v1" ,
327
+ " webtransport" ,
328
+ " webrtc-direct"
329
+ ],
330
+ "secureChannels" : [
331
+ " tls" ,
332
+ " noise"
333
+ ],
334
+ "muxers" : [
335
+ " yamux"
336
+ ]
301
337
}
302
338
]
You can’t perform that action at this time.
0 commit comments