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

[meta] upgrade test (#907) [6.8] #918

Merged
merged 5 commits into from
Nov 20, 2020
Merged

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Nov 20, 2020

Backports the following commits to 6.8:

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 elastic#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 elastic#396
@jmlrt jmlrt self-assigned this Nov 20, 2020
@jmlrt jmlrt added the backport label Nov 20, 2020
@jmlrt jmlrt changed the title [6.8] [meta] upgrade test (#907) 🚧[6.8] [meta] upgrade test (#907) Nov 20, 2020
@jmlrt jmlrt changed the title 🚧[6.8] [meta] upgrade test (#907) 🚧 [6.8] [meta] upgrade test (#907) Nov 20, 2020
@jmlrt jmlrt changed the title 🚧 [6.8] [meta] upgrade test (#907) 🚧 [6.8] [meta] upgrade test (#907) Nov 20, 2020
@jmlrt jmlrt marked this pull request as draft November 20, 2020 11:51
@jmlrt jmlrt changed the title 🚧 [6.8] [meta] upgrade test (#907) [6.8] [meta] upgrade test (#907) Nov 20, 2020
@jmlrt jmlrt marked this pull request as ready for review November 20, 2020 17:12
@jmlrt jmlrt merged commit e8d39fe into elastic:6.8 Nov 20, 2020
@jmlrt jmlrt deleted the backport/6.8/pr-907 branch November 20, 2020 18:16
@jmlrt jmlrt changed the title [6.8] [meta] upgrade test (#907) [meta] upgrade test (#907) [6.8] Nov 23, 2020
@jmlrt jmlrt mentioned this pull request Dec 14, 2021
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.

1 participant