Generate and store satis artifacts in Amazon S3.
1.8K
A simple script that runs Satis and uploads the artifacts to S3.
There is a Dockerfile and an existing image available on the public registry at iainmckay/satis-s3.
The script assumes that Satis has already been installed, you need to provide the path to the Satis console when running the script. If you haven't installed it already, go ahead and do that.
See the Configuration section below for a list of environment variables the script expects.
Simply execute run.sh:
$ ./run.sh <path to satis script> <path to config.json> <output path>
Note: The uploaded artifacts are marked as being publicly readable.
The script requires the following environment variables:
Name | Description --- | --- | --- AWS_ACCESS_KEY_ID | Your AWS access key AWS_SECRET_ACCESS_KEY | Your AWS secret access key AWS_DEFAULT_REGION | The AWS region the bucket is in S3_BUCKET | The bucket to write the artifacts to S3_PATH | The path inside the bucket to write the artifacts to
The docker container expects config.json to be available at /config.json. You can either provide it through a volume or build your own container.
Content type
Image
Digest
sha256:729de75eb…
Size
-
Last updated
over 11 years ago
docker pull iainmckay/satis-s3