Skip to content

Commit debb803

Browse files
committed
chore(ci): remove publish-packages-next task from evergreen
1 parent 5fc97c6 commit debb803

File tree

4 files changed

+0
-56
lines changed

4 files changed

+0
-56
lines changed

.evergreen/buildvariants-and-tasks.in.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ buildvariants:
287287
run_on: ubuntu2004-large
288288
tasks:
289289
- name: publish
290-
- name: publish-packages-next
291290
- name: publish-dev-release-info
292291
- name: create_static_analysis_report
293292

@@ -429,17 +428,6 @@ tasks:
429428
- func: get-all-artifacts
430429
- func: publish
431430

432-
- name: publish-packages-next
433-
tags: []
434-
depends_on:
435-
- name: '.required-for-publish'
436-
variant: '*'
437-
commands:
438-
- func: prepare
439-
- func: install
440-
- func: bootstrap
441-
- func: publish-packages-next
442-
443431
- name: publish-dev-release-info
444432
tags: []
445433
depends_on:

.evergreen/buildvariants-and-tasks.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ buildvariants:
251251
run_on: ubuntu2004-large
252252
tasks:
253253
- name: publish
254-
- name: publish-packages-next
255254
- name: publish-dev-release-info
256255
- name: create_static_analysis_report
257256
- name: connectivity-tests
@@ -409,16 +408,6 @@ tasks:
409408
scope: mongodb-compass
410409
- func: get-all-artifacts
411410
- func: publish
412-
- name: publish-packages-next
413-
tags: []
414-
depends_on:
415-
- name: .required-for-publish
416-
variant: '*'
417-
commands:
418-
- func: prepare
419-
- func: install
420-
- func: bootstrap
421-
- func: publish-packages-next
422411
- name: publish-dev-release-info
423412
tags: []
424413
depends_on:

.evergreen/functions.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -982,37 +982,6 @@ functions:
982982
echo "Downloading release assets from evergreen bucket..."
983983
npm run --workspace mongodb-compass download
984984
985-
generate-tasks:
986-
- command: generate.tasks
987-
params:
988-
files:
989-
- tasks.json
990-
991-
publish-packages-next:
992-
- command: shell.exec
993-
params:
994-
working_dir: src
995-
shell: bash
996-
env:
997-
<<: *compass-env
998-
NPM_TOKEN: ${devtoolsbot_npm_token}
999-
script: |
1000-
# Only package publish for commits on the main evergreen project.
1001-
if [[ "${requester}" == "commit" ]] && [[ "${project}" == "10gen-compass-main" ]]; then
1002-
set -e
1003-
# Load environment variables
1004-
eval $(.evergreen/print-compass-env.sh)
1005-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
1006-
npm config list
1007-
echo "Publishing packages as $(npm whoami)"
1008-
npm run version-packages-next
1009-
# unstage after lerna staged version
1010-
git reset
1011-
# mark files as unchanged so that lerna can publish
1012-
git update-index --assume-unchanged $(git diff --name-only HEAD)
1013-
bash ".evergreen/retry-with-backoff.sh" npm run publish-packages-next
1014-
fi
1015-
1016985
generate-vulnerability-report:
1017986
- command: shell.exec
1018987
params:

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
"update-evergreen-config": "node .evergreen/template-yml.js",
5151
"postupdate-evergreen-config": "evergreen validate .evergreen.yml",
5252
"update-security-test-summary": "ts-node scripts/generate-security-test-summary.ts > docs/security-test-summary.md",
53-
"version-packages-next": "npx lerna version \"0.0.0-next-$(git rev-parse HEAD)\" --exact --private --no-git-tag-version --force-publish --no-push --yes",
54-
"publish-packages-next": "npx lerna publish from-package --no-private --dist-tag next --pre-dist-tag next --yes",
5553
"prepare": "husky install",
5654
"snyk-test": "node scripts/snyk-test.js",
5755
"pregenerate-vulnerability-report": "npm run compile -w packages/compass && npm run snyk-test",

0 commit comments

Comments
 (0)