Skip to content

Commit

Permalink
Merge pull request #2850 from GetStream/fix/v5-deployment-pipeline
Browse files Browse the repository at this point in the history
fix: add V5 branch configuration
  • Loading branch information
isekovanic authored Dec 12, 2024
2 parents 236029f + 41517b3 commit f38ae11
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- develop
- main
- V5
- 'v[0-9]+.[0-9]+.[0-9]+*beta*'
types: [opened, synchronize]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/next-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- V5

jobs:
publish-next:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sample-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build_and_deploy_ios_testflight_qa:
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop' }}
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/V5' }}
runs-on: [macos-14]
steps:
- name: Connect Bot
Expand All @@ -36,14 +36,14 @@ jobs:
run: bundle exec pod install
- name: Build and release Testflight QA
working-directory: examples/SampleApp
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop' }};
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/V5' }};
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}

build_and_deploy_android_s3:
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/V5' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -64,13 +64,13 @@ jobs:
rm -rf $HOME/.gradle/caches/ && ./gradlew assembleRelease
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
if: ${{ github.ref == 'refs/heads/develop' }}
if: ${{ github.ref == 'refs/heads/V5' }}
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Upload APK
if: ${{ github.ref == 'refs/heads/develop' }}
if: ${{ github.ref == 'refs/heads/V5' }}
# https://getstream.io/downloads/rn-sample-app.apk
run: |
cp examples/SampleApp/android/app/build/outputs/apk/release/app-release.apk rn-sample-app.apk
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
branches:
- develop
- main
- V5

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
Expand Down
1 change: 1 addition & 0 deletions release/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ configPromise.then((config) => {
...config,
branches: [
'main',
'V5',
{
name: 'develop',
channel: 'beta',
Expand Down

0 comments on commit f38ae11

Please sign in to comment.