Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: first pass at some docs #66

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 NamespacedObjectReference `json:"gitRepositoryRef"`

// 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
File renamed without changes.
22 changes: 10 additions & 12 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Welcome to MkDocs
# Welcome to GitOps Promotions

For full documentation visit [mkdocs.org](https://www.mkdocs.org).
GitOps Promoter is a tool designed to facilitate environment promotion in a GitOps fashion. It automates the process of promoting changes from one environment to the next by leveraging Git operations. The tool can help ensures that your environments are always in sync with the desired state defined in your Git repository when used with a CD tool like ArogCD.

## Commands
## Key Features

* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.
- **Automated Environment Promotion**: Seamlessly promote changes across environments.
- **GitOps First**: Adheres to GitOps principles, ensuring that all changes are version-controlled.
- **YAML Diff Detection**: Detects changes in YAML files to determine if a pull request is required.
- **Integration with CI/CD**: Easily integrates with your existing CI/CD pipelines.
- **ArgoCD Integration**: Supports ArgoCD when managing Kubernetes resources.

## Project layout
## What is GitOps promotion.

mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
GitOps promotion is the process of promoting changes across environments in a GitOps fashion. It involves using Git operations to manage the promotion of changes from one environment to the next. This ensures that all changes are version-controlled and that environments are always in sync with the desired state defined in your Git repository.
File renamed without changes.
8 changes: 5 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ theme:
name: Switch to light mode
nav:
- Overview: index.md
- Installation: installation.md
- Concepts: concepts.md
- Architecture: architecture.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
Loading