Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/binary-com/deriv-app into…
Browse files Browse the repository at this point in the history
… farhan/personal-details
  • Loading branch information
Farhan-slurrp committed Nov 16, 2023
2 parents 16280e0 + 48e1b08 commit 9c39a10
Show file tree
Hide file tree
Showing 44 changed files with 35,766 additions and 329 deletions.
14 changes: 7 additions & 7 deletions .github/actions/build_and_push_docker_image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ runs:
uses: actions/checkout@v4
- name: Setup Environment variables
run: |
export NAMESPACE=${{ inputs.K8S_NAMESPACE }}
export KUBE_SERVER=${{ inputs.KUBE_SERVER }}
export SERVICEACCOUNT_TOKEN=${{ inputs.SERVICEACCOUNT_TOKEN }}
export DOCKERHUB_ORGANISATION=${{ inputs.DOCKERHUB_ORGANISATION }}
export CA_CRT=${{ inputs.CA_CRT }}
export APP_NAME="deriv-app"
export APP_VERSION=${{ inputs.APP_VERSION }}
echo "NAMESPACE=${{ inputs.K8S_NAMESPACE }}" >> "$GITHUB_ENV"
echo "KUBE_SERVER=${{ inputs.KUBE_SERVER }}" >> "$GITHUB_ENV"
echo "SERVICEACCOUNT_TOKEN=${{ inputs.SERVICEACCOUNT_TOKEN }}" >> "$GITHUB_ENV"
echo "DOCKERHUB_ORGANISATION=${{ inputs.DOCKERHUB_ORGANISATION }}" >> "$GITHUB_ENV"
echo "CA_CRT=${{ inputs.CA_CRT }}" >> "$GITHUB_ENV"
echo "APP_NAME=deriv-app" >> "$GITHUB_ENV"
echo "APP_VERSION=${{ inputs.APP_VERSION }}" >> "$GITHUB_ENV"
shell: bash
- name: Build docker image 🐳
run: docker build -t ${DOCKERHUB_ORGANISATION}/${APP_NAME}:${APP_VERSION} -t ${DOCKERHUB_ORGANISATION}/${APP_NAME}:${{ github.ref_name }} .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Coveralls
jobs:
build:
name: Reporter
runs-on: Runner_16cores_Deriv-app
runs-on: Runner_8cores_Deriv
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -19,6 +19,6 @@ jobs:
- name: Build
uses: "./.github/actions/build"
- name: Test
run: JEST_MAX_WORKERS=75% npm run test:jest -- --collectCoverage
run: JEST_MAX_WORKERS=95% npm run test:jest -- --collectCoverage
- name: Coveralls
uses: coverallsapp/github-action@v2
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
integration_tests:
name: Run Integration Tests
runs-on: Runner_16cores_Deriv-app
runs-on: Runner_8cores_Deriv-app
environment: Preview
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

send_slack_notification:
name: Send Slack notification
runs-on: Runner_16cores_Deriv-app
runs-on: Runner_8cores_Deriv-app
environment: Production
if: always()
needs: [build_test_and_publish]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build_test_and_publish:
name: Build, Test and Publish to Cloudflare Test
runs-on: Runner_16cores_Deriv-app
runs-on: Runner_8cores_Deriv-app
environment: Staging
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build_and_test:
name: Build And Test
runs-on: Runner_16cores_Deriv-app
runs-on: Runner_8cores_Deriv-app
environment: Preview
steps:
- name: Checkout
Expand Down
Loading

0 comments on commit 9c39a10

Please sign in to comment.