docs(nx-dev): comment out start-ci-run on on docs according to the ci workflows (#22280)

This commit is contained in:
Miroslav Jonaš 2024-03-12 16:04:02 +01:00 committed by GitHub
parent 712d4e0042
commit c16f57b691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ jobs:
- script: git branch --track main origin/main - script: git branch --track main origin/main
# This line enables distribution # 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 # 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: npm ci
- script: npx nx-cloud record -- nx format:check --base=$(BASE_SHA) - script: npx nx-cloud record -- nx format:check --base=$(BASE_SHA)

View File

@ -30,7 +30,7 @@ pipelines:
- export NX_BRANCH=$BITBUCKET_PR_ID - export NX_BRANCH=$BITBUCKET_PR_ID
# This line enables distribution # 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 # 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 - npm ci
- npx nx-cloud record -- nx format:check - npx nx-cloud record -- nx format:check

View File

@ -16,7 +16,7 @@ jobs:
- checkout - checkout
# This line enables distribution # 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 # 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 - run: npm ci
- nx/set-shas - nx/set-shas

View File

@ -29,7 +29,7 @@ jobs:
cache: 'npm' cache: 'npm'
# This line enables distribution # 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 # 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 - run: npm ci
- uses: nrwl/nx-set-shas@v3 - uses: nrwl/nx-set-shas@v3

View File

@ -22,7 +22,7 @@ main:
script: script:
# Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution. # 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 # 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 - npm ci --cache .npm --prefer-offline
- NX_HEAD=$CI_COMMIT_SHA - NX_HEAD=$CI_COMMIT_SHA

View File

@ -19,7 +19,7 @@ pipeline {
steps { steps {
// This line enables distribution // 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 // 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 "npm ci"
sh "npx nx-cloud record -- nx format:check" sh "npx nx-cloud record -- nx format:check"
sh "npx nx affected --base=HEAD~1 -t lint test build e2e-ci" sh "npx nx affected --base=HEAD~1 -t lint test build e2e-ci"
@ -33,7 +33,7 @@ pipeline {
steps { steps {
// This line enables distribution // 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 // 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 "npm ci"
sh "npx nx-cloud record -- nx format:check" sh "npx nx-cloud record -- nx format:check"
sh "npx nx affected --base origin/${env.CHANGE_TARGET} -t lint test build e2e-ci" sh "npx nx affected --base origin/${env.CHANGE_TARGET} -t lint test build e2e-ci"