1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Remove dependency on aws cli for testing.

This tool was only being used it a few places but was a pretty large dependency.

Rework the forceStorageMove() code using our storage layer and replace one aws cli cp with a storage put.

Also, remove the Dockerfile that was once used to build the Scality S3 test container.
This commit is contained in:
David Steele
2019-10-09 14:38:24 -04:00
parent ac870b42de
commit 528f4c4347
6 changed files with 31 additions and 116 deletions
+1 -8
View File
@@ -168,7 +168,7 @@ eval
}
else
{
$strPackage .= " python-pip libdbd-pg-perl";
$strPackage .= " libdbd-pg-perl";
}
processBegin('install test packages');
@@ -191,13 +191,6 @@ eval
processExec("sudo adduser --ingroup=\${USER?} --uid=5001 --disabled-password --gecos \"\" " . BACKREST_USER);
processEnd();
processBegin("install and configure aws cli");
processExec('pip install --upgrade --user awscli', {bSuppressStdErr => true});
processExec('aws configure set region us-east-1');
processExec('aws configure set aws_access_key_id accessKey1');
processExec('aws configure set aws_secret_access_key verySecretKey1');
processEnd();
# Build the container
processBegin("${strVm} build");
processExec("${strTestExe} --vm-build --vm=${strVm}", {bShowOutputAsync => true, bOutLogOnError => false});