-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update readme,license and security documentation
- Loading branch information
Showing
4 changed files
with
101 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# How to contribute to this repo | ||
|
||
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's: | ||
|
||
- Reporting a bug | ||
- Proposing new features | ||
- Discussing the current state of the code | ||
- Submitting a fix | ||
|
||
This is how you should do it: | ||
|
||
Use our [issue list](../../issues) to report a **bug** or **propose a new feature**, including | ||
|
||
### For **bug report** | ||
- A quick summary and/or background | ||
- Steps to reproduce | ||
- Be specific! | ||
- Give sample code if you can | ||
- What you expected would happen | ||
- What actually happens | ||
|
||
The team love thorough bug reports - no it's not a joke! | ||
|
||
### For **feature request** | ||
- Brief description of the feature | ||
- What problem/issue will this solve | ||
- A sort of Definition of Done - "How should it look when finsihed" | ||
|
||
### When submitting a fix using a Pull Request (PR) | ||
|
||
- Fork this repository from GitHub | ||
- Once, you have a local copy (after forking) you can make edits to the code, make formatting changes, reorganise the code, add documentation etc … | ||
- After you have made the changes, you have to create a pull request | ||
|
||
We will review the pull request and if it appropriate and there are no clashes or vulnerabilities, it will be merged to the main code | ||
|
||
Voila! you have contributed to a piece of software and the cycle repeats. |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 Equinor | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 |
---|---|---|
@@ -1,11 +1,35 @@ | ||
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) | ||
[![Release](https://github.com/equinor/radix-ingress-default-backend/actions/workflows/release-please.yaml/badge.svg?branch=main&event=push)](https://github.com/equinor/radix-ingress-default-backend/actions/workflows/release-please.yaml) | ||
[![SCM Compliance](https://scm-compliance-api.radix.equinor.com/repos/equinor/radix-ingress-default-backend/badge)](https://developer.equinor.com/governance/scm-policy/) | ||
|
||
# Radix Ingress Defailt Backend | ||
|
||
Responds with the default backend based on namespace header | ||
Responds with a nice error page for Radix (and Equinor) based on the requested domain | ||
|
||
## How we work | ||
|
||
Commits to the main branch must follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and uses Release Please to create new versions. | ||
|
||
|
||
## Deployment | ||
|
||
Radix Ingress Default Backend follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and uses Release Please to create new versions. | ||
All commits to main should either start with `feat: ` or with `fix: ` (a `!` will suggest a major version bump). | ||
|
||
Release-Please will create a PR with for a new Release with all unreleased commits, bumping the version according to the commit message, linking the PRs and writing a nice [CHANGELOG](CHANGELOG). | ||
|
||
After a new version is released, we need to update radix-flux to start using it. | ||
|
||
Each commit to `main` will also build a _nightly_ build that can be used if required. | ||
|
||
## Pull request checking | ||
|
||
Radix Ingress Default Backend makes use of [GitHub Actions](https://github.com/features/actions) for build checking in every pull request to the `main` branch. Refer to the [configuration file](.github/workflows/pr.yaml) of the workflow for more details. | ||
|
||
## Contributing | ||
|
||
Read our [contributing guidelines](./CONTRIBUTING.md) | ||
|
||
------------------ | ||
|
||
[Security notification](./SECURITY.md) |
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,18 @@ | ||
# How to manage security in this repo | ||
|
||
If you discover a security vulnerability in this project, please follow these steps to responsibly disclose it: | ||
|
||
1. **Do not** create a public GitHub issue for the vulnerability. | ||
2. Follow our guideline for Responsible Disclosure Policy at [https://www.equinor.com/about-us/csirt](https://www.equinor.com/about-us/csirt) to report the issue | ||
|
||
The following information will help us triage your report more quickly: | ||
|
||
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) | ||
- Full paths of source file(s) related to the manifestation of the issue | ||
- The location of the affected source code (tag/branch/commit or direct URL) | ||
- Any special configuration required to reproduce the issue | ||
- Step-by-step instructions to reproduce the issue | ||
- Proof-of-concept or exploit code (if possible) | ||
- Impact of the issue, including how an attacker might exploit the issue | ||
|
||
We prefer all communications to be in English. |