Skip to content

Instantly share code, notes, and snippets.

@brurucy
Created June 30, 2022 11:06
Show Gist options
  • Save brurucy/b818de60524080a02ecac40c9832cfc4 to your computer and use it in GitHub Desktop.
Save brurucy/b818de60524080a02ecac40c9832cfc4 to your computer and use it in GitHub Desktop.
neodora-test-snippet-example
test_deny_different_images {
imageDefinition[{
"ciImage": "node:14-alpine",
"normalImage": "php:16-alpine",
}] with input as [[{
"Cmd": "from",
"Flags": [],
"JSON": false,
"Stage": 0,
"SubCmd": "",
"Value": ["node:14-alpine"],
}]]
with data.neodora.files as {
"go.mod": null,
"Dockerfile": [[{
"Cmd": "from",
"Flags": [],
"JSON": false,
"Stage": 0,
"SubCmd": "",
"Value": ["php:16-alpine"],
}]],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment