Skip to content

Repo for: Easy ChatOps based Release Automation with Tekton, ArgoCD and GitHub Actions

Notifications You must be signed in to change notification settings

pcarney8/easy-chatops-summit-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy ChatOps based Release Automation with Tekton, ArgoCD and GitHub Actions

Prerequisites

  1. An OpenShift cluster, with credentials stored as GitHub Repository Secrets
  • OPENSHIFT_PASSWORD
  • OPENSHIFT_SERVER
  1. ArgoCD deployed and repo added
  2. Tekton deployed and Tasks + Pipelines deployed
  3. Personal Access Token configured for chatops slash commands and GitHub Repository Secret created named: SLASH_TOKEN

Notes

This example repo uses the idea of a trunk based development

How everything works

Tekton is building in the cluster based off of any changes to the src directory via GitHub action .github/workflows/tekton-build.yaml

Once you are ready to release, create an Issue (use the Release Issue template for more documentation)

/release to create a tagged release based on the name
/promote to change the appropriate ArgoCD configs to point the new tag
/deploy to deploy via ArgoCD Application documentation here

GitHub Actions are from:

Tekton Tasks & Pipelines are from:

About

Repo for: Easy ChatOps based Release Automation with Tekton, ArgoCD and GitHub Actions

Resources

Stars

Watchers

Forks

Packages

No packages published