From b69f6efac6410a45fbdb196e1de6cdfc8eaddb20 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:04:06 +0200 Subject: [PATCH] chore: release 7.0.0 (#89) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: release 7.0.0 * docs: update CHANGELOG.md * docs(terraform-docs): generate docs and write to README.adoc --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gonçalo Heleno <33546359+lentidas@users.noreply.github.com> Co-authored-by: lentidas --- CHANGELOG.md | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ README.adoc | 12 ++++---- aks/README.adoc | 4 +-- eks/README.adoc | 4 +-- kind/README.adoc | 4 +-- sks/README.adoc | 4 +-- variables.tf | 2 +- version.txt | 2 +- 8 files changed, 95 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b72c126..be4dd01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,84 @@ # Changelog +## [7.0.0](https://github.com/camptocamp/devops-stack-module-thanos/compare/v6.0.0...v7.0.0) (2024-10-09) + + +### ⚠ BREAKING CHANGES + +* point the Argo CD provider to the new repository ([#88](https://github.com/camptocamp/devops-stack-module-thanos/issues/88)) + +### Features + +* point the Argo CD provider to the new repository ([#88](https://github.com/camptocamp/devops-stack-module-thanos/issues/88)) ([503c776](https://github.com/camptocamp/devops-stack-module-thanos/commit/503c77666b8d53460c747d1d7ca8256ea96d5423)) + +### Migrate provider source `oboukili` -> `argoproj-labs` + +We've tested the procedure found [here](https://github.com/argoproj-labs/terraform-provider-argocd?tab=readme-ov-file#migrate-provider-source-oboukili---argoproj-labs) and we think the order of the steps is not exactly right. This is the procedure we recommend (**note that this should be run manually on your machine and not on a CI/CD workflow**): + +1. First, make sure you are already using version 6.2.0 of the `oboukili/argocd` provider. + +1. Then, check which modules you have that are using the `oboukili/argocd` provider. + +```shell +$ terraform providers + +Providers required by configuration: +. +├── provider[registry.terraform.io/hashicorp/helm] 2.15.0 +├── (...) +└── provider[registry.terraform.io/oboukili/argocd] 6.2.0 + +Providers required by state: + + (...) + + provider[registry.terraform.io/oboukili/argocd] + + provider[registry.terraform.io/hashicorp/helm] +``` + +3. Afterwards, proceed to point **ALL* the DevOps Stack modules to the versions that have changed the source on their respective requirements. In case you have other personal modules that also declare `oboukili/argocd` as a requirement, you will also need to update them. + +4. Also update the required providers on your root module. If you've followed our examples, you should find that configuration on the `terraform.tf` file in the root folder. + +5. Execute the migration via `terraform state replace-provider`: + +```bash +$ terraform state replace-provider registry.terraform.io/oboukili/argocd registry.terraform.io/argoproj-labs/argocd +Terraform will perform the following actions: + + ~ Updating provider: + - registry.terraform.io/oboukili/argocd + + registry.terraform.io/argoproj-labs/argocd + +Changing 13 resources: + + module.argocd_bootstrap.argocd_project.devops_stack_applications + module.secrets.module.secrets.argocd_application.this + module.metrics-server.argocd_application.this + module.efs.argocd_application.this + module.loki-stack.module.loki-stack.argocd_application.this + module.thanos.module.thanos.argocd_application.this + module.cert-manager.module.cert-manager.argocd_application.this + module.kube-prometheus-stack.module.kube-prometheus-stack.argocd_application.this + module.argocd.argocd_application.this + module.traefik.module.traefik.module.traefik.argocd_application.this + module.ebs.argocd_application.this + module.helloworld_apps.argocd_application.this + module.helloworld_apps.argocd_project.this + +Do you want to make these changes? +Only 'yes' will be accepted to continue. + +Enter a value: yes + +Successfully replaced provider for 13 resources. +``` + +6. Perform a `terraform init -upgrade` to upgrade your local `.terraform` folder. + +7. Run a `terraform plan` or `terraform apply` and you should see that everything is OK and that no changes are necessary. + ## [6.0.0](https://github.com/camptocamp/devops-stack-module-thanos/compare/v5.0.0...v6.0.0) (2024-08-14) diff --git a/README.adoc b/README.adoc index 507c3e3..0089507 100644 --- a/README.adoc +++ b/README.adoc @@ -36,10 +36,10 @@ The following requirements are needed by this module: The following providers are used by this module: -- [[provider_random]] <> (>= 3) - - [[provider_argocd]] <> (>= 6) +- [[provider_random]] <> (>= 3) + - [[provider_utils]] <> (>= 1) - [[provider_null]] <> (>= 3) @@ -114,7 +114,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v6.0.0"` +Default: `"v7.0.0"` ==== [[input_cluster_issuer]] <> @@ -301,10 +301,10 @@ Description: ID to pass other modules in order to refer to this module as a depe [cols="a,a",options="header,autowidth"] |=== |Name |Version -|[[provider_null]] <> |>= 3 |[[provider_random]] <> |>= 3 -|[[provider_argocd]] <> |>= 6 |[[provider_utils]] <> |>= 1 +|[[provider_argocd]] <> |>= 6 +|[[provider_null]] <> |>= 3 |=== = Resources @@ -365,7 +365,7 @@ Description: ID to pass other modules in order to refer to this module as a depe |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v6.0.0"` +|`"v7.0.0"` |no |[[input_cluster_issuer]] <> diff --git a/aks/README.adoc b/aks/README.adoc index a303e0c..8b3d397 100644 --- a/aks/README.adoc +++ b/aks/README.adoc @@ -318,7 +318,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v6.0.0"` +Default: `"v7.0.0"` ==== [[input_cluster_issuer]] <> @@ -592,7 +592,7 @@ object({ |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v6.0.0"` +|`"v7.0.0"` |no |[[input_cluster_issuer]] <> diff --git a/eks/README.adoc b/eks/README.adoc index cd1b4b4..60ee0fc 100644 --- a/eks/README.adoc +++ b/eks/README.adoc @@ -347,7 +347,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v6.0.0"` +Default: `"v7.0.0"` ==== [[input_cluster_issuer]] <> @@ -620,7 +620,7 @@ object({ |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v6.0.0"` +|`"v7.0.0"` |no |[[input_cluster_issuer]] <> diff --git a/kind/README.adoc b/kind/README.adoc index b3d606e..dd4b60f 100644 --- a/kind/README.adoc +++ b/kind/README.adoc @@ -245,7 +245,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v6.0.0"` +Default: `"v7.0.0"` ==== [[input_cluster_issuer]] <> @@ -497,7 +497,7 @@ object({ |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v6.0.0"` +|`"v7.0.0"` |no |[[input_cluster_issuer]] <> diff --git a/sks/README.adoc b/sks/README.adoc index 3438a41..2d02817 100644 --- a/sks/README.adoc +++ b/sks/README.adoc @@ -188,7 +188,7 @@ Description: Override of target revision of the application chart. Type: `string` -Default: `"v6.0.0"` +Default: `"v7.0.0"` ==== [[input_cluster_issuer]] <> @@ -439,7 +439,7 @@ object({ |[[input_target_revision]] <> |Override of target revision of the application chart. |`string` -|`"v6.0.0"` +|`"v7.0.0"` |no |[[input_cluster_issuer]] <> diff --git a/variables.tf b/variables.tf index 7b4b0c3..fe6cbe3 100644 --- a/variables.tf +++ b/variables.tf @@ -40,7 +40,7 @@ variable "destination_cluster" { variable "target_revision" { description = "Override of target revision of the application chart." type = string - default = "v6.0.0" # x-release-please-version + default = "v7.0.0" # x-release-please-version } variable "cluster_issuer" { diff --git a/version.txt b/version.txt index 09b254e..66ce77b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -6.0.0 +7.0.0