Merge the new smoke test to master #25

Merged
lx merged 7 commits from feature/smoke-script into master 2020-12-06 14:27:50 +00:00
Owner

As I have learned recently, s3cmd is more or less deprecated.
It seems that the new standard is the python library boto and the awscli tool.
Moreover, for website publishing, the aws s3 sync command seems very promising.
I have then updated the test-smoke.sh script to use the awscli tool.

I use the "Smoke Test" terminology as this script does not extensively test garage.
It only tests some basic features of garage to detect the worst regressions.
Its main force is to run quickly: it takes less than one minute to run on my machine.

Ideally, this script would be rewritten in the future as an integration test with rusoto and should be extended.
Some tags could be added on the most important tests to choose between quickly test the program and extensively test it.

For now, it seems having our tests under the form of this simple script is enough, so I will not move forward on this subject in the near future.

As I have learned recently, `s3cmd` is more or less deprecated. It seems that the new standard is the python library `boto` and the `awscli` tool. Moreover, for website publishing, the `aws s3 sync` command seems very promising. I have then updated the `test-smoke.sh` script to use the `awscli` tool. I use the "Smoke Test" terminology as this script does not extensively test `garage`. It only tests some basic features of garage to detect the worst regressions. Its main force is to run quickly: it takes less than one minute to run on my machine. Ideally, this script would be rewritten in the future as an integration test with [rusoto](https://www.rusoto.org/) and should be extended. Some tags could be added on the most important tests to choose between quickly test the program and extensively test it. For now, it seems having our tests under the form of this simple script is enough, so I will not move forward on this subject in the near future.
lx merged commit 39f45b3058 into master 2020-12-06 14:27:48 +00:00
Sign in to join this conversation.
No description provided.