Skip to content

harness-community/cd-pipeline-sample

Repository files navigation

Harness CD Pipeline Sample

Cover Image CD Pipeline

This sample repository shows how to use the Harness Continuous Delivery Pipeline to deploy an Nginx image to Google Kubernetes Engine using YAML based pipeline creation.

Getting Started

Use this README to get started with our sample pipeline repository for CD. This guide outlines the basics of getting started with the Harness CD and provides a full YAML to set up your pipeline. This sample doesn’t include configuration options for in-depth steps and configuring the pipeline for other services, but only focuses on Kubernetes.

Setting up and running the pipeline will take about 30 minutes, and by the end, you can run an Nginx image on your cluster with Harness!

Workflow

The workflow gives instructions on the steps you should take to get started with the sample pipeline. The steps are as follows:

graph LR

PreFlightChecklist --> Cluster --> Delegate --> Secrets --> Connectors --> Project --> Pipeline --> PipelineExecution

Loading

Layout

Docs Description Link
PreFlight Checklist A checklist for all the pre-requisites Click Here
Cluster Steps to set up GKE and AKS Click Here
Delegate Steps to set up the Harness Delegate Click Here
Secrets Learn about Secrets and steps to set them up Click Here
Connectors Steps the to set up Docker and GitHub Connectors Click Here

Architecture Diagram

CD Pipeline Architecture

Contributor License Agreement

In order to clarify the intellectual property license granted with Contributions from any person or entity, Harness Inc. ("Harness") must have a Contributor License Agreement ("CLA") on file that has been read, accepted, and followed by each contributor, indicating an agreement to the CLA terms located here. This license is for your protection as a Contributor as well as the protection of Harness; it does not change your rights to use your own Contributions for any other purpose.

Code of Conduct

All users and contributors of the Harness community should adhere to the following Code of Conduct!

Communication

Refer Harness Community Communications Guide to interact with the wider community users/contributors, join slack workgroups to get help/help other users and create topics in community.harness.io

License

MIT License.

See COPYING for more information.