-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add go-libp2p v0.37 and v0.36 to transport interop test (#615)
We still have a couple notable users on these versions, so try to keep testing them. This comes with an increase runtime for these interop tests, so we may remove this in the near future.
- Loading branch information
Showing
5 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
image_name := go-v0.36 | ||
version := 0.36.5 | ||
|
||
all: image.json | ||
|
||
image.json: verify-checksum go-libp2p-${version} | ||
cd go-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile . | ||
docker image inspect ${image_name} -f "{{.Id}}" | \ | ||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ | ||
|
||
go-libp2p-${version}: go-libp2p-${version}.zip | ||
unzip -o go-libp2p-${version}.zip | ||
|
||
go-libp2p-${version}.zip: | ||
wget -O $@ "https://github.com/libp2p/go-libp2p/archive/v${version}.zip" | ||
|
||
# Run `make version.lock` to generate this lock file. This file should be commited. | ||
# This locks the exact contents of the specified version. This lets us use the | ||
# human readable name while still making sure the contents don't change. | ||
version.lock: go-libp2p-${version}.zip | ||
shasum -a 256 go-libp2p-${version}.zip > $@ | ||
|
||
verify-checksum: go-libp2p-${version}.zip | ||
shasum -a 256 -c version.lock | ||
|
||
.PHONY: clean all verify-checksum | ||
|
||
clean: | ||
rm image.json | ||
rm go-libp2p-*.zip | ||
rm -rf go-libp2p-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
da6028d5ba79a65c670ded3d4e0745712cab3e012f24ec38aa771bf58745471a go-libp2p-0.36.5.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
image_name := go-v0.37 | ||
version := 0.37.2 | ||
|
||
all: image.json | ||
|
||
image.json: verify-checksum go-libp2p-${version} | ||
cd go-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile . | ||
docker image inspect ${image_name} -f "{{.Id}}" | \ | ||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ | ||
|
||
go-libp2p-${version}: go-libp2p-${version}.zip | ||
unzip -o go-libp2p-${version}.zip | ||
|
||
go-libp2p-${version}.zip: | ||
wget -O $@ "https://github.com/libp2p/go-libp2p/archive/v${version}.zip" | ||
|
||
# Run `make version.lock` to generate this lock file. This file should be commited. | ||
# This locks the exact contents of the specified version. This lets us use the | ||
# human readable name while still making sure the contents don't change. | ||
version.lock: go-libp2p-${version}.zip | ||
shasum -a 256 go-libp2p-${version}.zip > $@ | ||
|
||
verify-checksum: go-libp2p-${version}.zip | ||
shasum -a 256 -c version.lock | ||
|
||
.PHONY: clean all verify-checksum | ||
|
||
clean: | ||
rm image.json | ||
rm go-libp2p-*.zip | ||
rm -rf go-libp2p-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4c6e3548c4a75f6bceabe14bae455b78fd29ddfeaa05747cda913683ae274d40 go-libp2p-0.37.2.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters