Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA Handover PR #1795

Merged
merged 2 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/auto-pr-dev-to-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create PR from dev to main
on:
pull_request:
types: [closed]
branches:
- dev

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: pull-request
uses: repo-sync/pull-request@v2
if: github.event.pull_request.merged == true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: ''
destination_branch: 'main'
pr_title: 'QA Handover PR'
pr_body: ':robot: Automated PR from **${{ github.ref }}** to **main**'
pr_label: 'release'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create PR from main to main-prebuilt
name: Create PR from main to dev
on:
pull_request:
types: [closed]
Expand All @@ -16,7 +16,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: ''
destination_branch: 'main-prebuilt'
pr_title: 'PR for Prebuilt Link QA deployment'
pr_body: ':robot: Automated PR from **${{ github.ref }}** to **main-prebuilt**'
pr_label: 'Prebuilt Link QA deployment'
destination_branch: 'dev'
pr_title: 'PR for main to dev backmerge'
pr_body: ':robot: Automated PR from **${{ github.ref }}** to **dev**'
pr_label: 'backmerge'
22 changes: 22 additions & 0 deletions .github/workflows/auto-pr-main-to-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create PR from main to production
on:
pull_request:
types: [closed]
branches:
- main

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: pull-request
uses: repo-sync/pull-request@v2
if: github.event.pull_request.merged == true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: ''
destination_branch: 'production'
pr_title: 'Production release PR'
pr_body: ':robot: Automated PR from **${{ github.ref }}** to **production**'
pr_label: 'release'
22 changes: 22 additions & 0 deletions .github/workflows/auto-pr-production-to-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create PR from production to main
on:
pull_request:
types: [closed]
branches:
- production

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: pull-request
uses: repo-sync/pull-request@v2
if: github.event.pull_request.merged == true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: ''
destination_branch: 'main'
pr_title: 'Hotfix backmerge to main'
pr_body: ':robot: Automated PR from **${{ github.ref }}** to **main**'
pr_label: 'backmerge'
23 changes: 11 additions & 12 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Deploy Dev
on:
workflow_dispatch:
inputs:
buildEnvForDev:
description: 'which env to build - qa/prod for dev-app, applies only if env is dev'
type: 'choice'
required: false
default: prod
options:
- prod
- qa
push:
branches:
- dev
paths-ignore:
- 'cypress/**'
- 'playwright/**'
- 'internal-docs/**'
- '.github/**'

jobs:
build:
Expand Down Expand Up @@ -38,9 +37,9 @@ jobs:
REACT_APP_ENV: ${{ github.event.inputs.buildEnvForDev }}
REACT_APP_ZIPY_KEY: ${{ secrets.ZIPY_KEY }}
REACT_APP_ENABLE_BEAM_SPEAKERS_LOGGING: 'true'
REACT_APP_INIT_ENDPOINT: https://qa-init.100ms.live/init
REACT_APP_ROOM_LAYOUT_ENDPOINT: https://api-nonprod.100ms.live/v2/layouts/ui
REACT_APP_TOKEN_BY_ROOM_CODE_ENDPOINT: https://auth-nonprod.100ms.live/v2/token
REACT_APP_INIT_ENDPOINT: https://prod-in3.100ms.live/init
REACT_APP_ROOM_LAYOUT_ENDPOINT: https://api.100ms.live/v2/layouts/ui
REACT_APP_TOKEN_BY_ROOM_CODE_ENDPOINT: https://auth.100ms.live/v2/token
steps:
- name: log inputs
run: |
Expand Down