bkleinen / github-actions-pipeline-playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-actions-pipeline-playground

This repository is a playground to play with the possibilities of github action workflows and building a deployment pipeline on top of it.

Inspired by this article on the github blog: https://github.blog/2022-02-02-build-ci-cd-pipeline-github-actions-four-steps/

Workflow Status Badges

  • CI

  • CodeQL

  • Development

  • Publish stories if changed

  • Release

  • Scheduled

  • All Jobs and Steps May Fail

  • Complex Pipeline

  • Fail or Not

How to use this repo

The most interesting Workflow is the release Workflow - see Actions · bkleinen/github-actions-pipeline-playground The "Semantic Release" job depends on four other jobs, 2 of them in development.yml It represents the deployment pipeline with

  • release.yml is triggered by push on master
  • development.yml is triggered by push in PR, and used in release.yml
  • CodeQL runs quietly for all pushes but is not a precondition in the deployment pipeline.

Look further into this approach of creating a release:

Reuse Docker Container

Links to Documentation used for this Project

Pass values between workflows:

Diagram created in the Release Workflow:

Visualization of this repo

About


Languages

Language:Shell 82.0%Language:Makefile 18.0%