parent
17990db65b
commit
e4cb6c151b
@ -88,7 +88,7 @@ jobs:
|
||||
NX_CI_EXECUTION_ENV: 'linux'
|
||||
steps:
|
||||
- checkout
|
||||
- run: npx nx-cloud@next start-ci-run --distributes-on="8 linux-medium" --stop-agents-after="e2e"
|
||||
- run: npx nx-cloud@next start-ci-run --stop-agents-after="e2e"
|
||||
- run:
|
||||
command: |
|
||||
sudo apt-get update
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
launch-templates:
|
||||
linux-medium:
|
||||
env:
|
||||
parallelism: 8
|
||||
env:
|
||||
CI: 'true'
|
||||
GIT_AUTHOR_EMAIL: test@test.com
|
||||
GIT_AUTHOR_NAME: Test
|
||||
@ -15,7 +14,10 @@ launch-templates:
|
||||
NX_E2E_RUN_E2E: 'true'
|
||||
NPM_CONFIG_PREFIX: '/home/workflows/.npm-global'
|
||||
NX_CLOUD_ACCESS_TOKEN: '{{secrets.NX_CLOUD_ACCESS_TOKEN}}'
|
||||
init-steps:
|
||||
on:
|
||||
- events:
|
||||
- CREATE_RUN_GROUP
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/checkout/main.yaml'
|
||||
|
||||
@ -51,5 +53,7 @@ launch-templates:
|
||||
git config --global user.email test@test.com
|
||||
git config --global user.name "Test Test"
|
||||
|
||||
- name: Load Cargo Env
|
||||
script: source "$HOME/.cargo/env"
|
||||
- name: Run Agent
|
||||
script: |
|
||||
source "$HOME/.cargo/env"
|
||||
npx nx-cloud start-agent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user