docs(nx-dev): comment out start-ci-run on on docs according to the ci workflows (#22280)
This commit is contained in:
parent
712d4e0042
commit
c16f57b691
@ -49,7 +49,7 @@ jobs:
|
||||
- script: git branch --track main origin/main
|
||||
# This line enables distribution
|
||||
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
- script: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
# - script: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
- script: npm ci
|
||||
|
||||
- script: npx nx-cloud record -- nx format:check --base=$(BASE_SHA)
|
||||
|
||||
@ -30,7 +30,7 @@ pipelines:
|
||||
- export NX_BRANCH=$BITBUCKET_PR_ID
|
||||
# This line enables distribution
|
||||
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
- npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
# - npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
- npm ci
|
||||
|
||||
- npx nx-cloud record -- nx format:check
|
||||
|
||||
@ -16,7 +16,7 @@ jobs:
|
||||
- checkout
|
||||
# This line enables distribution
|
||||
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
- run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
# - run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
- run: npm ci
|
||||
|
||||
- nx/set-shas
|
||||
|
||||
@ -29,7 +29,7 @@ jobs:
|
||||
cache: 'npm'
|
||||
# This line enables distribution
|
||||
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
- run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
# - run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
- run: npm ci
|
||||
|
||||
- uses: nrwl/nx-set-shas@v3
|
||||
|
||||
@ -22,7 +22,7 @@ main:
|
||||
script:
|
||||
# Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution.
|
||||
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
- npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
# - npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
|
||||
|
||||
- npm ci --cache .npm --prefer-offline
|
||||
- NX_HEAD=$CI_COMMIT_SHA
|
||||
|
||||
@ -19,7 +19,7 @@ pipeline {
|
||||
steps {
|
||||
// This line enables distribution
|
||||
// The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
sh "npx nx-cloud start-ci-run --distribute-on='5 linux-medium-js' --stop-agents-after='e2e-ci'"
|
||||
// sh "npx nx-cloud start-ci-run --distribute-on='5 linux-medium-js' --stop-agents-after='e2e-ci'"
|
||||
sh "npm ci"
|
||||
sh "npx nx-cloud record -- nx format:check"
|
||||
sh "npx nx affected --base=HEAD~1 -t lint test build e2e-ci"
|
||||
@ -33,7 +33,7 @@ pipeline {
|
||||
steps {
|
||||
// This line enables distribution
|
||||
// The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
|
||||
sh "npx nx-cloud start-ci-run --distribute-on='5 linux-medium-js' --stop-agents-after='e2e-ci'"
|
||||
// sh "npx nx-cloud start-ci-run --distribute-on='5 linux-medium-js' --stop-agents-after='e2e-ci'"
|
||||
sh "npm ci"
|
||||
sh "npx nx-cloud record -- nx format:check"
|
||||
sh "npx nx affected --base origin/${env.CHANGE_TARGET} -t lint test build e2e-ci"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user