- Use string comparison instead of regexes for env/labels metadata tests
Distribution
container-structure-test is distributed in binary form for Linux and OS X systems for the v1.2.1 release, as well as a container image for running tests in Google Cloud Builder.
Binaries are available on Google Cloud Storage. The direct GCS links are:
Darwin/amd64
Linux/amd64
The container image can be found at gcr.io/gcp-runtimes/container-structure-test:v1.2.1
.
Installation
OSX
curl -LO https://storage.googleapis.com/container-structure-test/v1.2.1/container-structure-test-darwin-amd64 && mv container-structure-test-darwin-amd64 container-structure-test && chmod +x container-structure-test && sudo mv container-structure-test /usr/local/bin/
Feel free to leave off the sudo mv container-structure-test /usr/local/bin
if you would like to add container-structure-test to your path manually.
Linux
curl -LO https://storage.googleapis.com/container-structure-test/v1.2.1/container-structure-test-linux-amd64 && mv container-structure-test-linux-amd64 container-structure-test && chmod +x container-structure-test && sudo mv container-structure-test /usr/local/bin/
Feel free to leave off the sudo mv container-structure-test /usr/local/bin
if you would like to add container-structure-test to your path manually.
Usage
Documentation is available here