mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 10:46:03 -04:00
Use buildkit's cache feature to speed up docker builds (#11691)
Having spent much of the last week attempting to run complement tests from somewhere with damp string instead of internet... something had to be done.
This commit is contained in:
parent
338e70c617
commit
d41c4654db
4 changed files with 28 additions and 5 deletions
|
@ -23,6 +23,9 @@
|
|||
# Exit if a line returns a non-zero exit code
|
||||
set -e
|
||||
|
||||
# enable buildkit for the docker builds
|
||||
export DOCKER_BUILDKIT=1
|
||||
|
||||
# Change to the repository root
|
||||
cd "$(dirname $0)/.."
|
||||
|
||||
|
@ -65,4 +68,5 @@ if [[ -n "$1" ]]; then
|
|||
fi
|
||||
|
||||
# Run the tests!
|
||||
echo "Images built; running complement"
|
||||
go test -v -tags synapse_blacklist,msc2403 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue