GithubHelp home page GithubHelp logo

fasit-deploy's Introduction

Fasit-deploy action

An action that rolls out a new version of a fasit-feature to all environments.

Usage

name: Build and deploy image
jobs:
  rollout:
    needs: [build_push]
    runs-on: fasit-deploy
    permissions:
      id-token: write
    steps:
      - uses: nais/fasit-deploy@v2
        with:
          chart: # OCI Chart URL
          version: # Chart version

How it works

sequenceDiagram
    participant Fasit
    participant Postgres
    participant Naisd
    Fasit->>Postgres: create rollout
    Note right of Postgres: on create - trigger notify
    Postgres->>Fasit: Rollout, start listen for change
    Note left of Fasit: update status and old values
    Fasit->>Postgres: save changes
    Note left of Fasit: update env config for CI environments
    Fasit->>Postgres: save changes
    Note right of Postgres: on update - trigger notify
    Postgres->>Fasit: Reconciler - listen for change
    Note left of Fasit: Reconcile environments, find pending rollouts for configuration
    Fasit->>Naisd: Deploy instructions
    Note right of Naisd: Do deploy
    Naisd->>Fasit: Helm status
    Note left of Fasit: add log to rollout

Loading
graph
    A[Helm Status] --> B(On Failure)
    A[Helm Status] --> C(On Success)
    B --> D[mark as failed]
    B --> E[Roll back]
    C --> F[Mark as success]
    C --> G[Set as global]

Loading

Fasit is not exposed to the internet, so the action runs on a github-runner on the private network in nais-io.

The action will authenticate with fasit using an openIDConnect token

fasit-deploy's People

Contributors

thokra-nav avatar frodesundby avatar mortenlj avatar starefossen avatar

Watchers

 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.