Giter Club home page Giter Club logo

birdcage's Introduction

Birdcage

GitHub tag (latest SemVer) Birdcage CI Coverage Status

Introduction

This is a simple tool providing an API and UI for the manual approval of a canary deployments via Flagger.

screenshot

Deployment

Run with OpenID Connect Authentication.

  docker run -p 8080:4000 \
    -e PORT=4000 \
    -e SECRET_KEY_BASE=<32-64 characters long> \
    -e APP_URL=https://birdcage.local:8080 \
    docker.pkg.github.com/cognizant-softvision/birdcage/birdcage:latest

Run with OpenID Connect Authentication.

  docker run -p 8080:4000 \
    -e PORT=4000 \
    -e SECRET_KEY_BASE=<32-64 characters long> \
    -e APP_URL=https://birdcage.local:8080 \
    -e OIDC_ENABLED=true \
    -e OIDC_DISCOVERY_DOCUMENT_URI=https://auth.birdcage.local/auth/realms/test/.well-known/openid-configuration \
    -e OIDC_CLIENT_ID=birdcage \
    -e OIDC_CLIENT_SECRET=+o7y6mn2IMCvazRv2Xxv6erd1ImYL9hg \
    -e OIDC_CLIENT_ROLE=user \
    -e OIDC_REDIRECT_URI=https://birdcage.local:8080/session/callback \
    docker.pkg.github.com/cognizant-softvision/birdcage/birdcage:latest

Run with Slack bot enabled.

  docker run -p 8080:4000 \
    -e PORT=4000 \
    -e SECRET_KEY_BASE=<32-64 characters long> \
    -e APP_URL=https://birdcage.local:8080 \
    -e BOT_ENABLED=true \
    -e BOT_SLACK_TOKEN=<Slack Token> \
    -e BOT_NAME=birdcage \
    -e BOT_ALIAS=birdcage \
    docker.pkg.github.com/cognizant-softvision/birdcage/birdcage:latest

Configuring Flagger Webhooks

https://docs.flagger.app/usage/webhooks#manual-gating

webhooks:
  - name: 'Confirm Rollout'
    type: confirm-rollout
    url: https://birdcage.local:8080/api/confirm/rollout
  - name: 'Confirm Promotion'
    type: confirm-promotion
    url: https://birdcage.local:8080/api/confirm/promotion

......

birdcage's People

Contributors

forest avatar semantic-release-bot avatar

Stargazers

 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.