Giter VIP home page Giter VIP logo

gitops-app-demo's Introduction

gitops-app-demo

CI pipeline

About

This repo is part of three GitOps CI/CD demo repos:

This App repo contains a sample GO application which being containerize and pushed to ACR after every git pushusing GitHub Actions.

The GitHub Action also perform the following steps:

  • Run Unit Test
  • Scan the Docker image using Aqua Trivy Custom GitHub Action
  • Update a file under dynamic folder in the related ArgoCD repo/demo-app Helm chart folder with the newly generated Docker image tag.

As a result of updating the file with the new tag value, ArgoCD sync operation will be triggered and will pull the new Docker image.

GitOps Architecture

alt text

How to configure this repo

  • Fork this repo
  • Establish a trust between GitHub.com and your Azure subscription by configuring OpenID connect, follow this article.
  • Create a PAT in your GitHub account, follow this article (we will refer this value as ACTIONS_TOKEN).
  • Add the following GitHub Action secrets: AZURE_CLIENT_ID, AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID (the values should taken after following OpenID connect article) and ACTIONS_TOKEN.

gitops-app-demo's People

Contributors

yaronpri 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.