From d084241cd838bb09a4c3497bbccda1b3f26e0f10 Mon Sep 17 00:00:00 2001 From: Isaac Mann Date: Mon, 9 Dec 2024 11:48:24 -0500 Subject: [PATCH] docs(core): remove nx-cloud agent count (#29265) Remove references to `NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT` (cherry picked from commit 04151ca5dc35b7bfb6091e86f508946a581cb816) --- docs/nx-cloud/enterprise/dte/azure-dte.md | 1 - docs/nx-cloud/enterprise/dte/bitbucket-dte.md | 1 - docs/nx-cloud/enterprise/dte/circle-ci-dte.md | 2 -- docs/nx-cloud/enterprise/dte/github-dte.md | 1 - docs/nx-cloud/enterprise/dte/gitlab-dte.md | 1 - docs/nx-cloud/enterprise/dte/jenkins-dte.md | 1 - 6 files changed, 7 deletions(-) diff --git a/docs/nx-cloud/enterprise/dte/azure-dte.md b/docs/nx-cloud/enterprise/dte/azure-dte.md index de8c41bb97df5..af1fc905bd00b 100644 --- a/docs/nx-cloud/enterprise/dte/azure-dte.md +++ b/docs/nx-cloud/enterprise/dte/azure-dte.md @@ -14,7 +14,6 @@ pr: variables: CI: 'true' - NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3 # expected number of agents ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: NX_BRANCH: $(System.PullRequest.PullRequestNumber) TARGET_BRANCH: $[replace(variables['System.PullRequest.TargetBranch'],'refs/heads/','origin/')] diff --git a/docs/nx-cloud/enterprise/dte/bitbucket-dte.md b/docs/nx-cloud/enterprise/dte/bitbucket-dte.md index f6d7843038ee4..56c8929d504a9 100644 --- a/docs/nx-cloud/enterprise/dte/bitbucket-dte.md +++ b/docs/nx-cloud/enterprise/dte/bitbucket-dte.md @@ -30,7 +30,6 @@ pipelines: name: CI script: - export NX_BRANCH=$BITBUCKET_PR_ID - - export NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT=3 - npm ci - npx nx-cloud start-ci-run --distribute-on="manual" --stop-agents-after="e2e-ci" --agent-count=3 diff --git a/docs/nx-cloud/enterprise/dte/circle-ci-dte.md b/docs/nx-cloud/enterprise/dte/circle-ci-dte.md index 375276d120cee..e2580bf3cd609 100644 --- a/docs/nx-cloud/enterprise/dte/circle-ci-dte.md +++ b/docs/nx-cloud/enterprise/dte/circle-ci-dte.md @@ -14,8 +14,6 @@ jobs: main: docker: - image: cimg/node:lts-browsers - environment: - NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3 # expected number of agents steps: - checkout - run: npm ci diff --git a/docs/nx-cloud/enterprise/dte/github-dte.md b/docs/nx-cloud/enterprise/dte/github-dte.md index 30f19bf3a344f..6df520fc49261 100644 --- a/docs/nx-cloud/enterprise/dte/github-dte.md +++ b/docs/nx-cloud/enterprise/dte/github-dte.md @@ -23,7 +23,6 @@ permissions: env: NX_CLOUD_DISTRIBUTED_EXECUTION: true # this enables DTE - NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3 # expected number of agents NX_BRANCH: ${{ github.event.number || github.ref_name }} NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # this is needed if our pipeline publishes to npm diff --git a/docs/nx-cloud/enterprise/dte/gitlab-dte.md b/docs/nx-cloud/enterprise/dte/gitlab-dte.md index 5a1c3594ff6cf..1a07210633835 100644 --- a/docs/nx-cloud/enterprise/dte/gitlab-dte.md +++ b/docs/nx-cloud/enterprise/dte/gitlab-dte.md @@ -38,7 +38,6 @@ image: node:18 - yarn install --cache-folder .yarn-cache --prefer-offline --frozen-lockfile - NX_HEAD=$CI_COMMIT_SHA - NX_BASE=${CI_MERGE_REQUEST_DIFF_BASE_SHA:-$CI_COMMIT_BEFORE_SHA} - - NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT=3 # expected number of agents artifacts: expire_in: 5 days diff --git a/docs/nx-cloud/enterprise/dte/jenkins-dte.md b/docs/nx-cloud/enterprise/dte/jenkins-dte.md index bc078cceeffd6..25428535a3d67 100644 --- a/docs/nx-cloud/enterprise/dte/jenkins-dte.md +++ b/docs/nx-cloud/enterprise/dte/jenkins-dte.md @@ -11,7 +11,6 @@ pipeline { agent none environment { NX_BRANCH = env.BRANCH_NAME.replace('PR-', '') - NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT = 3 } stages { stage('Pipeline') {