diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index efef46bd..1b26b691 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -131,16 +131,16 @@ jobs: export MONGOD=`pwd`/${{matrix.mongo}}/bin/mongod # set up minio - wget -q https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.${{matrix.minio}} -O minio - chmod a+x minio - export MINIOD=`pwd`/minio + export MINIO=$HOMEDIR/test_dependencies/minio/${{matrix.minio}}/minio + gunzip $MINIO.gz + chmod a+x $MINIO # set up test config cd $HOMEDIR cp -n test.cfg.example test.cfg sed -i "s#^test.temp.dir =.*#test.temp.dir=temp_test_dir#" test.cfg sed -i "s#^test.mongo.exe.*#test.mongo.exe=$MONGOD#" test.cfg - sed -i "s#^test.minio.exe.*#test.minio.exe=$MINIOD#" test.cfg + sed -i "s#^test.minio.exe.*#test.minio.exe=$MINIO#" test.cfg sed -i "s#^test.mongo.useWiredTiger.*#test.mongo.useWiredTiger=${{matrix.wired_tiger}}#" test.cfg sed -i "s#^test.jars.dir.*#test.jars.dir=$JARSDIR#" test.cfg sed -i "s#^test.blobstore.exe.*#test.blobstore.exe=$BLOBEXE#" test.cfg diff --git a/test_dependencies/minio/2019-05-23T00-29-34Z/README.md b/test_dependencies/minio/2019-05-23T00-29-34Z/README.md new file mode 100644 index 00000000..7a45f44d --- /dev/null +++ b/test_dependencies/minio/2019-05-23T00-29-34Z/README.md @@ -0,0 +1,13 @@ +For unknown reasons downloading this version of minio from their site is unreliable and often +fails. As such it's checked in here. + +When upgrading to a new version, check the reliability of the download and prefer using their +site to obtain the binary. + +The original setup lines in the GHA test file were: + +``` +wget -q https://dl.minio.io/server/minio/release/linux-amd64/archive/minio.RELEASE.${{matrix.minio}} -O minio +chmod a+x minio +export MINIOD=`pwd`/minio +``` diff --git a/test_dependencies/minio/2019-05-23T00-29-34Z/minio.gz b/test_dependencies/minio/2019-05-23T00-29-34Z/minio.gz new file mode 100755 index 00000000..f4b1e133 Binary files /dev/null and b/test_dependencies/minio/2019-05-23T00-29-34Z/minio.gz differ