mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-15 17:35:24 +00:00
c35de22070
* Add fast multidimensional interop tests * Remove generated files * Remove debug code around itnerfaces * Revert changes to setup testground * multidim-interop: update rust v050 test for multidim-interop with redis * Add depends on and enable rust version for testing * Cleanup Rust test * Have listener print multiaddr in go v024 test * Remove EXPOSE in dockerfile * Update multidim-interop/go/v0.24/main.go Co-authored-by: João Oliveira <hello@jxs.pt> * Update multidim-interop/go/v0.22/main.go Co-authored-by: João Oliveira <hello@jxs.pt> * Update multidim-interop/go/v0.23/main.go Co-authored-by: João Oliveira <hello@jxs.pt> * Go nits * Cleanup Rust makefile * add working ping test (js) or multidim-interop (#98) * add working ping test (js) or multidim-interop * Add JS-libp2p to interop tests * ping libp2p-js (wo): resolve PR comments * Add yamux js-libp2p test Co-authored-by: Marco Munizaga <git@marcopolo.io> * Fix Go err * Ignore errors when shutting down * Fix err * Rename workflow * Remove rust v0.49 * Bump up timeouts Co-authored-by: João Oliveira <hello@jxs.pt> Co-authored-by: Glen De Cauwsemaecker <contact@glendc.com>
14 lines
314 B
Bash
Executable File
14 lines
314 B
Bash
Executable File
#!/usr/bin/env /bin/bash
|
|
|
|
# If in CI use caching
|
|
if [[ -n "${CI}" ]]; then
|
|
docker buildx build \
|
|
--load \
|
|
-t $IMAGE_NAME \
|
|
--cache-to type=gha,mode=max,scope=$GITHUB_REF_NAME-$IMAGE_NAME \
|
|
--cache-from type=gha,scope=$GITHUB_REF_NAME-$IMAGE_NAME "$@"
|
|
else
|
|
docker build -t $IMAGE_NAME "$@"
|
|
fi
|
|
|