ci: Moving the runs-on parameter in some Github workflows to use Buildjet (#12399)
This commit is contained in:
parent
17a206c3dd
commit
6dcc00a9f4
2
.github/workflows/client-build.yml
vendored
2
.github/workflows/client-build.yml
vendored
|
|
@ -24,7 +24,7 @@ defaults:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: buildjet-8vcpu-ubuntu-2004
|
||||||
# Only run for internal PRs or commits to release or master
|
# Only run for internal PRs or commits to release or master
|
||||||
if: |
|
if: |
|
||||||
github.event.pull_request.head.repo.full_name == github.repository ||
|
github.event.pull_request.head.repo.full_name == github.repository ||
|
||||||
|
|
|
||||||
38
.github/workflows/test-build-docker-image.yml
vendored
38
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
(github.event_name == 'pull_request_review' &&
|
(github.event_name == 'pull_request_review' &&
|
||||||
github.event.review.state == 'approved' &&
|
github.event.review.state == 'approved' &&
|
||||||
github.event.pull_request.head.repo.full_name == github.repository)
|
github.event.pull_request.head.repo.full_name == github.repository)
|
||||||
runs-on: ubuntu-latest
|
runs-on: buildjet-8vcpu-ubuntu-2004
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: app/client
|
working-directory: app/client
|
||||||
|
|
@ -548,10 +548,10 @@ jobs:
|
||||||
sudo chmod a+rw stacks/configuration/docker.env
|
sudo chmod a+rw stacks/configuration/docker.env
|
||||||
sudo echo "APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY" >> stacks/configuration/docker.env
|
sudo echo "APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY" >> stacks/configuration/docker.env
|
||||||
|
|
||||||
# - name: Restart Appsmith
|
# - name: Restart Appsmith
|
||||||
# if: steps.run_result.outputs.run_result != 'success'
|
# if: steps.run_result.outputs.run_result != 'success'
|
||||||
# run: |
|
# run: |
|
||||||
# docker restart appsmith
|
# docker restart appsmith
|
||||||
|
|
||||||
- name: Use Node.js 14.15.4
|
- name: Use Node.js 14.15.4
|
||||||
if: steps.run_result.outputs.run_result != 'success'
|
if: steps.run_result.outputs.run_result != 'success'
|
||||||
|
|
@ -763,7 +763,33 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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
|
# Service containers to run with this job. Required for running tests
|
||||||
services:
|
services:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user