Skip to content

Releases: asfadmin/CIRRUS-core

v5.0.1.3

29 Apr 17:35
c9eaac8
Compare
Choose a tag to compare

The purpose of this update is to upgrade Terraform to v0.13.6 on existing
deployments of Cumulus v5.0.1. Cumulus notes for upgrading Terraform are
available here.

This CIRRUS update takes care of the running of the 0.13upgrade command across
all modules. It resulted in the creation of a versions.tf file in each module
and a syntax change to the required_providers section in the main.tf file in
each module.

Prerequisites

  • Upgrade your CIRRUS-core release to v5.0.1.2 across all your environments.
  • Per the Cumulus notes, apply any configuration across all environments.

Upgrade Steps

  • Review the changes in CIRRUS-DAAC. Add the versions.tf file and update the
    required_providers section of the main.tf file in your daac and workflows modules
  • In CIRRUS-core run make image to create a new Docker cirrus-core image with
    Terraform 0.13.6.
  • Run make container-shell - all the following commands are run from inside the
    container.
  • use the source env.sh ... command to set up your environment variables for
    the deployment you will be upgrading.
  • For each module run make plan-modulename (make plan-tf, make plan-daac, etc).
    Only make plan-tf will succeed the first time. Even though unsuccessul, this step
    is necessary as it runs the terraform init --reconfigure mentioned in the Cumulus
    upgrade instructions.
  • cd to the module directory and run the necessary terraform state replace-provider
    commands to resolve the issues noted in the plan failure.
  • Run make plan-module again to confirm the issues are resolved

The scripts/cumulus-v5.0.1-tf-upgrade/replace_tf_providers.sh script has all
the commands necessary to iterate over each module. BE WARNED You may want
to use this as more of a copy-paste guide rather than actually running it. It
does work running end-to-end on my deployments but your mileage may vary. In
particular, you may want to remove the -auto-approve switch from the
terraform state replace-provider command so you have a chance to review the
changes before accepting them.

  • Once all plans run successfully you can then run make modulename for each
    module to complete the upgrade.

The process will need to be repeated for each deployment.

v5.0.1.2

30 Mar 13:29
4a8cbfa
Compare
Choose a tag to compare

CHANGELOG:

  • Expose elasticsearch configuration parameters in both data-persistence and cumulus modules.
  • Breaking change: the Makefile updated to handle per maturity data-persistence variables. To be
    consistent with how other make targets behave, the CIRRUS-DAAC
    data-persistence/terraform.tfvars file needs to exist for make data-persistence to work.
    The file can be empty, but must exist.

v5.0.1.0

29 Jan 11:25
e27a7cd
Compare
Choose a tag to compare

upgrade Cumulus to v5.0.1

v5.0.0.0

29 Jan 11:25
4bcc2f0
Compare
Choose a tag to compare

upgrade Cumulus to v5.0.0

v4.0.0.0

02 Dec 00:55
1a65eb4
Compare
Choose a tag to compare

Changes to support Cumulus v4.0.0

v3.0.1.0

27 Oct 11:28
f4e5c18
Compare
Choose a tag to compare

upgrade Cumulus to v3.0.1

v3.0.0.0

20 Oct 18:48
23d3d72
Compare
Choose a tag to compare

Upgrade Cumulus to v3.0.0 - read Cumulus release notes and CIRRUS-core CHANGELOG for migration instructions

v2.0.7.0

20 Oct 18:47
f6033ec
Compare
Choose a tag to compare

upgrade Cumulus to v2.0.7

v2.0.6.0

20 Oct 17:28
Compare
Choose a tag to compare

Upgrade Cumulus to v2.0.6

v2.0.4.0

10 Sep 13:36
d3fb50a
Compare
Choose a tag to compare

Upgrade Cumulus to v2.0.4