Giter Site home page Giter Site logo

gitops's Introduction

GitOps

GitOps implementation with GitlabCI, ArgoCD, Helm

Screenshot

Basic settings

  • GitLab CI Pipeline
  • Kubernetes template using Helm Charts
  • Continuous Deployment using ArgoCD
  • GitOps repository structure

Gitlab repository structure

Screenshot

Note

You can add variables in Gitlab at the group level from Settings -> CICD -> Variables

  • CD_ARGOCD_URL: argocd.local.az
  • CD_ARGOCD_USERNAME: argo
  • CD_ARGOCD_PASSWORD: password
  • CI_GITLAB_REGISTRY_URL: gitlab.local.az:4567
  • CI_GITLAB_REGISTRY_USERNAME: admin_registry
  • CI_GITLAB_REGISTRY_PASSWORD: password
  • CI_GITLAB_USERNAME: admin_ci
  • CI_GITLAB_PASSWORD: password
  • CI_PROJECT_TEMPLATE: cicd/demo/ci-template
  • CD_GITLAB_PROJECT: cicd
  • EXPO_USERNAME: expo
  • EXPO_PASSWORD: passowrd

The following stages are for the backend, frontend and mobile.

stages:

  • package
  • image_build
  • push_to_helm
  • argocd_sync
  • deploy_to_expo

The package stage is undergoing the build operation. The image_build stage creates an image from Dockerfile. The push_to_helm stage writes a new image tag id to the helm repo. The argocd_sync stage synchronizes the application in argpcd due to a change in the helm repo. The deploy_to_expo stage for mobile includes build operations for both android and ios.

Requirements

  • Gitlab
  • ArgoCD
  • Helm
  • Expo account

Author Information

Samir Nabadov

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.