Skip to content

ci-workflow-gen: turn string to array to reduce conflicts#7582

Merged
shlomi-noach merged 3 commits intovitessio:masterfrom
planetscale:ci-workflow-gen-list
Mar 7, 2021
Merged

ci-workflow-gen: turn string to array to reduce conflicts#7582
shlomi-noach merged 3 commits intovitessio:masterfrom
planetscale:ci-workflow-gen-list

Conversation

@shlomi-noach
Copy link
Copy Markdown
Contributor

Description

In ci-workflow-gen.go, the variable clusterList is becoming a problem:

  • Becomes a longer and longer string
  • Is a source for merge conflicts when multiple PRs add different endtoend tests.

In this PR we turn the string into an array of strings. Each "test shard" is listed on its own line, and this should almost eliminate conflicts.

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving
  • VReplication
  • Cluster Management
  • Build/CI
  • VTAdmin

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach requested a review from sougou as a code owner March 2, 2021 09:59
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach requested review from a team and deepthi March 7, 2021 07:42
Copy link
Copy Markdown
Member

@rohit-nayak-ps rohit-nayak-ps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You beat me to this :-)
LGTM

@shlomi-noach shlomi-noach merged commit 233877d into vitessio:master Mar 7, 2021
@shlomi-noach shlomi-noach deleted the ci-workflow-gen-list branch March 7, 2021 10:02
@askdba askdba added this to the v10.0 milestone Mar 10, 2021
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.

3 participants