Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[meta] upgrade test #898

Closed
wants to merge 4 commits into from
Closed

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Nov 16, 2020

This PR is adding a new upgrade test for every chart.

This test is deploying the oldest release version of charts which can be upgraded to latest version, then upgrading using unreleased charts in the repo.

The goal is to detect when some PR is introducing a breaking change.

  • Note 1: An upgrade test is already existing for Elasticsearch but had been removed from master branch because upgrade from 7.x to Elasticsearch 8.0.0-SNAPSHOT used by master branch isn't working. The new test allows overriding the Docker image version used during upgrade so we can still test upgrade on master but use the latest 7.x Docker image instead of 8.0.0-SNAPSHOT.
  • Note 2: Metricbeat chart introduced a breaking change in [meta] Helm 3 #516 and can be upgraded from any previous version currently, so Metricbeat test is commented and should be uncommented after 7.10.0 release so we can check if new PR are introducing new breaking changes.

  • Note 3: Currently charts upgrade are only tested with default values and so cover a small part of charts codebase, we should update it to test optional resources (ie: enable service or ingress, ...).

Fix #396

@jmlrt jmlrt added the meta label Nov 16, 2020
@jmlrt jmlrt changed the title helm 3 upgrade test [meta] upgrade test (helm 3) Nov 16, 2020
@jmlrt jmlrt changed the title [meta] upgrade test (helm 3) [meta] upgrade test Nov 17, 2020
This commit add a new test which deploy a 7.7.0 chart and upgrade it to
latest version.
@jmlrt jmlrt force-pushed the helm-3-upgrade-test branch from 750cb52 to 3fc8f27 Compare November 17, 2020 15:59
@jmlrt
Copy link
Member Author

jmlrt commented Nov 17, 2020

jenkins test this please

@jmlrt
Copy link
Member Author

jmlrt commented Nov 17, 2020

replaced by #907

@jmlrt jmlrt closed this Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add upgrade test for every chart
1 participant