Code Monkey home page Code Monkey logo

compliance-cd-toolchain's Introduction

Icon Tekton CD Pipeline with Compliance automation for Kubernetes

This is the toolchain template for continuous deployment with Compliance for Kubernetes. It is preconfigured for continuous delivery with inventory integration, change management with Servicenow, evidence collection and deployment to the IBM Kubernetes Service.

The integrated repositories, target cluster and artifactory integrations are configured during the setup process.

The toolchain includes a Tekton delivery pipeline, which can be manually triggered to initiate a new deployment.

The toolchain can use a Key-Protect vault instance to store the required tokens and API keys.

Graphic Summary

Icon

To get started, click this button:

Deploy To Bluemix

For more information about the setup process, check out this guide

Setup Guide

If you get stuck or experience a problem during setup, or running your pipelines, check out our troubleshooting guide before raising an issue.


The IAM permissions needed for each of the various IBM cloud resources

Role Resource
Administrator, Writer Cloud Object Storage service in <your team's resource group name> resource group
Administrator, Writer Continuous Delivery service in <your team's resource group name> resource group
Administrator Toolchain service in <your team's resource group name> resource group
KeyPurge, Writer, Editor, Manager, Administrator Key Protect service in <your team's resource group name> resource group
Viewer, Reader, Writer Kubernetes Service
Viewer, ReaderPlus Key Protect service in <your team's resource group name> resource group

Using the development mode

The development mode enables you to quickly test the implementation of your shift-left compliance one-pipeline.yaml file, without executing any shift-left compliance related task, so as to optimize pipeline execution time.

  • Audience: developers in charge of adopting the shift-left compliance CD pipeline, implementing the one-pipeline.yaml file.

  • Purpose

    • Develop, implement and quickly test a new shift-left compliance one-pipeline.yaml file using a simplified pipeline.
    • Only execute the various stages of the one-pipeline.yaml file.
    • Skip most of the shift-left compliance related task, hence optimizing the time to execute your code.
  • Warning: this mode should be used for development purpose only, and can not be considered as a replacement of the official shift-left compliance pipelines which remain the reference implementations.

  • Prereq: you already created a compliance CD toolchain.

  • Set-up

    • Go to the Triggers page of your CD pipeline.

    • Create a new development mode trigger:

      • name: pick a name of your choice (ex: Dev-Mode Manual Trigger)

      • EventListener: dev-mode-cd-listener

      • Save your changes

    Icon

  • Run the Development mode pipeline

    • Back to the PipelineRuns page, click on the Run Pipeline button.
    • Select Dev Mode trigger you just created.
    • Click on the Run button.

    Icon

  • Development mode pipeline execution

    • Observe: the pipeline is executed without unnecessary shift-left compliance tasks.
    • Iterate until you're satisfied with your one-pipeline.yaml file implementation.
  • Switching back to shift-left compliance CD pipeline Either disable or delete the development mode trigger.


Learn more

compliance-cd-toolchain's People

Contributors

padraic-edwards avatar madbence avatar huayuenh avatar jerome-lanneluc avatar martindonnelly avatar maire-kehoe avatar gmarjoram avatar ejodet avatar briangleeson avatar mundrapiyush36 avatar tonymcguckin avatar

Watchers

James Cloos avatar Navneet Kaushal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.