-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add central workflows including release-please (#11)
* chore: add CODEOWNERS file * ci: add terraform-docs and linters workflows * ci: add release-please workflow and associated modifications * docs(terraform-docs): generate docs and write to README.adoc Co-authored-by: lentidas <[email protected]> Release-As: v1.0.0-alpha.1
- Loading branch information
Showing
11 changed files
with
816 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
name: "Linters" | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
linters: | ||
uses: camptocamp/devops-stack/.github/workflows/modules-linters.yaml@master |
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,11 @@ | ||
--- | ||
name: "Release" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
release: | ||
uses: camptocamp/devops-stack/.github/workflows/modules-release-please.yaml@master |
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,11 @@ | ||
--- | ||
name: "Terraform Docs" | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
terraform-docs: | ||
uses: camptocamp/devops-stack/.github/workflows/modules-terraform-docs.yaml@master | ||
with: | ||
variants: "aks,eks,k3s" |
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 @@ | ||
* @camptocamp/is-devops-stack |
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,177 @@ | ||
// BEGIN_TF_DOCS | ||
=== Requirements | ||
|
||
No requirements. | ||
|
||
=== Providers | ||
|
||
The following providers are used by this module: | ||
|
||
- [[provider_argocd]] <<provider_argocd,argocd>> | ||
|
||
- [[provider_null]] <<provider_null,null>> | ||
|
||
- [[provider_utils]] <<provider_utils,utils>> | ||
|
||
=== Modules | ||
|
||
No modules. | ||
|
||
=== Resources | ||
|
||
The following resources are used by this module: | ||
|
||
- https://registry.terraform.io/providers/oboukili/argocd/latest/docs/resources/application[argocd_application.this] (resource) | ||
- https://registry.terraform.io/providers/oboukili/argocd/latest/docs/resources/project[argocd_project.this] (resource) | ||
- https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource[null_resource.dependencies] (resource) | ||
- https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource[null_resource.this] (resource) | ||
- https://registry.terraform.io/providers/cloudposse/utils/latest/docs/data-sources/deep_merge_yaml[utils_deep_merge_yaml.values] (data source) | ||
|
||
=== Required Inputs | ||
|
||
The following input variables are required: | ||
|
||
==== [[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>> | ||
|
||
Description: n/a | ||
|
||
Type: `string` | ||
|
||
==== [[input_base_domain]] <<input_base_domain,base_domain>> | ||
|
||
Description: n/a | ||
|
||
Type: `string` | ||
|
||
==== [[input_cluster_name]] <<input_cluster_name,cluster_name>> | ||
|
||
Description: n/a | ||
|
||
Type: `string` | ||
|
||
=== Optional Inputs | ||
|
||
The following input variables are optional (have default values): | ||
|
||
==== [[input_dependency_ids]] <<input_dependency_ids,dependency_ids>> | ||
|
||
Description: n/a | ||
|
||
Type: `map(string)` | ||
|
||
Default: `{}` | ||
|
||
==== [[input_helm_values]] <<input_helm_values,helm_values>> | ||
|
||
Description: Helm values, passed as a list of HCL structures. | ||
|
||
Type: `any` | ||
|
||
Default: `[]` | ||
|
||
==== [[input_namespace]] <<input_namespace,namespace>> | ||
|
||
Description: n/a | ||
|
||
Type: `string` | ||
|
||
Default: `"loki-stack"` | ||
|
||
==== [[input_target_revision]] <<input_target_revision,target_revision>> | ||
|
||
Description: Override of target revision of the application chart. | ||
|
||
Type: `string` | ||
|
||
Default: `"v1.0.0"` | ||
|
||
=== Outputs | ||
|
||
The following outputs are exported: | ||
|
||
==== [[output_id]] <<output_id,id>> | ||
|
||
Description: n/a | ||
// END_TF_DOCS | ||
// BEGIN_TF_TABLES | ||
|
||
|
||
= Providers | ||
|
||
[cols="a,a",options="header,autowidth"] | ||
|=== | ||
|Name |Version | ||
|[[provider_argocd]] <<provider_argocd,argocd>> |n/a | ||
|[[provider_null]] <<provider_null,null>> |n/a | ||
|[[provider_utils]] <<provider_utils,utils>> |n/a | ||
|=== | ||
|
||
= Resources | ||
|
||
[cols="a,a",options="header,autowidth"] | ||
|=== | ||
|Name |Type | ||
|https://registry.terraform.io/providers/oboukili/argocd/latest/docs/resources/application[argocd_application.this] |resource | ||
|https://registry.terraform.io/providers/oboukili/argocd/latest/docs/resources/project[argocd_project.this] |resource | ||
|https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource[null_resource.dependencies] |resource | ||
|https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource[null_resource.this] |resource | ||
|https://registry.terraform.io/providers/cloudposse/utils/latest/docs/data-sources/deep_merge_yaml[utils_deep_merge_yaml.values] |data source | ||
|=== | ||
|
||
= Inputs | ||
|
||
[cols="a,a,a,a,a",options="header,autowidth"] | ||
|=== | ||
|Name |Description |Type |Default |Required | ||
|[[input_argocd_namespace]] <<input_argocd_namespace,argocd_namespace>> | ||
|n/a | ||
|`string` | ||
|n/a | ||
|yes | ||
|
||
|[[input_base_domain]] <<input_base_domain,base_domain>> | ||
|n/a | ||
|`string` | ||
|n/a | ||
|yes | ||
|
||
|[[input_cluster_name]] <<input_cluster_name,cluster_name>> | ||
|n/a | ||
|`string` | ||
|n/a | ||
|yes | ||
|
||
|[[input_dependency_ids]] <<input_dependency_ids,dependency_ids>> | ||
|n/a | ||
|`map(string)` | ||
|`{}` | ||
|no | ||
|
||
|[[input_helm_values]] <<input_helm_values,helm_values>> | ||
|Helm values, passed as a list of HCL structures. | ||
|`any` | ||
|`[]` | ||
|no | ||
|
||
|[[input_namespace]] <<input_namespace,namespace>> | ||
|n/a | ||
|`string` | ||
|`"loki-stack"` | ||
|no | ||
|
||
|[[input_target_revision]] <<input_target_revision,target_revision>> | ||
|Override of target revision of the application chart. | ||
|`string` | ||
|`"v1.0.0"` | ||
|no | ||
|
||
|=== | ||
|
||
= Outputs | ||
|
||
[cols="a,a",options="header,autowidth"] | ||
|=== | ||
|Name |Description | ||
|[[output_id]] <<output_id,id>> |n/a | ||
|=== | ||
// END_TF_TABLES |
Oops, something went wrong.