v4.0.2

Notes

  • Sprint: Sprint 39
  • Type:

    • Major release

      • Minor hotfix
      • Essential hotfix
    • Normal release
    • Hotfix
  • No encountered error during deployment.

Tasks

Database backup

On-demand database backups are user initiated, and are retained indefinitely, until manually deleted.

Code preparation

  • Created release branch release-v4.0.2 from release-v4.0.1.
  • Created feature branches from release-v4.0.2.
  • Updated local branch release-v4.0.2 from remote tracking branch release-v4.0.2.

    • Updated from release branch release-v4.0.1.1.
  • No issues and merge commits when release-v4.0.2 branch was updated.

Release branch

  • From branch: release-v4.0.1
  • Branch name: release-v4.0.2
  • Pushed to github.
  • Pushed to Acquia Cloud git.

Release tag

  • From branch: release-v4.0.2
  • Tag name: v4.0.2
  • Pushed to github.
  • Pushed to Acquia Cloud git.

Pre-deployment (production)

  • Manually deleted field Country field_country from Field Collections field_countries.
  • Manually deleted field State/Province field_state from Field Collections field_countries.
  • Manually deleted field Countries field_countries from Content Type Location.

    • This effectively removes Field Collections field_countries.

Deployment (production)

Switch code

  • From: v4.0.1.1
  • To: v4.0.2
  • Timestamp: Nov 1, 2021, 6:01:35 PM UTC+0800
  • Task ID: 150598528
  • User: timothy.escopete@excelitas.com
  • Started: Nov 1, 2021, 6:01:35 PM UTC+0800
  • Completed: Nov 1, 2021, 6:01:53 PM UTC+0800
  • Status: Completed
  • No errors.
  • Cleared cache.
  • Cleared cache.

Configuration changes

  • Create field.storage.paragraph.field_state
  • Create field.storage.paragraph.field_country
  • Create field.storage.paragraph.field_collection_item
  • Create field.storage.node.field_countries_v2
  • Create paragraphs.paragraphs_type.countries
  • Create field.field.paragraph.countries.field_state
  • Create field.field.paragraph.countries.field_country
  • Create field.field.paragraph.countries.field_collection_item
  • Create field.field.node.location.field_countries_v2
  • Create core.entity_view_display.paragraph.countries.default
  • Create core.entity_form_display.paragraph.countries.default
  • Update core.entity_view_display.node.location.teaser
  • Update core.entity_view_display.node.location.search_result
  • Update core.entity_view_display.node.location.default
  • Update core.entity_view_display.node.location.dealer_teaser
  • Update core.entity_form_display.node.location.default

Configuration import

  • [notice] Synchronized configuration: create field.storage.paragraph.field_state.
  • [notice] Synchronized configuration: create field.storage.paragraph.field_country.
  • [notice] Synchronized configuration: create field.storage.paragraph.field_collection_item.
  • [notice] Synchronized configuration: create field.storage.node.field_countries_v2.
  • [notice] Synchronized configuration: create paragraphs.paragraphs_type.countries.
  • [notice] Synchronized configuration: create field.field.paragraph.countries.field_state.
  • [notice] Synchronized configuration: create field.field.paragraph.countries.field_country.
  • [notice] Synchronized configuration: create field.field.paragraph.countries.field_collection_item.
  • [notice] Synchronized configuration: create field.field.node.location.field_countries_v2.
  • [notice] Synchronized configuration: create core.entity_view_display.paragraph.countries.default.
  • [notice] Synchronized configuration: create core.entity_form_display.paragraph.countries.default.
  • [notice] Synchronized configuration: update core.entity_view_display.node.location.teaser.
  • [notice] Synchronized configuration: update core.entity_view_display.node.location.search_result.
  • [notice] Synchronized configuration: update core.entity_view_display.node.location.default.
  • [notice] Synchronized configuration: update core.entity_view_display.node.location.dealer_teaser.
  • [notice] Synchronized configuration: update core.entity_form_display.node.location.default.
  • [notice] Finalizing configuration synchronization.

Configuration import summary

  • [success] The configuration was imported successfully.
  • No errors.

Database update

  • [success] No pending updates.

Database update results

  • [success] No pending updates.

Post deployment

  • Cleared cache.
  • Cleared cache.
  • Cleared varnish cache.

Post deployment todo for this release

  • Executed the migration script from json to paragraphs of countries in CT Location (distributors).

    • Executed drush mfcctp

      • Output logs can be found here.
      • There are a total of 112 distributors (Location nodes) updated.
      • Original distributors in json format can be found here.

Quick test

Post deployment

  • Updated local release branch release-v4.0.3 from remote tracking branch release-v4.0.3.

    • Already up to date.
    • Fast forward update.
  • Merged remote tracking branch release-v4.0.2 to release-v4.0.3.

    • No errors.
    • Fast forward merge.
    • Non-fast forward merge: 474a824.
    • With conflicts.

      • Conflict resolution commit: .
    • Pushed to Github.
    • Pushed to Acquia Cloud.
  • Updated local branch develop from remote tracking branch develop.

    • Already up to date.
  • Merged remote tracking branch 'release-v4.0.2' to develop.

    • No errors.
    • Fast forward merge.
    • Non-fast forward merge: 96d5844.
    • With conflicts. 1

      • Conflict resolution commit: 96d5844.
    • Pushed to Github.
    • Pushed to Acquia Cloud.
  • Updated local branch release-v4.1.0 from remote tracking branch release-v4.1.0.

    • Already up to date.
    • Fast forward update.
  • Merged remote tracking branch 'release-v4.0.2' to release-v4.1.0.

    • No errors.
    • Fast forward merge.
    • Non-fast forward merge: e194719.
    • With conflicts.

      • Conflict resolution commit: .
    • Pushed to Github.
    • Pushed to Acquia Cloud.

Footnotes

1
Auto-merging config/default/core.entity_view_display.node.location.teaser.yml
Auto-merging config/default/core.entity_view_display.node.location.search_result.yml
Auto-merging config/default/core.entity_view_display.node.location.default.yml
Auto-merging config/default/core.entity_view_display.node.location.dealer_teaser.yml
Auto-merging config/default/core.entity_form_display.node.location.default.yml
CONFLICT (content): Merge conflict in config/default/core.entity_form_display.node.location.default.yml