Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Dechea/ORC_Workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORC_Workflows

We manage our continuous deployment workflows centrally, so that every team can focus as most as possible on outcome instead on managing operation stuff.

We have different reusable workflows for every repository type, that covers the repository specific stuff. You find more information about it in Miro.

Frontend - Serverless cloud

TBD

Functions - Serverless cloud

Link to Workflow

Embed the following code and change inside the "Deploy" job the following props based on your Domain:

  • PROD_INSTANCES
  • MUTATION_TEST
name: Continuous Deployment
on:
  push:
  workflow_dispatch:
jobs:
  Deploy:
    uses: Dechea/ORC_Workflows/.github/workflows/continuousDeploymentServerless.yml@main
    with:
      PROD_INSTANCES: "prod"
      MUTATION_TEST: "false"
    secrets:
      SERVERLESS_TOKEN: ${{ secrets.SERVERLESS_TOKEN }}
      BIT_TOKEN: ${{ secrets.BIT_TOKEN }}

IaC - Fauna

Link to Workflow

Embed the following code and change inside the "DeployDev" job the following props and secrets based on your Domain:

  • FAUNA_DATABASE
  • FAUNA_TOKEN
  • SONAR_TOKEN_SCHEMA (DEPRECATED)
jobs:
  DeployDev:
    if: github.event_name == 'pull_request' || github.ref != 'refs/heads/main'
    uses: Dechea/ORC_Workflows/.github/workflows/continuousDeploymentFauna.yml@main
    with:
      FAUNA_DATABASE: 'USR_User' #CHANGE THIS VALUE TO YOUR DOMAIN/DEV DATABASE
      MUTATION_TEST: true
    secrets:
      GITHUB_PAT: ${{ secrets.SCHEMA_PAT_GITHUB }}
      FAUNA_REGION: ${{ secrets.FAUNA_REGION }}
      FAUNA_TOKEN: ${{ secrets.FAUNA_TOKEN_USR }} #CHANGE THIS VALUE TO YOUR FAUNA_TOKEN_xy
      FAUNA_CHILD_DB: ${{ secrets.FAUNA_TOKEN_UNIT_INTEGRATION_TESTING }}
      SONAR_TOKEN_SCHEMA: ${{ secrets.SONAR_TOKEN_USR_SCHEMA }} #CHANGE THIS VALUE TO YOUR SONAR_TOKEN_xy_SCHEMA (DEPRECATED)

  DeployProduction:
    if: github.ref == 'refs/heads/main'
    uses: Dechea/ORC_Workflows/.github/workflows/continuousDeploymentFauna.yml@main
    with:
      FAUNA_DATABASE: 'Production'
      MUTATION_TEST: false
    secrets:
      GITHUB_PAT: ${{ secrets.SCHEMA_PAT_GITHUB }}
      FAUNA_REGION: ${{ secrets.FAUNA_REGION }}
      FAUNA_TOKEN: ${{ secrets.FAUNA_TOKEN_PRODUCTION }}
      FAUNA_CHILD_DB: ${{ secrets.FAUNA_TOKEN_UNIT_INTEGRATION_TESTING }}
      SONAR_TOKEN_SCHEMA: ${{ secrets.SONAR_TOKEN_USR_SCHEMA }} #CHANGE THIS VALUE TO YOUR SONAR_TOKEN_xy_SCHEMA (DEPRECATED)

Components - Bit

Link to Workflow

Embed the following code and change inside the "Deploy" job the following props based on your Domain:

  • SCOPE_NAME
name: Continuous Deployment
on:
  push:
    branches-ignore:
        - 'main'
  pull_request:
    types:
      [closed]
  workflow_dispatch:

jobs:
  Deploy:
    uses: Dechea/ORC_Workflows/.github/workflows/continuousDeploymentBit.yml@main
    secrets:
      BIT_TOKEN: ${{ secrets.BIT_TOKEN }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages