8000 Update sdk-test-suite.yaml by moran-frontegg · Pull Request #79 · frontegg/workflows · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update sdk-test-suite.yaml #79

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
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
18 changes: 8 additions & 10 deletions .github/workflows/dashboard-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ on:
description: "Frontegg Bot Creds"
required: true

env:
BUCKET_NAME: "frontegg-test-reports"
AWS_REGION: "us-east-1"

permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -141,12 +137,13 @@ jobs:
app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
private_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::527305576865:role/github-action-s3-role
role-session-name: github-action-session
aws-region: ${{ env.AWS_REGION }}
- name : Configure Datadog Test Optimization
uses : datadog/test-visibility-github-action@v2
with :
languages : js
api_key : ${{secrets.DD_API_KEY}}
site : datadoghq.com
tags: "triggering_repo:${{ github.repository }}, environment:venv"

- name: Run API Tests from E2E-system-tests repo
uses: ./.github/actions/api-tests
Expand All @@ -165,6 +162,7 @@ jobs:
AZURE_APP_SECRET: ${{ secrets.AZURE_APP_SECRET }}
test_script: "yarn run test:e2e:regression:portal:hosted"
# test_script: yarn run test:e2e:regression:portal:hosted --shard=${{ matrix.shard }}/${{ matrix.total }}
NODE_OPTIONS: '-r ${{env.DD_TRACE_PACKAGE}}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't work i think it will be shown under e2e-system-test repo I think,
We need to migrate it to the new docker based


update-trigger-status:
name: Update trigger status
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/full-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ on:
DD_API_KEY:
description: 'Datadog API Key'
required: true
env:
BUCKET_NAME: "frontegg-test-reports"
AWS_REGION: "us-east-1"

permissions:
id-token: write
Expand Down
71 changes: 43 additions & 28 deletions .github/workflows/sdk-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ on:
description: 'Frontegg Bot Creds'
required: true

env:
BUCKET_NAME: "frontegg-test-reports"
AWS_REGION: "us-east-1"

permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -126,12 +122,15 @@ jobs:
with:
app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
private_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::527305576865:role/github-action-s3-role
role-session-name: github-action-session
aws-region: ${{ env.AWS_REGION }}

- name : Configure Datadog Test Optimization
uses : datadog/test-visibility-github-action@v2
with :
languages : js
api_key : ${{secrets.DD_API_KEY}}
site : datadoghq.com
tags: "triggering_repo:${{ github.repository }}, environment:staging"

- name: Run E2E Tests from E2E-system-tests repo
uses: ./.github/actions/e2e-test
with:
Expand Down Expand Up @@ -166,6 +165,7 @@ jobs:
environment: "staging"
frontegg_client_id: ${{ secrets.FRONTEGG_STG_CLIENT_ID }}
frontegg_secret: ${{ secrets.FRONTEGG_STG_SECRET }}
NODE_OPTIONS: '-r ${{env.DD_TRACE_PACKAGE}}'

run-e2e-test-nextjs:
name: "Run E2E tests ${{ inputs.client_framework }}@${{ inputs.client_framework_version || inputs.react_version }}"
Expand All @@ -189,12 +189,15 @@ jobs:
with:
app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
private_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::527305576865:role/github-action-s3-role
role-session-name: github-action-session
aws-region: ${{ env.AWS_REGION }}

- name : Configure Datadog Test Optimization
uses : datadog/test-visibility-github-action@v2
with :
languages : js
api_key : ${{secrets.DD_API_KEY}}
site : datadoghq.com
tags: "triggering_repo:${{ github.repository }}, environment:staging"

- name: Run E2E Tests from E2E-system-tests repo
uses: ./.github/actions/e2e-test
with:
Expand Down Expand Up @@ -230,6 +233,8 @@ jobs:
frontegg_client_id: ${{ secrets.FRONTEGG_STG_CLIENT_ID }}
frontegg_secret: ${{ secrets.FRONTEGG_STG_SECRET }}
nextjs_router: ${{ matrix.nextjs_router }}
NODE_OPTIONS: '-r ${{env.DD_TRACE_PACKAGE}}'


run-admin-box-test:
name: "Run Admin Box tests ${{ inputs.client_framework || 'react' }}@${{ inputs.client_framework_version || inputs.react_version }}"
Expand All @@ -249,12 +254,15 @@ jobs:
with:
app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
private_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::527305576865:role/github-action-s3-role
role-session-name: github-action-session
aws-region: ${{ env.AWS_REGION }}

- name : Configure Datadog Test Optimization
uses : datadog/test-visibility-github-action@v2
with :
languages : js
api_key : ${{secrets.DD_API_KEY}}
site : datadoghq.com
tags: "triggering_repo:${{ github.repository }}, environment:staging"

- name: Run Admin Box Tests from E2E-system-tests repo
uses: ./.github/actions/admin-box
with:
Expand Down Expand Up @@ -289,6 +297,8 @@ jobs:
environment: "staging"
frontegg_client_id: ${{ secrets.FRONTEGG_STG_CLIENT_ID }}
frontegg_secret: ${{ secrets.FRONTEGG_STG_SECRET }}
NODE_OPTIONS: '-r ${{env.DD_TRACE_PACKAGE}}'


run-logins-test:
name: "Run Login Box tests ${{ inputs.client_framework || 'react' }}@${{ inputs.client_framework_version || inputs.react_version }}"
Expand All @@ -308,12 +318,15 @@ jobs:
with:
app_id: ${{ secrets.GH_FRONTEGG_BOT_APP_ID }}
private_key: ${{ secrets.GH_FRONTEGG_BOT_APP_SECRET }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::527305576865:role/github-action-s3-role
role-session-name: github-action-session
aws-region: ${{ env.AWS_REGION }}

- name : Configure Datadog Test Optimization
uses : datadog/test-visibility-github-action@v2
with :
languages : js
api_key : ${{secrets.DD_API_KEY}}
site : datadoghq.com
tags: "triggering_repo:${{ github.repository }}, environment:staging"

- name: Run Login Box Tests from E2E-system-tests repo
uses: ./.github/actions/login-box
with:
Expand Down Expand Up @@ -348,6 +361,8 @@ jobs:
environment: "staging"
frontegg_client_id: ${{ secrets.FRONTEGG_STG_CLIENT_ID }}
frontegg_secret: ${{ secrets.FRONTEGG_STG_SECRET }}
NODE_OPTIONS: '-r ${{env.DD_TRACE_PACKAGE}}'


update-trigger-status:
name: Update trigger status
Expand Down
0