You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review comments written by @wking.
* Add a blank line between non-manpage refs and manpage refs.
* Add backticks for `git status`.
* Append a punctuation mark to each list item.
* Use `pull request` instead of `PR`.
* Specify `console` format to the example commands
* Use relative links instead of static URIs
* Remove a trailing blank
* Remove trailing whitespaces
* Run with sudo whenever it's possible
* Use correct relative links
* Move sections for running runtime validation one level up to the
section `Running the runtime validation suite`.
* Use `command -v` instead of `which`.
* Elaborate why we should specify the TAP variable.
Signed-off-by: Dongsu Park <[email protected]>
Copy file name to clipboardExpand all lines: docs/devel/release.md
+25-26Lines changed: 25 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,57 +8,56 @@ The following example assumes we're going from version 0.5.0 (`v0.5.0`) to 0.6.0
8
8
Let's get started:
9
9
10
10
- Start at the relevant milestone on GitHub (e.g. https://github.com/opencontainers/runtime-tools/milestones/v0.6.0): ensure all referenced issues are closed (or moved elsewhere, if they're not done). Close the milestone.
11
-
- runtime-tools does not use a [roadmap file](https://github.com/opencontainers/runtime-tools/issues/465) but GitHub milestones. Update the [other milestones](https://github.com/opencontainers/runtime-tools/milestones), if necessary
12
-
- Branch from the latest master, make sure your git status is clean
13
-
- Update the [VERSION](https://github.com/opencontainers/runtime-tools/blob/master/VERSION)
11
+
- runtime-tools does not use a [roadmap file](https://github.com/opencontainers/runtime-tools/issues/465) but GitHub milestones. Update the [other milestones](https://github.com/opencontainers/runtime-tools/milestones), if necessary.
12
+
- Branch from the latest master, make sure your `git status` is clean.
13
+
- Update the [VERSION](https://github.com/opencontainers/runtime-tools/blob/master/VERSION).
14
14
- Update the [release notes][changelog].
15
15
Try to capture most of the salient changes since the last release, but don't go into unnecessary detail (better to link/reference the documentation wherever possible).
16
16
17
17
Ensure the branch is correct:
18
18
19
19
- Ensure the build is clean!
20
-
-`git clean -ffdx && make && make test` should work
21
-
- Integration tests on CI should be green
20
+
-`git clean -ffdx && make && make test` should work.
21
+
- Integration tests on CI should be green.
22
22
- Check the version of the binaries:
23
-
- Check `./oci-runtime-tool --version`
24
-
- Check `./runtimetest --version`
23
+
- Check `./oci-runtime-tool --version`.
24
+
- Check `./runtimetest --version`.
25
25
26
26
Once everything is fine:
27
27
28
-
- File a PR
29
-
- Ensure the CI on the release PR is green
28
+
- File a pull request.
29
+
- Ensure the CI on the release PR is green.
30
30
- Send an email to the [mailing list][mailinglist] ([example for v0.5.0](https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/iuWpWUai4_I)) and get reviews from other [maintainers][maintainers].
31
-
- Once the maintainers agree, merge the PR
31
+
- Once the maintainers agree, merge the PR.
32
32
33
33
Sign a tagged release and push it to GitHub:
34
34
35
-
- Add a signed tag: `git tag -s v0.6.0 -m "release v0.6.0"`
36
-
- Push the tag to GitHub: `git push origin v0.6.0`
35
+
- Add a signed tag: `git tag -s v0.6.0 -m "release v0.6.0"`.
36
+
- Push the tag to GitHub: `git push origin v0.6.0`.
37
37
38
38
Now we switch to the GitHub web UI to conduct the release:
39
39
40
-
- Start a [new release][gh-new-release] on Github
41
-
- Tag "v0.6.0", release title "v0.6.0"
42
-
- Copy-paste the release notes you added earlier in [CHANGELOG.md][changelog]
40
+
- Start a [new release][gh-new-release] on Github.
41
+
- Tag "v0.6.0", release title "v0.6.0".
42
+
- Copy-paste the release notes you added earlier in [CHANGELOG.md][changelog].
Copy file name to clipboardExpand all lines: docs/runtime-compliance-testing.md
+29-27Lines changed: 29 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,29 +14,15 @@ If your distribution does not package node-tap, you can install [npm][] (for exa
14
14
```console
15
15
$ npm install tap
16
16
```
17
-
### From a release
18
-
19
-
Check if your release has pre-compiled tests on the [release page][releases] page.
20
-
21
-
```
22
-
$ tar xf runtime-tools-v0.6.0.tar.gz
23
-
$ RUNTIME=runc tap ./runtime-tools-v0.6.0/validation/*.t
24
-
```
25
-
26
-
### From source
27
17
28
-
Build the validation executables:
29
-
30
-
```console
31
-
$ make runtimetest validation-executables
32
-
```
33
-
34
-
Runtime validation currently [only supports](docs/runtime-compliance-testing.md) the [OCI Runtime Command Line Interface](doc/command-line-interface.md).
18
+
Runtime validation currently [only supports](runtime-compliance-testing.md) the [OCI Runtime Command Line Interface](command-line-interface.md).
35
19
If we add support for alternative APIs in the future, runtime validation will gain an option to select the desired runtime API.
36
-
For the command line interface, the `RUNTIME` option selects the runtime command (`funC` in the [OCI Runtime Command Line Interface](doc/command-line-interface.md)).
20
+
For the command line interface, the `RUNTIME` option selects the runtime command (`funC` in the [OCI Runtime Command Line Interface](command-line-interface.md)).
21
+
22
+
Note that we should specify the `TAP` variable to the normal user's tap command, because usually the normal user had a newer version of `tap` installed locally via npm, for example, under `$HOME/node_modules/.bin`.
37
23
38
24
```
39
-
$ sudo TAP="$(which tap)" RUNTIME=runc make localvalidation
25
+
$ sudo TAP="$(command -v tap)" RUNTIME=runc make localvalidation
0 commit comments