Giter VIP home page Giter VIP logo

asa-gitops's Introduction

asa-gitops

Example showing how to do GitOps with Azure Spring Apps Enterprise

How to layout the repo option 0

In this option the git repo only has a list of apps to deploy to a single asa-e instance so the structure is

definition/ <-- terraform that creates the ASA-E instance apps/ <-- one subdir per app taht is deployed to the instance with the name of the parent dir catalog/ <-- desired state for the catalog app definition/ <-- desired state for the app config such as env vars, ... etc. expressed as a terraform deployments/ <-- desired state for app versions for each of the apps deploymets blue <-- file with the code version to deploy green <-- file with the code version to deploy production <-- name of the deployment that should use for prod blue or green order/ definition/ deployments/ blue green production ... ... ...

How to layout the repo option 1

ASA service instances must have golbally unique names, across all of azure. so the asa directory has a subdirectory with the desired state of each asa serviec instance. for example

/asa/
  prod/ <-- shoud have one subdirectory for each asa serviec instance that is considered to be productions 
    demo-asa-us-east2/
        definition/ <-- terraform that creates the ASA-E instance 
        apps/ <-- one subdir per app taht is deployed to the instance with the name of the parent dir
            catalog/ <-- desired state for the catalog app
              definition/ <-- desired state for the app config such as env vars, ... etc. expressed as a terraform
              deployments/ <-- desired state for app versions for each of the apps deploymets
                blue <-- file with the code version to deploy 
                green <-- file with the code version to deploy
                production <-- name of the deployment that should use for prod blue or green
            order/
              definition/
              deployments/
                blue
                green
                production 
            ...
            ...
            ...
  dev/
   my-dem-us-west/
     definition/
     apps/
       catalog/
         definiotn/
         deploymnets/
       order/
         definition/
         deployments
                 

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.