summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-test/node.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /taskcluster/ci/source-test/node.yml
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/ci/source-test/node.yml')
-rw-r--r--taskcluster/ci/source-test/node.yml221
1 files changed, 0 insertions, 221 deletions
diff --git a/taskcluster/ci/source-test/node.yml b/taskcluster/ci/source-test/node.yml
deleted file mode 100644
index 1d8c8348fb..0000000000
--- a/taskcluster/ci/source-test/node.yml
+++ /dev/null
@@ -1,221 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
----
-newtab-unit-tests:
- description: newtab unit tests
- platform: linux1804-64/opt
- treeherder:
- symbol: node(newtab)
- kind: test
- tier: 1
- worker-type: t-linux-xlarge-source
- worker:
- docker-image: {in-tree: "ubuntu1804-test"}
- max-run-time: 1800
- require-build:
- by-project:
- autoland:
- linux1804-64/opt: build-linux64/opt
- try:
- linux1804-64/opt: build-linux64/opt
- default:
- linux1804-64/opt: build-linux64-shippable/opt
- run:
- using: run-task
- cache-dotcache: true
- cwd: '{checkout}'
- command: >
- cd /builds/worker/checkouts/gecko &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/browser/components/aboutwelcome &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/browser/components/asrouter &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/browser/components/newtab &&
- rm -rf node_modules &&
- npm ci &&
- node bin/try-runner.js
- when:
- files-changed:
- - "browser/components/newtab/**"
- - "browser/components/aboutwelcome/**"
- - "browser/components/asrouter/**"
-
-newtab-unit-tests-ccov:
- description: newtab unit tests code coverage
- platform: linux1804-64/opt
- treeherder:
- symbol: node(newtab-ccov)
- kind: test
- tier: 1
- worker-type: t-linux-xlarge-source
- worker:
- docker-image: {in-tree: "ubuntu1804-test"}
- max-run-time: 1800
- artifacts:
- - name: public/code-coverage-grcov.zip
- path: /builds/worker/checkouts/gecko/browser/components/newtab/logs/coverage/code-coverage-grcov.zip
- type: file
- require-build:
- by-project:
- try:
- linux1804-64/opt: build-linux64/opt
- default:
- linux1804-64/opt: build-linux64-shippable/opt
- run:
- using: run-task
- cache-dotcache: true
- cwd: '{checkout}'
- command: >
- cd /builds/worker/checkouts/gecko &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/browser/components/aboutwelcome &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/browser/components/asrouter &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/browser/components/newtab &&
- rm -rf node_modules &&
- npm ci &&
- node bin/try-runner.js
- # This should only run on mozilla-central, as the bot will only parse mozilla-central
- # coverage anyways.
- run-on-projects: ["mozilla-central"]
- # Note the lack of a "when" rule here. This is to avoid seeing fluctuating
- # coverage on coverage.moz.tools / searchfox depending on whether the latest
- # push contained patches touching these files or not.
-
-devtools-tests:
- description: devtools node-based tests (for instance jest)
- platform: linux1804-64/opt
- attributes:
- code-review: true
- treeherder:
- symbol: node(devtools)
- kind: test
- tier: 1
- worker-type: t-linux-xlarge-source
- worker:
- docker-image: {in-tree: "lint"}
- max-run-time: 1800
- artifacts:
- - type: file
- name: public/code-review/issues.json
- path: /builds/worker/issues.json
- run:
- using: run-task
- cache-dotcache: true
- cwd: '{checkout}'
- # Re-use rather than re-installing to avoid hitting/requiring
- # nodejs servers for downloads
- command: >
- cp -r /build/node_modules_eslint node_modules &&
- cp -r /build/node_modules_eslint-plugin-mozilla/ tools/lint/eslint/eslint-plugin-mozilla/node_modules &&
- ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
- ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
- cd devtools/client/bin/ &&
- node devtools-node-test-runner.js --suite=all --artifact=/builds/worker/issues.json
- when:
- files-changed:
- - 'devtools/client/**'
- - 'devtools/shared/**'
-
-devtools-verify-bundle:
- description: devtools bundle checker
- platform: linux1804-64/opt
- attributes:
- code-review: true
- treeherder:
- symbol: node(devtools-bundle)
- kind: test
- tier: 2
- worker-type: t-linux-xlarge-source
- worker:
- docker-image: {in-tree: "lint"}
- max-run-time: 1200
- artifacts:
- - type: file
- name: public/code-review/issues.json
- path: /builds/worker/issues.json
- run:
- using: run-task
- cache-dotcache: true
- cwd: '{checkout}'
- # Re-use rather than re-installing to avoid hitting/requiring
- # nodejs servers for downloads
- command: >
- cp -r /build/node_modules_eslint node_modules &&
- cp -r /build/node_modules_eslint-plugin-mozilla/ tools/lint/eslint/eslint-plugin-mozilla/node_modules &&
- ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
- ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
- cd devtools/client/debugger &&
- yarn &&
- node bin/bundle.js &&
- cd ../../.. &&
- ./mach python taskcluster/scripts/misc/verify-devtools-bundle.py --output /builds/worker/issues.json
- when:
- files-changed:
- - 'devtools/**'
-
-eslint-plugin-mozilla:
- description: eslint-plugin-mozilla integration tests
- platform: linux1804-64/opt
- treeherder:
- symbol: node(epm)
- kind: test
- tier: 1
- worker-type: t-linux-xlarge-source
- worker:
- docker-image: {in-tree: "lint"}
- max-run-time: 1800
- run:
- using: run-task
- cache-dotcache: true
- cwd: '{checkout}/tools/lint/eslint/eslint-plugin-mozilla'
- command: >
- cp -r /build/node_modules_eslint-plugin-mozilla node_modules &&
- npm run test
- when:
- files-changed:
- - 'tools/lint/eslint/eslint-plugin-mozilla/**'
-
-design-tokens-tests:
- description: design tokens unit tests
- platform: linux1804-64/opt
- treeherder:
- symbol: node(design-tokens)
- kind: test
- tier: 1
- worker-type: t-linux-xlarge-source
- worker:
- docker-image: {in-tree: "ubuntu1804-test"}
- max-run-time: 1800
- require-build:
- by-project:
- autoland:
- linux1804-64/opt: build-linux64/opt
- try:
- linux1804-64/opt: build-linux64/opt
- default:
- linux1804-64/opt: build-linux64-shippable/opt
- run:
- using: run-task
- cache-dotcache: true
- cwd: '{checkout}'
- command: >
- cd /builds/worker/checkouts/gecko &&
- rm -rf node_modules &&
- npm ci &&
- cd /builds/worker/checkouts/gecko/toolkit/themes/shared/design-system &&
- rm -rf node_modules &&
- npm ci &&
- node tests/try-runner.js
- when:
- files-changed:
- - "toolkit/themes/shared/design-system/**"