Skip to content

Instantly share code, notes, and snippets.

@n1c0l4stournier
Created June 13, 2019 13:10
Show Gist options
  • Save n1c0l4stournier/5a5cc7b28aeacf6043644fff0e31ce06 to your computer and use it in GitHub Desktop.
Save n1c0l4stournier/5a5cc7b28aeacf6043644fff0e31ce06 to your computer and use it in GitHub Desktop.
Google Container Structure Tests
schemaVersion: "2.0.0"
commandTests:
- name: "Check centos version"
command: "sh"
args: ["-c", "cat /etc/centos-release;"]
expectedOutput: ["7.5.1804"]
- name: "Check java version"
command: "sh"
args: ["-c", "java -version 2>&1;"]
expectedOutput: ["1.8"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment