Skip to content

Releases: GoogleContainerTools/container-structure-test

v1.11.0 Release

09 Nov 18:30
90eb3e5
Compare
Choose a tag to compare

v1.11.0 Release - 11/09/2021

Highlights:

  • Use os.Lstat over os.Stat (#292)
  • Add support for the "user" metadata. Related to #80. (#274)
  • Move to Go 1.17 to support newer versions of macOS

Big thanks to everyone who contributed to this release:

  • charlyx
  • dduportal
  • midnightconman

Distribution

container-structure-test is distributed in binary form for Linux (arm64, amd64, s390x, ppc64le), OS X, and Windows systems for the v1.11.0 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:
Linux/amd64
Linux/arm64
Linux/s390x
Linux/ppc64le
Darwin/amd64
Windows

The container image can be found at gcr.io/gcp-runtimes/container-structure-test:v1.11.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.11.0/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.

Windows

https://storage.googleapis.com/container-structure-test/v1.11.0/container-structure-test-windows-amd64.exe

Linux

amd64:

curl -LO https://storage.googleapis.com/container-structure-test/v1.11.0/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/

arm64:

curl -LO https://storage.googleapis.com/container-structure-test/v1.11.0/container-structure-test-linux-arm64 && mv container-structure-test-linux-arm64 container-structure-test && chmod +x container-structure-test && sudo mv container-structure-test /usr/local/bin/

s390x:

curl -LO https://storage.googleapis.com/container-structure-test/v1.11.0/container-structure-test-linux-s390x && mv container-structure-test-linux-s390x container-structure-test && chmod +x container-structure-test && sudo mv container-structure-test /usr/local/bin/

ppc64le:

curl -LO https://storage.googleapis.com/container-structure-test/v1.11.0/container-structure-test-linux-ppc64le && mv container-structure-test-linux-ppc64le 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

v1.10.0 Release

07 Jan 19:18
4c2c33a
Compare
Choose a tag to compare

v1.10.0 Release - 01/07/2021

Highlights:

  • ✨ Add new output format JUnit #254
  • Produce linux/s390x and linux/ppc64le binaries to use in container_test #269

Big thanks to everyone who contributed to this release:

  • barthy1
  • charlyx

Distribution

container-structure-test is distributed in binary form for Linux (arm64, amd64, s390x, ppc64le), OS X, and Windows systems for the v1.10.0 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:
Linux/amd64
Linux/arm64
Linux/s390x
Linux/ppc64le
Darwin/amd64
Windows

The container image can be found at gcr.io/gcp-runtimes/container-structure-test:v1.10.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.10.0/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.

Windows

https://storage.googleapis.com/container-structure-test/v1.10.0/container-structure-test-windows-amd64.exe

Linux

amd64:

curl -LO https://storage.googleapis.com/container-structure-test/v1.10.0/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/

arm64:

curl -LO https://storage.googleapis.com/container-structure-test/v1.10.0/container-structure-test-linux-arm64 && mv container-structure-test-linux-arm64 container-structure-test && chmod +x container-structure-test && sudo mv container-structure-test /usr/local/bin/

s390x:

curl -LO https://storage.googleapis.com/container-structure-test/v1.10.0/container-structure-test-linux-s390x && mv container-structure-test-linux-s390x container-structure-test && chmod +x container-structure-test && sudo mv container-structure-test /usr/local/bin/

ppc64le:

curl -LO https://storage.googleapis.com/container-structure-test/v1.10.0/container-structure-test-linux-ppc64le && mv container-structure-test-linux-ppc64le 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

v1.9.1 Release

30 Sep 23:49
c7dfd1c
Compare
Choose a tag to compare

Highlights:

  • Don't check properties of a file that doesn't exist
  • Added isRegex as example in MetaData test
  • Produce linux/arm64 binaries
  • Various docs fixes

Distribution

container-structure-test is distributed in binary form for Linux (arm64 and amd64) and OS X systems for the v1.9.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
Linux/arm64

The container image can be found at gcr.io/gcp-runtimes/container-structure-test:v1.9.1.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.9.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

amd64:

curl -LO https://storage.googleapis.com/container-structure-test/v1.9.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/

arm64:

curl -LO https://storage.googleapis.com/container-structure-test/v1.9.1/container-structure-test-linux-arm64 && mv container-structure-test-linux-arm64 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

1.9.0 Release

30 Sep 23:30
c1f369d
Compare
Choose a tag to compare

Highlights:

  • Allow users to specify the specific Docker runtime
  • Provide a debug container image
  • Add option to disable colors in output
  • Add unexposedPorts and unmountedVolumes to metadata tests
  • Add test duration

Distribution

container-structure-test is distributed in binary form for Linux (amd64) and OS X systems for the v1.9.0 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.9.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.9.0/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.9.0/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

v1.8.0 Release

19 Feb 21:20
19abf36
Compare
Choose a tag to compare
  • Fix broken host driver, add tests for tar and host drivers
  • Support equals sign in env variable values
  • Move cloudbuild.yaml to deploy directory, and fix Dockerfile targets
  • Fix pulling image with registry:port or digest
  • don't check file permissions if file doesn't exist
  • pick up go-containerregistry fixes

Distribution

container-structure-test is distributed in binary form for Linux and OS X systems for the v1.8.0 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.8.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.8.0/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.8.0/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

v1.7.0 Release

19 Dec 21:21
dc9497e
Compare
Choose a tag to compare
  • Fix cloudbuild example in docs
  • Fix --quiet flag
  • Cleaned up JSON output
  • Switch to using dep for go dependency management
  • Remove ctc_lib in favor of cobra for arg parsing and logrus for logging

Distribution

container-structure-test is distributed in binary form for Linux and OS X systems for the v1.7.0 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.7.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.7.0/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.7.0/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

v1.6.0 Release

01 Nov 19:48
4fe00b0
Compare
Choose a tag to compare
  • Fix missing test command in tar driver example (#174)
  • Adds regex support for env/label metadata tests (#172)
  • Fix characters escaping in expectedContents expression (#179)
  • Use go-containerregistry image processing from container-diff (#181)

Distribution

container-structure-test is distributed in binary form for Linux and OS X systems for the v1.6.0 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.6.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.6.0/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.6.0/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

v1.5.0 Release

14 Aug 17:47
660481f
Compare
Choose a tag to compare
  • Add isExecutableBy field to FileExistenceTests
  • More verbose logging

Distribution

container-structure-test is distributed in binary form for Linux and OS X systems for the v1.5.0 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.5.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.5.0/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.5.0/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

v1.4.0 Release

18 Jul 22:57
57e9103
Compare
Choose a tag to compare
  • Fix config validation not correctly failing a test
  • Fix non-strict config validation
  • Remove bazel
  • Fix prepping of tar images

Distribution

container-structure-test is distributed in binary form for Linux and OS X systems for the v1.4.0 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.4.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.4.0/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.4.0/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

v1.3.0 Release

14 Jun 17:37
61f1d2f
Compare
Choose a tag to compare
  • Fail immediately if entrypoint lengths do not match
  • Fail tests properly when validation fails

Distribution

container-structure-test is distributed in binary form for Linux and OS X systems for the v1.3.0 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.3.0.

Installation

OSX

curl -LO https://storage.googleapis.com/container-structure-test/v1.3.0/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.3.0/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