Sign inSign up

akozak1lab/gator

By akozak1lab

•Updated 1 day ago

A docker image of gator a tool used for running unit tests against gatekeeper policies

Image
0

2.6K

akozak1lab/gator repository overview

⁠gator

gator is used for running unit tests against gatekeeper policies. See their documentation at https://open-policy-agent.github.io/gatekeeper/website/docs/gator/⁠

The gator CLI is a tool for evaluating Gatekeeper ConstraintTemplates and Constraints in a local environment. More Information⁠

This container is used to run automated pipeline checks against your custom contstraints.

⁠How to use

Add the following into your .gitlab-ci.yml.

gator-test:
  stage: test
  tags:
    - amd64
  image: akozak1lab/gator:latest
  script:
  - gator test <path to suite file>/suite.yaml

⁠Suit files are documented here

Information about Suites⁠

Example Suite File⁠

Tag summary

Content type

Image

Digest

sha256:65f526966…

Size

187.5 MB

Last updated

1 day ago

docker pull akozak1lab/gator