Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 940 Bytes

File metadata and controls

21 lines (16 loc) · 940 Bytes

CI Pipeline - Unstructured

This is an example for how to create a CloudBuild CI pipeline on an unstructured directory, so called because the config-root of this directory does not follow the ACM repo structure. We will change the ConfigMap to adhere to the OPA Gatekeeper constraint.

See our documentation for how to set up this example.

Config Overview

This repository contains the following files.

ci-pipeline-unstructured/
├── config-root
│   ├── configmap.yaml
│   └── constraints
│       ├── banned-key-constraint.yaml # OPA Gatekeeper constraint to ban secrets in ConfigMaps
│       └── banned-key-template.yaml # OPA Gatekeeper template for banned ConfigMap keys
├── cloudbuild.yaml # CloudBuild configuration file with which to set up a trigger
└── README.md