ci-fairy: add s3cp to upload/download for the minio replacement
This is not pure S3 that we are using now:
- authentication is done through a JWT token in each request
- a plain PUT/GET is enough to upload/download files
This is more of a convenience wrapper because we could use a simple curl call to download:
curl -H "Authorization: Bearer $TOKEN" \
https://s3.freedesktop.org/artifacts/namespace/project/pipelineID/file
and to upload:
curl -H "Authorization: Bearer $TOKEN" \
-H 'x-amz-acl: public-read-write' \
-H "Content-Type: application/octet-stream" \
-T file \
https://s3.freedesktop.org/artifacts/namespace/project/pipelineID/file
Signed-off-by: Benjamin Tissoires benjamin.tissoires@gmail.com