-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation site content (#92)
* Added initial documentation for pages site
- Loading branch information
Showing
22 changed files
with
312 additions
and
7 deletions.
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
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
File renamed without changes
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,32 @@ | ||
## argo-cloudops | ||
|
||
argo-cloudops is the command line interface to Argo CloudOps | ||
|
||
``` | ||
argo-cloudops [command] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
Available Commands: | ||
completion generate the autocompletion script for the specified shell | ||
diff Diff a project target using a manifest in git | ||
get Gets status of workflow | ||
help Help about any command | ||
list List workflow executions for a given project and target | ||
logs Gets logs from a workflow | ||
sync Syncs a project target using a manifest in git | ||
version Reports the version | ||
workflow Creates a workflow execution with provided arguments | ||
Flags: | ||
-h, --help help for argo-cloudops | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [argo-cloudops logs](argo-cloudops_logs.md) - gets logs from a workflow | ||
|
||
|
||
|
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,16 @@ | ||
## argo-cloudops diff | ||
Diff a project target using a manifest in git | ||
|
||
``` | ||
argo-cloudops diff [flags] | ||
``` | ||
|
||
### Flags | ||
|
||
``` | ||
-h, --help help for diff | ||
-p, --path string Path to manifest within git repository | ||
-n, --project_name string Name of project | ||
-s, --sha string Commit sha to use when creating workflow through git | ||
-t, --target string Name of target | ||
``` |
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,12 @@ | ||
## argo-cloudops get | ||
Gets status of workflow | ||
|
||
``` | ||
argo-cloudops get [workflow name] [flags] | ||
``` | ||
|
||
### Flags | ||
|
||
``` | ||
-h, --help help for get | ||
``` |
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,14 @@ | ||
## argo-cloudops list | ||
List workflow executions for a given project and target | ||
|
||
``` | ||
argo-cloudops list [flags] | ||
``` | ||
|
||
### Flags | ||
|
||
``` | ||
-h, --help help for list | ||
-n, --project_name string Name of project | ||
-t, --target_name string Name of target | ||
``` |
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,14 @@ | ||
## argo-cloudops logs | ||
|
||
Gets logs from a workflow | ||
|
||
``` | ||
argo-cloudops logs [workflow name] [flags] | ||
``` | ||
|
||
### Flags | ||
|
||
``` | ||
-f, --follow Follow workflow logs and stream to standard out until workflow is complete | ||
-h, --help help for logs | ||
``` |
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,17 @@ | ||
## argo-cloudops sync | ||
|
||
Syncs a project target using a manifest in git | ||
|
||
``` | ||
argo-cloudops sync [flags] | ||
``` | ||
|
||
### Flags | ||
|
||
``` | ||
-h, --help help for sync | ||
-p, --path string Path to manifest within git repository | ||
-n, --project_name string Name of project | ||
-s, --sha string Commit sha to use when creating workflow through git | ||
-t, --target string Name of target | ||
``` |
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,20 @@ | ||
## argo-cloudops workflow | ||
Creates a workflow execution with provided arguments | ||
|
||
``` | ||
argo-cloudops workflow [flags] | ||
``` | ||
|
||
### Flags | ||
|
||
``` | ||
-a, --arguments string CSV string of equals separated arguments to pass to command (-a Arg1=ValueA,Arg2=ValueB). | ||
-e, --environment_variables string CSV string of equals separated environment variable key value pairs (-e Key1=ValueA,Key2=ValueB) | ||
-f, --framework string Framework to execute | ||
-h, --help help for workflow | ||
-p, --parameters string CSV string of equals separated parameters name and value (-p Param1=ValueA,Param2=ValueB). | ||
-n, --project_name string Name of project | ||
-t, --target string Name of target | ||
--type string Workflow type to execute | ||
-w, --workflow_template_name string Name of the workflow template | ||
``` |
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,24 @@ | ||
# Contributing | ||
|
||
## How To Provide Feedback | ||
|
||
Please [raise an issue in Github](https://github.com/argoproj-labs/argo-cloudops/issues). | ||
|
||
## Code of Conduct | ||
|
||
See [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). | ||
|
||
## How To Contribute | ||
|
||
We're always looking for contributors. | ||
|
||
* Documentation - something missing or unclear? Please submit a pull request! | ||
* Code contribution - investigate an [issue](https://github.com/argoproj-labs/argo-cloudops/issues) | ||
|
||
### Local Development Environment | ||
|
||
To run Argo CloudOps locally for [development](development-env.md). | ||
|
||
### Test Policy | ||
|
||
Changes without unit tests are unlikely to be accepted. |
File renamed without changes.
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
File renamed without changes.
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,7 @@ | ||
# Static Code Analysis | ||
|
||
We use the following static code analysis tools: | ||
|
||
* [golangci-lint](https://github.com/argoproj-labs/argo-cloudops/blob/main/.golangci.yaml) for compile time linting | ||
|
||
This is run on each pull request. |
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,7 @@ | ||
# FAQ | ||
|
||
> Argo CloudOps server returns "INTERNAL ERROR" when following logs | ||
This happens when a deployment executes for a long time. Just reissue the logs command to retry. Team is tracking an [issue](https://github.com/argoproj-labs/argo-cloudops/issues/93) to resolve | ||
|
||
|
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,23 @@ | ||
[![build](https://github.com/argoproj-labs/argo-cloudops/actions/workflows/build.yaml/badge.svg)](https://github.com/argoproj-labs/argo-cloudops/actions/workflows/build.yaml) | ||
|
||
|
||
## What Is Argo CloudOps? | ||
|
||
Argo CloudOps is a service for running infrastructure as code software tools | ||
including CDK, Terraform and Cloud Formation via GitOps. | ||
|
||
* Separate build and deployment | ||
* Isolate cloud credentials | ||
* Separate access by project and targets | ||
|
||
## Why Argo CloudOps? | ||
|
||
* GitOps opperating model | ||
* Multi cloud support (AWS, GCP, etc) | ||
* Multi framework support (CDK, Terraform, etc) | ||
* Pluggable components (Workflows, Frameworks, Credentials Providers, etc) | ||
|
||
# Argo Documentation | ||
|
||
### Getting Started | ||
For set-up information and running your first Workflows, please see our [Getting Started](quickstart.md) guide. |
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,3 @@ | ||
# Roadmap | ||
|
||
|
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,20 @@ | ||
# CLI | ||
|
||
The CLI allows to (amongst other things) manage projects, sync, watch, and list deployments, e.g.: | ||
|
||
```sh | ||
WFNAME=`argo-cloudops sync -n project1 -t target1 -p git_path -s git_sha` | ||
argo-cloudops logs $WFNAME -f | ||
``` | ||
|
||
## Reference | ||
|
||
You can find [detailed reference here](/cli/argo-cloudops) | ||
|
||
## Help | ||
|
||
Most help topics are provided by built-in help: | ||
|
||
``` | ||
argo-cloudops --help | ||
``` |
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,29 @@ | ||
# Core Concepts | ||
|
||
This page serves as additional information in addition to the [Argo CloudOps Architecture](/architecture). | ||
|
||
|
||
## Project | ||
|
||
A project is a logical collection of all deployment targets. | ||
|
||
### Properties | ||
| Name | Description | | ||
|-----------------|---------------------------------------------------------------------------------------------------------------| | ||
| name | name for the project | | ||
| repository | link to the github repository with [all project manifests](https://github.com/argoproj-labs/argo-cloudops/blob/main/manifests/cdk_manifest.yaml). Should match the auth method being used (HTTPS, SSH). | | ||
|
||
## Target | ||
|
||
A target represents a unique deployment for a project. It contains information related to cloud account access mechanism & policies for scoping permissions. Currently the only type of cloud account supported is AWS. | ||
|
||
### Properties | ||
|
||
| Name | Description | | ||
|-----------------|-----------------------------------------------------------------------| | ||
| credential_type | the type of credential mechanis to use. Currently only "assumed_role" | | ||
| role_arn | the role that the service assumes | | ||
| policy_arns | A list of AWS policy ARNs to use for permissions scope limiting | | ||
| policy_document | An inline document to scope down permissions | | ||
|
||
|
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,23 @@ | ||
# Environment Variables | ||
|
||
Argo CloudOps uses a number of environment variables for configuration. In addition to the table below, you can review the [start_local.sh](https://github.com/argoproj-labs/argo-cloudops/blob/main/scripts/start_local.sh) script for examples. | ||
|
||
| Name | Description | | ||
|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| ARGO_CLOUDOPS_ADMIN_SECRET | Secret for the Argo CloudOps API | | ||
| VAULT_ROLE | Role for accessing Vault API | | ||
| VAULT_SECRET | Secret for access Vault instance | | ||
| VAULT_ADDR | Endpoint for the Vault instance | | ||
| ARGO_ADDR | Argo Endpoint | | ||
| ARGO_CLOUDOPS_WORKFLOW_EXECUTION_NAMESPACE | Namespace to use to execute the deployments in Argo Workflows (Default: argo) | | ||
| ARGO_CLOUDOPS_CONFIG | File that contains argo cloudops command configuration. [Example](https://github.com/argoproj-labs/argo-cloudops/blob/main/argo-cloudops.yaml) | | ||
| SSH_PEM_FILE | PEM file to use for GITHUB access authentication | | ||
| ARGO_CLOUDOPS_GIT_AUTH_METHOD | A value of SSH or HTTPS depending on which authentication method prefered. | | ||
| ARGO_CLOUDOPS_GIT_HTTPS_USER | User name for GITHUB access authentication via HTTPS. | | ||
| ARGO_CLOUDOPS_GIT_HTTPS_PASS | Password for GITHUB access authentication via HTTPS. | | ||
| ARGO_CLOUDOPS_DB_HOST | Database Host | | ||
| ARGO_CLOUDOPS_DB_USER | Database User | | ||
| ARGO_CLOUDOPS_DB_PASSWORD | Database Password | | ||
| ARGO_CLOUDOPS_DB_NAME | Database name | | ||
| ARGO_CLOUDOPS_LOG_LEVEL | The configured log level for Argo CloudOps service (Default: Info) | | ||
| ARGO_CLOUDOPS_PORT | Port which the Argo CloudOps service listens (Default: 8443) | |
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,44 @@ | ||
site_name: Argo CloudOps - The engine for cloud deployments | ||
repo_url: https://github.com/argoproj-labs/argo-cloudops | ||
strict: true | ||
theme: | ||
name: material | ||
palette: | ||
primary: blue | ||
font: | ||
text: Work Sans | ||
markdown_extensions: | ||
- codehilite | ||
- admonition | ||
- pymdownx.superfences | ||
- pymdownx.details | ||
- toc: | ||
permalink: true | ||
nav: | ||
- Overview: index.md | ||
- Architecture: architecture.md | ||
- Quick Start: quickstart.md | ||
- User Guide: | ||
- Beginner: | ||
- Core Concepts: users/coreconcepts.md | ||
- CLI: users/cli.md | ||
- Environment Variables: users/envvars.md | ||
- Examples: https://github.com/argoproj-labs/argo-cloudops/blob/master/examples/README.md | ||
- CLI Reference: | ||
- argo-cloudops: cli/argo-cloudops.md | ||
- argo-cloudops sync: cli/argo-cloudops_sync.md | ||
- argo-cloudops diff: cli/argo-cloudops_diff.md | ||
- argo-cloudops get: cli/argo-cloudops_get.md | ||
- argo-cloudops list: cli/argo-cloudops_list.md | ||
- argo-cloudops workflow: cli/argo-cloudops_workflow.md | ||
- argo-cloudops logs: cli/argo-cloudops_logs.md | ||
- Developer Guide: | ||
- Local Development Environment: developers/development-env.md | ||
- Contributing: developers/CONTRIBUTING.md | ||
- Static Code Analysis: developers/static-code-analysis.md | ||
- API: developers/api.md | ||
- Releasing: developers/releasing.md | ||
- FAQ: faq.md | ||
- Releases ⧉: https://github.com/argoproj-labs/argo-cloudops/releases | ||
- Roadmap: roadmap.md | ||
- Appendix: appendix.md |