From 6dcc00a9f42fbfc3f494f6af9047e4745da41cd2 Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Wed, 30 Mar 2022 17:09:34 +0200 Subject: [PATCH] ci: Moving the runs-on parameter in some Github workflows to use Buildjet (#12399) --- .github/workflows/client-build.yml | 2 +- .github/workflows/test-build-docker-image.yml | 40 +++++++++++++++---- app/client/README.md | 2 +- 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index 3941241633..f3d67d66b5 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -24,7 +24,7 @@ defaults: jobs: build: - runs-on: ubuntu-latest + runs-on: buildjet-8vcpu-ubuntu-2004 # Only run for internal PRs or commits to release or master if: | github.event.pull_request.head.repo.full_name == github.repository || diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index 1f7d95ae3d..2ccb522e01 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -23,7 +23,7 @@ jobs: (github.event_name == 'pull_request_review' && github.event.review.state == 'approved' && github.event.pull_request.head.repo.full_name == github.repository) - runs-on: ubuntu-latest + runs-on: buildjet-8vcpu-ubuntu-2004 defaults: run: working-directory: app/client @@ -547,11 +547,11 @@ jobs: -v "$PWD/stacks:/appsmith-stacks" fatcontainer sudo chmod a+rw stacks/configuration/docker.env sudo echo "APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY" >> stacks/configuration/docker.env - -# - name: Restart Appsmith -# if: steps.run_result.outputs.run_result != 'success' -# run: | -# docker restart appsmith + + # - name: Restart Appsmith + # if: steps.run_result.outputs.run_result != 'success' + # run: | + # docker restart appsmith - name: Use Node.js 14.15.4 if: steps.run_result.outputs.run_result != 'success' @@ -763,7 +763,33 @@ jobs: strategy: fail-fast: false matrix: - job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] + job: + [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + ] # Service containers to run with this job. Required for running tests services: diff --git a/app/client/README.md b/app/client/README.md index 5caedc5141..21ac1b86ee 100755 --- a/app/client/README.md +++ b/app/client/README.md @@ -1,4 +1,4 @@ # Appsmith Client This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

-For details on setting up your development machine, please refer to the [Setup Guide](../../contributions/ClientSetup.md) +For details on setting up your development machine, please refer to the [Setup Guide](../../contributions/ClientSetup.md) \ No newline at end of file