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

Update full-test-suite.yaml #53

Merged
merged 7 commits into from
Jan 28, 2025
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
19 changes: 19 additions & 0 deletions .github/workflows/dashboard-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ on:
description: "Frontegg Bot Creds"
required: true

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

permissions:
id-token: write
contents: read
issues: read
checks: write
pull-requests: write

jobs:
start-venv:
name: Start venv
Expand Down Expand Up @@ -129,6 +140,14 @@ 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: Run API Tests from E2E-system-tests repo
uses: ./.github/actions/api-tests
with:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/full-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,17 @@ on:
GH_FRONTEGG_BOT_APP_SECRET:
description: 'Frontegg Bot Creds'
required: true
env:
BUCKET_NAME: "frontegg-test-reports"
AWS_REGION: "us-east-1"

permissions:
id-token: write
contents: read
issues: read
checks: write
pull-requests: write

jobs:
start-venv:
name: Start venv
Expand Down Expand Up @@ -121,6 +131,14 @@ 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: Run E2E Tests from E2E-system-tests repo
uses: ./.github/actions/e2e-test
with:
Expand Down Expand Up @@ -173,6 +191,12 @@ 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@ev4
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: Run API Tests from E2E-system-tests repo
uses: ./.github/actions/api-tests
with:
Expand Down