Javascript Jobs
- build-javascript-source-tarball
Build a source tarball for a Javascript project
Responds to these variables:
-
node_version
Default:14
The version of Node to use.
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:dist
Directory, relative to zuul_work_dir, holding build content.
-
node_version
- build-javascript-deployment
Build javascript web content as it should be deployed. Publishes a preview site to build logs as well as a tar archive of that web content.
Responds to these variables:
-
js_build_command
Default:build
Command to pass to npm.
-
node_version
Default:14
The version of Node to use.
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:dist
Directory, relative to zuul_work_dir, holding build content.
-
js_build_command
- js-build
Base job for javascript operations
Responds to these variables:
-
js_build_command
Default:build
Command to pass to the javascript package manager..
-
js_build_tool
Default:autodetected
Command to use for running the package manager, such as npm or yarn.
-
node_version
Default:14
The version of Node to use.
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:dist
Directory, relative to zuul_work_dir, holding build content.
-
js_build_command
- nodejs-run-test
Run test using nodejs.
Responds to these variables:
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:dist
Directory, relative to zuul_work_dir, holding build content.
-
zuul_work_dir
- nodejs-run-test-browser
Run test using nodejs. This test also starts Xvfb for run time tests.
Responds to these variables:
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:dist
Directory, relative to zuul_work_dir, holding build content.
-
zuul_work_dir
- nodejs-run-lint
Run lint using nodejs.
Responds to these variables:
-
node_version
Default:14
The version of Node to use.
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:dist
Directory, relative to zuul_work_dir, holding build content.
-
node_version
- nodejs-run-docs
Run docs using nodejs.
Responds to these variables:
-
node_version
Default:14
The version of Node to use.
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
node_version
- publish-javascript-to-netlify
Builds javascript site and deploys to netlify.
Responds to these variables:
-
js_build_command
Default:build
Command to pass to the javascript package manager..
-
js_build_tool
Default:autodetected
Command to use for running the package manager, such as npm or yarn.
-
node_version
Default:20
The version of Node to use. Netlify CLI requires at least v18.
-
zuul_work_dir
Default:{{ zuul.project.src_dir }}
Path to operate in.
-
javascript_content_dir
Default:public
Directory, relative to zuul_work_dir, holding build content.
-
netlify_site_id
Site id for the site to publish. This can be found on the site general settings page as
API Id
.
-
netlify_auth
Type: dict Complex argument which contains the netlify authentication credentials. This is expected to come from a secret.
-
netlify_auth{}.token
API token to use to publish the content. Instructions for creating a token can be found at https://docs.netlify.com/cli/get-started/#obtain-a-token-in-the-netlify-ui
-
netlify_auth{}.token
-
js_build_command