-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add installation instructions to release notes template Signed-off-by: Jacob Tomlinson <[email protected]> * Document installation and examples * Update contaibuting and maintaining docs * Add more links and manifest reference
- Loading branch information
1 parent
8a443d5
commit f7b2bc8
Showing
7 changed files
with
257 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,18 +26,20 @@ go test -v ./... | |
PASS | ||
``` | ||
|
||
|
||
## Signing Your Work | ||
|
||
* We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license. | ||
|
||
* Any contribution which contains commits that are not Signed-Off will not be accepted. | ||
|
||
* To sign off on a commit you simply use the `--signoff` (or `-s`) option when committing your changes: | ||
|
||
```bash | ||
$ git commit -s -m "Add cool feature." | ||
git commit -s -m "Add cool feature." | ||
``` | ||
|
||
This will append the following to your commit message: | ||
|
||
``` | ||
Signed-off-by: Your Name <[email protected]> | ||
``` | ||
|
@@ -47,25 +49,25 @@ PASS | |
``` | ||
Developer Certificate of Origin | ||
Version 1.1 | ||
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. | ||
1 Letterman Drive | ||
Suite D4700 | ||
San Francisco, CA, 94129 | ||
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. | ||
``` | ||
|
||
``` | ||
Developer's Certificate of Origin 1.1 | ||
By making a contribution to this project, I certify that: | ||
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or | ||
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or | ||
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. | ||
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Maintaining | ||
|
||
This file contains notes and checklists for Container Canary maintainers. | ||
|
||
For development guidelines see [CONTRIBUTING.md](CONTRIBUTING.md). | ||
|
||
## Releasing | ||
|
||
Draft releases are created automatically via the [release drafter GitHub Action](https://github.com/release-drafter/release-drafter) and kept up to date with each new PR. | ||
|
||
The action will generate a changelog based on PR labels. For configuration options and the release notes template see [release-drafter.yml](.github/release-drafter.yml). | ||
|
||
To publish a new release: | ||
|
||
- Head to [releases](https://github.com/NVIDIA/container-canary/releases) and find the most recent draft. | ||
- Edit the draft. | ||
- Check the title and tag match the desired version (release drafter will attempt to bump this automatically based on PR tags). | ||
- Check the body text makes sense. | ||
- Hit publish release! | ||
|
||
Once the release and tag have been created [a GitHub Actions workflow](.github/workflows/upload-release-assets.yaml) will run to build assets for the tagged commit and attach them to the release. | ||
|
||
_Under the hood this runs `make package` to generate binaries for all supported platforms, then generates sha256 sums for each file and uploads them._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Examples | ||
|
||
This directory contains example validation manifests. You can download and adapt these manifests or use them directly from GitHub. | ||
|
||
For example the Kubeflow example from the README can be used directly like this. | ||
|
||
```console | ||
$ canary validate --file https://raw.githubusercontent.com/NVIDIA/container-canary/main/examples/kubeflow.yaml public.ecr.aws/j1r0q0g6/notebooks/notebook-servers/jupyter-scipy:v1.5.0-rc.1 | ||
Validating public.ecr.aws/j1r0q0g6/notebooks/notebook-servers/jupyter-scipy:v1.5.0-rc.1 against kubeflow | ||
👩 User is jovyan [true] | ||
🆔 User ID is 1000 [true] | ||
🏠 Home directory is /home/jovyan [true] | ||
🌏 Exposes an HTTP interface on port 8888 [true] | ||
🧭 Correctly routes the NB_PREFIX [true] | ||
🔓 Sets 'Access-Control-Allow-Origin: *' header [true] | ||
PASSED | ||
``` | ||
|
||
[Contributing](../CONTRIBUTING.md) more manifests here is highly encouraged! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters