Skip to content

Commit fcfd7ce

Browse files
chore: release 4.0.0 (#40)
* chore: release 4.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 <lentidas@users.noreply.github.com>
1 parent 8b9453e commit fcfd7ce

File tree

4 files changed

+84
-5
lines changed

4 files changed

+84
-5
lines changed

CHANGELOG.md

+79
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,84 @@
11
# Changelog
22

3+
## [4.0.0](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/compare/v3.6.0...v4.0.0) (2024-10-09)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* point the Argo CD provider to the new repository ([#39](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/issues/39))
9+
10+
### Features
11+
12+
* point the Argo CD provider to the new repository ([#39](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/issues/39)) ([8b9453e](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/commit/8b9453ed6f612d8374a091e3dcac02047e8843d2))
13+
14+
### Migrate provider source `oboukili` -> `argoproj-labs`
15+
16+
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**):
17+
18+
1. First, make sure you are already using version 6.2.0 of the `oboukili/argocd` provider.
19+
20+
1. Then, check which modules you have that are using the `oboukili/argocd` provider.
21+
22+
```shell
23+
$ terraform providers
24+
25+
Providers required by configuration:
26+
.
27+
├── provider[registry.terraform.io/hashicorp/helm] 2.15.0
28+
├── (...)
29+
└── provider[registry.terraform.io/oboukili/argocd] 6.2.0
30+
31+
Providers required by state:
32+
33+
(...)
34+
35+
provider[registry.terraform.io/oboukili/argocd]
36+
37+
provider[registry.terraform.io/hashicorp/helm]
38+
```
39+
40+
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.
41+
42+
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.
43+
44+
5. Execute the migration via `terraform state replace-provider`:
45+
46+
```bash
47+
$ terraform state replace-provider registry.terraform.io/oboukili/argocd registry.terraform.io/argoproj-labs/argocd
48+
Terraform will perform the following actions:
49+
50+
~ Updating provider:
51+
- registry.terraform.io/oboukili/argocd
52+
+ registry.terraform.io/argoproj-labs/argocd
53+
54+
Changing 13 resources:
55+
56+
module.argocd_bootstrap.argocd_project.devops_stack_applications
57+
module.secrets.module.secrets.argocd_application.this
58+
module.metrics-server.argocd_application.this
59+
module.efs.argocd_application.this
60+
module.loki-stack.module.loki-stack.argocd_application.this
61+
module.thanos.module.thanos.argocd_application.this
62+
module.cert-manager.module.cert-manager.argocd_application.this
63+
module.kube-prometheus-stack.module.kube-prometheus-stack.argocd_application.this
64+
module.argocd.argocd_application.this
65+
module.traefik.module.traefik.module.traefik.argocd_application.this
66+
module.ebs.argocd_application.this
67+
module.helloworld_apps.argocd_application.this
68+
module.helloworld_apps.argocd_project.this
69+
70+
Do you want to make these changes?
71+
Only 'yes' will be accepted to continue.
72+
73+
Enter a value: yes
74+
75+
Successfully replaced provider for 13 resources.
76+
```
77+
78+
6. Perform a `terraform init -upgrade` to upgrade your local `.terraform` folder.
79+
80+
7. Run a `terraform plan` or `terraform apply` and you should see that everything is OK and that no changes are necessary.
81+
382
## [3.6.0](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/compare/v3.5.0...v3.6.0) (2024-08-29)
483

584

README.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Description: Override of target revision of the application chart.
154154

155155
Type: `string`
156156

157-
Default: `"v3.6.0"`
157+
Default: `"v4.0.0"`
158158

159159
==== [[input_helm_values]] <<input_helm_values,helm_values>>
160160

@@ -288,9 +288,9 @@ Description: ID to pass other modules in order to refer to this module as a depe
288288
[cols="a,a",options="header,autowidth"]
289289
|===
290290
|Name |Version
291+
|[[provider_null]] <<provider_null,null>> |>= 3
291292
|[[provider_argocd]] <<provider_argocd,argocd>> |>= 6
292293
|[[provider_utils]] <<provider_utils,utils>> |>= 1
293-
|[[provider_null]] <<provider_null,null>> |>= 3
294294
|===
295295
296296
= Modules
@@ -345,7 +345,7 @@ Description: ID to pass other modules in order to refer to this module as a depe
345345
|[[input_target_revision]] <<input_target_revision,target_revision>>
346346
|Override of target revision of the application chart.
347347
|`string`
348-
|`"v3.6.0"`
348+
|`"v4.0.0"`
349349
|no
350350
351351
|[[input_helm_values]] <<input_helm_values,helm_values>>

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ variable "destination_cluster" {
2929
variable "target_revision" {
3030
description = "Override of target revision of the application chart."
3131
type = string
32-
default = "v3.6.0" # x-release-please-version
32+
default = "v4.0.0" # x-release-please-version
3333
}
3434

3535
variable "helm_values" {

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.6.0
1+
4.0.0

0 commit comments

Comments
 (0)