This folder is a collection of scripts used for development and productionxi - primarily, to build images and run tests.
Separately, there's also root of the repository that contains:
Script names and respective descriptions follow below.
Given a release tag, add release assets to an existing (and tagged) github release at AIStore releases.
Currently, this will build and upload ais and aisloader binaries along with their respective sha256 checksums.
Once a new AIS release is posted, run the following command:
Command
$ GITHUB_OAUTH_TOKEN=<oauth token> GITHUB_RELEASE_TAG=<release tag> ./github_release.sh
This will require GITHUB_OAUTH_TOKEN and, again, the corresponding GITHUB_RELEASE_TAG. WARNING: Choose all the permission options while creating the token and then delete the token post the release.
A tool to run and compare benchmarks between current (the latest) commit and a specified one.
Utilizes go test
and benchcmp
tools.
Is used in our Makefile for integration into CI pipeline.
$ ./bench.sh cmp --dir "<directory to search for tests>" --verbose --post-checkout "<post checkout commands to run>"
Development-only. Performs several useful commands including shutdown of a locally deployed cluster, cleanup
, etc.
$ ./clean_deploy.sh <directory used for $AIS_DIR>
More details on usage can be found here.
Used internally by almost all our Makefile commands.
A collection of common shell
functions.