mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: update collaborator guide citgm instructions
PR-URL: https://github.com/nodejs/node/pull/31549 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
This commit is contained in:
1 parent
c167ae0a87
commit
e2b3e4e0e3
1 file changed
+26
-6
+26
-6
@@ -13,6 +13,7 @@
|
||||
* [Waiting for Approvals](#waiting-for-approvals)
|
||||
* [Testing and CI](#testing-and-ci)
|
||||
* [Useful CI Jobs](#useful-ci-jobs)
|
||||
* [Starting a CI Job](#starting-a-ci-job)
|
||||
* [Internal vs. Public API](#internal-vs-public-api)
|
||||
* [Breaking Changes](#breaking-changes)
|
||||
* [Breaking Changes and Deprecations](#breaking-changes-and-deprecations)
|
||||
@@ -191,12 +192,6 @@ everything else. Start a fresh CI if more than seven days have elapsed since
|
||||
the original failing CI as the compiled binaries for the Windows and ARM
|
||||
platforms are only kept for seven days.
|
||||
|
||||
Some of the CI Jobs may require `GIT_REMOTE_REF` which is the remote portion
|
||||
of Git refspec. To specify the branch this way `refs/heads/BRANCH` is used
|
||||
(i.e for `master` -> `refs/heads/master`).
|
||||
For pull requests it will look like `refs/pull/PR_NUMBER/head`
|
||||
(i.e. for PR#42 -> `refs/pull/42/head`).
|
||||
|
||||
#### Useful CI Jobs
|
||||
|
||||
* [`node-test-pull-request`](https://ci.nodejs.org/job/node-test-pull-request/)
|
||||
@@ -222,6 +217,31 @@ not used in other CI test runs (such as tests in the `internet` or `pummel`
|
||||
directories). It can also make sure tests pass when provided with a flag not
|
||||
used in other CI test runs (such as `--worker`).
|
||||
|
||||
#### Starting a CI Job
|
||||
|
||||
From the CI Job page, click "Build with Parameters" on the left side.
|
||||
|
||||
You generally need to enter only one or both of the following options
|
||||
in the form:
|
||||
|
||||
* `GIT_REMOTE_REF`: Change to the remote portion of git refspec.
|
||||
To specify the branch this way, `refs/heads/BRANCH` is used
|
||||
(e.g. for `master` -> `refs/heads/master`).
|
||||
For pull requests, it will look like `refs/pull/PR_NUMBER/head`
|
||||
(e.g. for PR#42 -> `refs/pull/42/head`).
|
||||
* `REBASE_ONTO`: Change that to `origin/master` so the pull request gets rebased
|
||||
onto master. This can especially be important for pull requests that have been
|
||||
open a while.
|
||||
|
||||
Look at the list of jobs on the left hand side under "Build History" and copy
|
||||
the link to the one you started (which will be the one on top, but click
|
||||
through to make sure it says something like "Started 5 seconds ago"
|
||||
(top right) and "Started by user ...".
|
||||
|
||||
Copy/paste the URL for the job into a comment in the pull request.
|
||||
[`node-test-pull-request`](https://ci.nodejs.org/job/node-test-pull-request/)
|
||||
is an exception where the GitHub bot will automatically post for you.
|
||||
|
||||
### Internal vs. Public API
|
||||
|
||||
All functionality in the official Node.js documentation is part of the public
|
||||
|
||||
Reference in new issue
Block a user