Skip to content

Commit

Permalink
change outline
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller committed Oct 20, 2024
1 parent f3fe554 commit 4b75d1a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions api/v1alpha1/commitstatus_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ type CommitStatusSpec struct {
// +kubebuilder:validation:Required
RepositoryReference *Repository `json:"repository"`

// Sha is the commit sha to report the status for
// +kubebuilder:validation:Required
Sha string `json:"sha"`

// Name is the name of the status check
// +kubebuilder:validation:Required
Name string `json:"name"`

// Description is the description of the status check
Description string `json:"description"`

// Phase is the state of the status check it can be one of pending, success, failure
// +kubebuilder:validation:Required
// +kubebuilder:default:=pending
// +kubebuilder:validation:Enum:=pending;success;failure
Expand All @@ -47,6 +51,7 @@ type CommitStatusSpec struct {
// (Gitlab: pending, running, success, failed, canceled)
// (Bitbucket: INPROGRESS, STOPPED, SUCCESSFUL, FAILED)

// Url is the url to the status check to provide more information
Url string `json:"url"`
}

Expand Down
Empty file.
4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ GitOps Promoter is a tool designed to facilitate environment promotion in a GitO

## Getting Started

To get started with GitOps Promoter, follow the [installation guide](installation.md) and the [basic usage instructions](getting-started.md).
To get started with GitOps Promoter, follow the [installation guide](installation.md) and the [basic usage instructions](getting-started.md).

## Concepts of Promotion
5 changes: 4 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ theme:
name: Switch to light mode
nav:
- Overview: index.md
- Installation: installation.md
- Installation:
- Installation: installation.md
- Github Application Configuration: github-app-configuration.md
- Getting Started:
- Basic Usage: getting-started.md
- Non-Kubernetes Usage: non-kubernetes-usage.md
- CRD Reference: crd-reference.md

0 comments on commit 4b75d1a

Please sign in to comment.