-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mitra-trah-3842-add-deposit-banner
- Loading branch information
Showing
2,469 changed files
with
62,863 additions
and
66,129 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
Validating CODEOWNERS rules …
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 |
---|---|---|
|
@@ -7,6 +7,9 @@ inputs: | |
CLOUDFLARE_API_TOKEN: | ||
description: 'Cloudflare token' | ||
required: true | ||
BRANCH_NAME: | ||
description: 'Branch name' | ||
required: true | ||
runs: | ||
using: composite | ||
steps: | ||
|
@@ -17,6 +20,6 @@ runs: | |
run: | | ||
npm i [email protected] | ||
cd packages/core | ||
npx wrangler pages deploy dist/ --project-name=deriv-app-pages --branch=uat | ||
echo "New uat website - https://uat.cf-pages-deriv-app.deriv.com" | ||
npx wrangler pages deploy dist/ --project-name=deriv-app-pages --branch=${{ inputs.BRANCH_NAME }} | ||
echo "New uat website - https://${{ inputs.BRANCH_NAME }}.cf-pages-deriv-app.deriv.com" | ||
shell: bash |
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
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,53 @@ | ||
name: Deriv App Release to UAT2 Environment | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_test_and_publish: | ||
name: Build, Test and Publish to Cloudflare UAT2 | ||
runs-on: Runner_16cores_Deriv-app | ||
environment: Staging | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
- name: Setup Node | ||
uses: "./.github/actions/setup_node" | ||
- name: Install Dependencies | ||
uses: "./.github/actions/npm_install_from_cache" | ||
- name: Download Remote Config Backup File | ||
uses: ./.github/actions/download_remote_config_backup | ||
with: | ||
REMOTE_CONFIG_URL: ${{ vars.REMOTE_CONFIG_URL }} | ||
- name: Build | ||
uses: "./.github/actions/build" | ||
with: | ||
NODE_ENV: staging | ||
CROWDIN_WALLETS_API_KEY: ${{ secrets.CROWDIN_WALLETS_API_KEY }} | ||
DATADOG_APPLICATION_ID: ${{ vars.DATADOG_APPLICATION_ID }} | ||
DATADOG_CLIENT_TOKEN: ${{ vars.DATADOG_CLIENT_TOKEN }} | ||
IS_GROWTHBOOK_ENABLED: ${{ vars.IS_GROWTHBOOK_ENABLED }} | ||
DATADOG_CLIENT_TOKEN_LOGS: ${{ vars.DATADOG_CLIENT_TOKEN_LOGS }} | ||
DATADOG_SESSION_REPLAY_SAMPLE_RATE: ${{ vars.DATADOG_SESSION_REPLAY_SAMPLE_RATE }} | ||
DATADOG_SESSION_SAMPLE_RATE: ${{ vars.DATADOG_SESSION_SAMPLE_RATE }} | ||
DATADOG_SESSION_SAMPLE_RATE_LOGS: ${{ vars.DATADOG_SESSION_SAMPLE_RATE_LOGS }} | ||
GD_API_KEY: ${{ secrets.GD_API_KEY }} | ||
GD_APP_ID: ${{ secrets.GD_APP_ID }} | ||
GD_CLIENT_ID: ${{ secrets.GD_CLIENT_ID }} | ||
RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }} | ||
GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }} | ||
GROWTHBOOK_DECRYPTION_KEY: ${{ vars.GROWTHBOOK_DECRYPTION_KEY }} | ||
REF_NAME: ${{ github.ref_name }} | ||
REMOTE_CONFIG_URL: ${{ vars.REMOTE_CONFIG_URL }} | ||
TRUSTPILOT_API_KEY: ${{ secrets.TRUSTPILOT_API_KEY }} | ||
- name: Versioning | ||
uses: "./.github/actions/versioning" | ||
with: | ||
release_type: uat2 | ||
- name: Run tests | ||
run: npm test | ||
- name: Publish to Cloudflare Pages UAT2 | ||
uses: "./.github/actions/publish_to_pages_uat" | ||
with: | ||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
BRANCH_NAME: uat2 |
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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
This repository contains the various platforms of the Deriv application. | ||
|
||
![CircleCI](https://img.shields.io/circleci/build/github/binary-com/deriv-app) ![Prerequisite](https://img.shields.io/badge/node-18.x-blue.svg) ![Prerequisite](https://img.shields.io/badge/npm-9.x-blue.svg) | ||
![Prerequisite](https://img.shields.io/badge/node-18.x-blue.svg) ![Prerequisite](https://img.shields.io/badge/npm-9.x-blue.svg) | ||
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/) | ||
![Sonar Tech Debt](https://img.shields.io/sonar/tech_debt/binary-com_deriv-app?server=https%3A%2F%2Fsonarcloud.io) | ||
![Sonar Violations (short format)](https://img.shields.io/sonar/violations/binary-com_deriv-app?server=https%3A%2F%2Fsonarcloud.io) | ||
|
@@ -52,7 +52,7 @@ Before running or contribute to this project, you need to have the setup of the | |
2. **Clone using SSH** | ||
|
||
```sh | ||
git clone [email protected]:binary-com/deriv-app.git | ||
git clone [email protected]:deriv-com/deriv-app.git | ||
``` | ||
|
||
> **Internal**: NX and Lerna integration | ||
|
Oops, something went wrong.