Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

promote validated to be deployable. promote from a development repository to a production repository
RefDescriptionComments/Notes
auto.cicd.001The CI/CD pipeline must support deployment on any cloud and cloud infrastructures including different hardware accelerators.

CI/CD pipelines automate CI/CD best practices into repeatable workflows for integrating code and configurations into builds, testing builds including validation against design and operator specific criteria, and delivery of the product onto a runtime environment.

Example of an open-source cloud native CI/CD framework is the Tekton project (https://tekton.dev/)

auto.cicd.002The CI/CD pipelines must use event-driven task automation
auto.cicd.003The CI/CD pipelines should avoid scheduling tasks
auto.cicd.004The CI/CD pipeline is triggered by a new or updated software release being loaded into a repository

The software release cane be source code files, configuration files, images, manifests

Operators may support a single or multiple repositories and may, thus, specify which repository is to be used for these release.

An example, of an open source repository is the CNCF Harbor (https://goharbor.io/)

auto.cicd.005The CI pipeline must support build and packaging of images and deployment manifests from source code and configuration files.
auto.cicd.006The CI pipeline must scan images and manifests to validate for compliance with security requirements. 

Refer to RM Chapter 07 (https://github.com/cntt-n/CNTT/blob/master/doc/ref_model/chapters/chapter07.md#79-consolidated-security-requirements)

Examples of such security requirements include only ingesting images, source code, configuration files, etc. only form trusted sources.

auto.cicd.007The CI pipeline must scan images and manifests to validate for compliance with design and coding best practices.
auto.cicd.008The CI pipeline must validate images and manifestsExample, different tests
auto.cicd.009The CI pipeline must validate images and manifestsExample, different testswith all hardware offload permutations and without hardware offload
auto.cicd.010The CI pipeline must validate with all hardware offload permutations and without hardware offloadpromote validated images and manifests to be deployable.Example, promote from a development repository to a production repository
auto.cicd.011The CD pipeline must verify and validate the tenant requestExample, RBAC, request is within quota limits, affinity/anti-affinity,
auto.cicd.012The CD pipeline after all validations must turn over control to orchestration of the software
auto.cicd.013The CD pipeline must be able to deploy into Development, Test and Production environments
auto.cicd.014The CD pipeline must be able to automatically promote software from Development to Test and Production environments






...