Skip to content

Commit

Permalink
Zarf General Availability ADR (#1768)
Browse files Browse the repository at this point in the history
## Description

An ADR for GA

## Related Issue

Fixes #N/A

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [X] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
Racer159 authored Jun 15, 2023
1 parent ee4da6a commit 1aeae1b
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions adr/0016-zarf-definition-of-generally-available.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 16. Zarf Definition of Generally Available

Date: 2023-05-17

## Status

Accepted

## Context

Eventually Zarf needs to become a "Generally Available" v1.x.x product that people can rely on for mission critical operations. Today, Zarf can be used in these environments, but it requires someone who is more involved in the Zarf lifecycle than a normal consumer/user to make that successful due to the regular introduction of breaking changes and the lack of testing in certain areas.

## Decision

To make Zarf a Generally Available product we need to focus on overall stability and mechanisms to ensure that stability long-term. "Stability" in this case is both that of the features we release and of the APIs and schemas that we present to consumers of Zarf.

In order to increase this stability we decided on implementing the following:

- Mechanism / branching strategy to backport patch fixes to older minor releases
- Clear definition of `released`, `beta`, and `alpha` features including a matrix of their support across OSes
- Clear definition of when backwards compatibility checks are going to be removed with clear messaging to users
- End to End testing that covers the `released` features outlined in that feature matrix - this should also be done:
- across operating systems (specifically: Windows, macOS, Linux)
- across major k8s distros (specifically: K3d, K3s, Minikube, Kind, EKS, AKS, OpenShift)
- across registry providers (specifically: Docker Distribution, ECR, ACR)
- across git providers (specifically: Gitea, GitLab)
- Unit testing that covers our library code (`src/pkg`) for people using Zarf as a library (code coverage metric TBD)
- Mechanisms and tests to not break compatibility with packages built with older versions of Zarf
- Mechanisms to notify users when they may need to upgrade the Zarf Agent (or Pepr capability)
- Mechanisms to ensure users can easily access documentation specific to the version of Zarf they use
- Mechanisms to ensure a more seamless Zarf install experience (i.e. macOS binary signing, `sudo apk add zarf`, `asdf install zarf X.X.X`)
- Regularly published/maintained example package(s) for tutorials/quick install
- Clear definition / strategy for "what Zarf is" including clear docs on how to use `released` features

> ⚠️ **Note**: Some of these items are already addressed in Zarf but were included for completeness.
## Consequences

Once these are in place we will have many mechanisms to manage Zarf's stability over time but are also signing ourselves up to maintain this promise over the long-term which will increase the burden on the team and reduce our overall velocity - this is good / normal as the project matures but we will need to recognize that we won't have as much flexibility once we reach GA.

This will also affect how Zarf is supported / marketed beyond the core team and we should consider how Zarf "GA" will affect those teams and ensure that they are ready to take on any additional burden as well.

0 comments on commit 1aeae1b

Please sign in to comment.