Skip to content

Commit

Permalink
Merge pull request #1393 from Nordix/add/branching-update-kashif
Browse files Browse the repository at this point in the history
馃尡 Add CI support and branch maintenance section
  • Loading branch information
metal3-io-bot committed Nov 16, 2023
2 parents 6d5707d + c341b90 commit 26d958c
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
51 changes: 51 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ GitHub pull requests.
- [Codebase](#codebase)
- [Backporting](#backporting)
- [Branches](#branches)
- [CI Support and Branch Maintenance](#ci-support-and-branch-maintenance)
- [Contributing a Patch](#contributing-a-patch)
- [Backporting a Patch](#backporting-a-patch)
- [Breaking Changes](#breaking-changes)
Expand Down Expand Up @@ -98,6 +99,56 @@ branches that minor and patch releases will be tagged. In some cases, it may
be necessary to open PRs for bugfixes directly against stable branches, but
this should generally not be the case.

### CI Support and Branch Maintenance

Baremetal-operator maintains the most recent release/releases for all supported
APIs and contract versions. Support for this section refers to CI support and
the ability to backport and release patch versions;
[backport policy](#backporting) is defined above.

- The API version is determined from the GroupVersion defined in the top-level
`apis/` package.

- The EOL date of each API Version is determined from the last release available
once a new API version is published.

| API Version | Maintained Until |
| ------------ | ------------------------------------------------------------- |
| **v1alpha1** | TBD (current latest) |
| **v1beta1** | Upcoming (Proposal [PR](https://github.com/metal3-io/metal3-docs/pull/332)) |

- For the current stable API version (v1alpha1) we support the two most recent
minor releases; older minor releases are immediately unsupported when a new
major/minor release is available.

- Once we have v1beta1 API, we will determine support policies for older API
versions.

- We will maintain test coverage for all supported minor releases and for one
additional release for the current stable API version in case we have to do an
emergency patch release. For example, if v0.4 and v0.3 are currently
supported, we will also maintain test coverage for v0.2 for one additional
release cycle. When v0.5 is released, tests for v0.2 will be removed.

**Note**: Currently, BMO release branches are tested with CAPM3 integration/e2e
tests, so dropping a test for BMO release version is dependant on CAPM3
release. As such, we might test a BMO release until we drop the test for
CAPM3. Once BMO e2e tests take over, we can follow the above policy for
dropping tests.

| Minor Release | API Version | Maintained Until |
| ------------- | ------------ | --------------------------------------------- |
| v0.4.x | **v1alpha1** | when v0.6.0 will be released |
| v0.3.x | **v1alpha1** | when v0.5.0 will be released |
| v0.2.x | **v1alpha1** | EOL since 2023-08-30 (*) |
| v0.1.x | **v1alpha1** | EOL since 2023-04-26 (*) |

(*) Previous support policy applies, older minor releases were immediately
unsupported when a new major/minor release was available

- Exceptions can be filed with maintainers and taken into consideration on a
case-by-case basis.

## Contributing a Patch

1. If you haven't already done so, sign a Contributor License Agreement (see
Expand Down
2 changes: 1 addition & 1 deletion hack/markdownlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else
--entrypoint sh \
--workdir /workdir \
docker.io/pipelinecomponents/markdownlint:0.12.0@sha256:0b8f9fcf0410257b2f3548f67ffe25934cfc9877a618b9f85afcf345a25804a2 \
/workdir/hack/markdownlint.sh "${@}"
/workdir/hack/markdownlint.sh "$@"
fi;

# $ mdl --style all -l
Expand Down

0 comments on commit 26d958c

Please sign in to comment.