Skip to content

Commit

Permalink
Move baas tests to QA
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Apr 8, 2022
1 parent e4a9fd4 commit a6e6baf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
- uses: realm/ci-actions/mdb-realm/deployApps@fac1d6958f03d71de743305ce3ab27594efbe7b7
id: deploy-mdb-apps
with:
projectId: ${{ secrets.ATLAS_PROJECT_ID }}
apiKey: ${{ secrets.ATLAS_PUBLIC_API_KEY }}
privateApiKey: ${{ secrets.ATLAS_PRIVATE_API_KEY }}
projectId: ${{ secrets.ATLAS_QA_PROJECT_ID }}
apiKey: ${{ secrets.ATLAS_QA_PUBLIC_API_KEY }}
privateApiKey: ${{ secrets.ATLAS_QA_PRIVATE_API_KEY }}
differentiator: dart-linux
- name : Setup Dart SDK
uses: dart-lang/setup-dart@main
Expand All @@ -40,9 +40,9 @@ jobs:
dart run realm_dart deploy-apps \
--baas-url https://realm-dev.mongodb.com \
--atlas-cluster ${{ steps.deploy-mdb-apps.outputs.clusterName }} \
--api-key ${{ secrets.ATLAS_PUBLIC_API_KEY }} \
--private-api-key ${{ secrets.ATLAS_PRIVATE_API_KEY }} \
--project-id ${{ secrets.ATLAS_PROJECT_ID }}
--api-key ${{ secrets.ATLAS_QA_PUBLIC_API_KEY }} \
--private-api-key ${{ secrets.ATLAS_QA_PRIVATE_API_KEY }} \
--project-id ${{ secrets.ATLAS_QA_PROJECT_ID }}
build-linux:
runs-on: ubuntu-latest
name: Build Linux
Expand All @@ -67,9 +67,9 @@ jobs:
env:
BAAS_URL: https://realm-dev.mongodb.com
BAAS_CLUSTER: ${{ needs.baas-linux.outputs.clusterName }}
BAAS_API_KEY: ${{ secrets.ATLAS_PUBLIC_API_KEY }}
BAAS_PRIVATE_API_KEY: ${{ secrets.ATLAS_PRIVATE_API_KEY }}
BAAS_PROJECT_ID: ${{ secrets.ATLAS_PROJECT_ID}}
BAAS_API_KEY: ${{ secrets.ATLAS_QA_PUBLIC_API_KEY }}
BAAS_PRIVATE_API_KEY: ${{ secrets.ATLAS_QA_PRIVATE_API_KEY }}
BAAS_PROJECT_ID: ${{ secrets.ATLAS_QA_PROJECT_ID}}
needs:
- baas-linux
- build-linux
Expand Down Expand Up @@ -154,9 +154,9 @@ jobs:
steps:
- uses: realm/ci-actions/mdb-realm/cleanup@fac1d6958f03d71de743305ce3ab27594efbe7b7
with:
projectId: ${{ secrets.ATLAS_PROJECT_ID}}
apiKey: ${{ secrets.ATLAS_PUBLIC_API_KEY}}
privateApiKey: ${{ secrets.ATLAS_PRIVATE_API_KEY }}
projectId: ${{ secrets.ATLAS_QA_PROJECT_ID}}
apiKey: ${{ secrets.ATLAS_QA_PUBLIC_API_KEY}}
privateApiKey: ${{ secrets.ATLAS_QA_PRIVATE_API_KEY }}
differentiator: dart-linux

# macOS jobs
Expand Down

0 comments on commit a6e6baf

Please sign in to comment.