Skip to content

Commit

Permalink
Merge branch 'main' into khushal87/fix-get-devices
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz authored Oct 9, 2023
2 parents 19e26a1 + fd96007 commit a889dfa
Show file tree
Hide file tree
Showing 327 changed files with 11,049 additions and 3,827 deletions.
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
**/node_modules/
**/dist/
**/.env*
**/.DS_Store
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.github/
.readme-assets/
sample-apps/**
!sample-apps/react/egress-composite/
packages/react-native-sdk/
sample-apps/react/egress-composite/tests/
.styles/
6 changes: 0 additions & 6 deletions .github/actions/rn-bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ runs:
run: yarn build:react-native:deps
shell: bash

- name: Setup and link permissions
if: ${{ env.INSTALL_IOS_PERMISSIONS == 'true' }}
working-directory: sample-apps/react-native/dogfood
run: npx react-native setup-ios-permissions
shell: bash

- name: Cache pods
uses: actions/cache@v3
if: ${{ env.INSTALL_PODS == 'true' }}
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/deploy-react-sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,24 @@ jobs:
VITE_STREAM_USER_TOKEN: ${{ secrets.EGRESS_USER_TOKEN }}
VITE_STREAM_KEY: ${{ vars.STREAM_API_KEY_SAMPLE_APPS }}
VITE_STREAM_SECRET: ${{ secrets.STREAM_SECRET_SAMPLE_APPS }}
VITE_EGRESS_SENTRY_DNS: ${{ secrets.EGRESS_SENTRY_DNS }}
VITE_VIDEO_DEMO_SENTRY_DNS: ${{secrets.VIDEO_DEMO_SENTRY_DNS}}
VITE_TOKEN_PROVIDER_URL: ${{secrets.TOKEN_PROVIDER_URL}}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
PRONTO_SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
EGRESS_SENTRY_AUTH_TOKEN: ${{ secrets.EGRESS_SENTRY_AUTH_TOKEN }}
MODE: ${{ github.ref_name == 'main' && 'production' || 'preview' }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

# - uses: dorny/[email protected]
# id: changes
# with:
# filters: |
# sample-apps:
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*'
# - uses: dorny/[email protected]
# id: changes
# with:
# filters: |
# sample-apps:
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*'

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/egress-composite-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:

jobs:
test:
timeout-minutes: 15
timeout-minutes: 20
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -58,6 +58,20 @@ jobs:
- name: Install Playwright system dependencies (always)
run: npx playwright install-deps

# - name: Authenticate stream-video-buddy
# uses: nick-fields/[email protected]
# with:
# timeout_minutes: 5
# max_attempts: 2
# command: yarn workspace @stream-io/egress-composite buddy auth

- name: Run Playwright tests
working-directory: sample-apps/react/egress-composite
run: yarn buddy auth && yarn test:e2e
run: yarn workspace @stream-io/egress-composite test:e2e

- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: sample-apps/react/egress-composite/test-results/
retention-days: 5
2 changes: 0 additions & 2 deletions .github/workflows/react-native-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
INSTALL_NODE: true
INSTALL_PODS: true
INSTALL_RN_DEPENDENCIES: true
INSTALL_IOS_PERMISSIONS: true

- name: Test RN SDK
run: yarn test:react-native:sdk
Expand Down Expand Up @@ -99,7 +98,6 @@ jobs:
INSTALL_MAESTRO: true
INSTALL_VIDEO_BUDDY: true
INSTALL_RN_DEPENDENCIES: true
INSTALL_IOS_PERMISSIONS: true

- name: Test
working-directory: sample-apps/react-native/dogfood
Expand Down
4 changes: 4 additions & 0 deletions .styles/Vocab/Base/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ APNs
SFUs
RTMPs
broadcasted
unmount
websockets
hardcoded
UIs
Loading

0 comments on commit a889dfa

Please sign in to comment.