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

chore: release 4.0.0 #40

Merged
merged 3 commits into from
Oct 9, 2024
Merged

chore: release 4.0.0 #40

merged 3 commits into from
Oct 9, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 9, 2024

🤖 I have created a release beep boop

4.0.0 (2024-10-09)

⚠ BREAKING CHANGES

  • point the Argo CD provider to the new repository (#39)

Features

  • point the Argo CD provider to the new repository (#39) (8b9453e)

Migrate provider source oboukili -> argoproj-labs

We've tested the procedure found here 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.

  2. Then, check which modules you have that are using the oboukili/argocd provider.

$ 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]
  1. 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.

  2. 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.

  3. Execute the migration via terraform state replace-provider:

$ 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.
  1. Perform a terraform init -upgrade to upgrade your local .terraform folder.

  2. Run a terraform plan or terraform apply and you should see that everything is OK and that no changes are necessary.


This PR was generated with Release Please. See documentation.

@github-actions github-actions bot requested a review from a team as a code owner October 9, 2024 13:09
@lentidas lentidas merged commit fcfd7ce into main Oct 9, 2024
@lentidas lentidas deleted the release-please--branches--main branch October 9, 2024 14:01
Copy link
Contributor Author

github-actions bot commented Oct 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant