-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3168 from responsible-ai-collaborative/staging
Deploy to Production
- Loading branch information
Showing
76 changed files
with
4,891 additions
and
7,618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Process Notifications | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
environment: | ||
description: The Github environment to load secrets from | ||
type: string | ||
required: true | ||
|
||
jobs: | ||
execute-mutation: | ||
runs-on: ubuntu-latest | ||
environment: ${{ inputs.environment }} | ||
|
||
steps: | ||
- name: Call GraphQL API | ||
env: | ||
SITE_URL: ${{ vars.SITE_URL }} | ||
PROCESS_NOTIFICATIONS_SECRET: ${{ secrets.PROCESS_NOTIFICATIONS_SECRET }} | ||
run: | | ||
curl -X POST "$SITE_URL/api/graphql" \ | ||
-H "Content-Type: application/json" \ | ||
-H "PROCESS_NOTIFICATIONS_SECRET: $PROCESS_NOTIFICATIONS_SECRET" \ | ||
-d '{"query":"mutation { processNotifications }"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,11 +67,12 @@ jobs: | |
API_MONGODB_CONNECTION_STRING: "" # dinamically set by globalSetup.ts | ||
E2E_ADMIN_USERNAME: "" | ||
E2E_ADMIN_PASSWORD: "" | ||
ROLLBAR_POST_SERVER_ITEM_ACCESS_TOKEN: ${{ secrets.GATSBY_ROLLBAR_TOKEN }} | ||
SENDGRID_API_KEY: something | ||
SENDGRID_SENDER_NAME: Test Preview | ||
SENDGRID_SENDER: [email protected] | ||
PROCESS_NOTIFICATIONS_SECRET: sarasa | ||
ROLLBAR_POST_SERVER_ITEM_ACCESS_TOKEN: sarasa | ||
MAILERSEND_API_KEY: something | ||
NOTIFICATIONS_SENDER_NAME: Test Preview | ||
NOTIFICATIONS_SENDER: [email protected] | ||
PROCESS_NOTIFICATIONS_SECRET: sarasa | ||
SITE_URL: http://localhost:8000 | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,10 +134,11 @@ jobs: | |
SHARD_INDEX: ${{ matrix.shardIndex }} | ||
SHARD_TOTAL: ${{ matrix.shardTotal }} | ||
TEST_FOLDER: playwright/e2e-full/ | ||
SENDGRID_API_KEY: something | ||
SENDGRID_SENDER_NAME: Test Preview | ||
SENDGRID_SENDER: [email protected] | ||
PROCESS_NOTIFICATIONS_SECRET: sarasa | ||
MAILERSEND_API_KEY: something | ||
NOTIFICATIONS_SENDER_NAME: Test Preview | ||
NOTIFICATIONS_SENDER: [email protected] | ||
PROCESS_NOTIFICATIONS_SECRET: sarasa | ||
SITE_URL: http://localhost:8000 | ||
|
||
- name: Upload Playwright traces | ||
if: failure() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,10 +89,11 @@ jobs: | |
SHARD_INDEX: ${{ matrix.shardIndex }} | ||
SHARD_TOTAL: ${{ matrix.shardTotal }} | ||
TEST_FOLDER: playwright/e2e/ | ||
SENDGRID_API_KEY: something | ||
SENDGRID_SENDER_NAME: Test Preview | ||
SENDGRID_SENDER: [email protected] | ||
PROCESS_NOTIFICATIONS_SECRET: sarasa | ||
MAILERSEND_API_KEY: something | ||
NOTIFICATIONS_SENDER_NAME: Test Preview | ||
NOTIFICATIONS_SENDER: [email protected] | ||
PROCESS_NOTIFICATIONS_SECRET: sarasa | ||
SITE_URL: http://localhost:8000 | ||
|
||
- uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.