Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Upgrade test target image into release/1.15.x #17239

Conversation

hc-github-team-consul-core
Copy link
Contributor

Backport

This PR is auto-generated from #17226 to be assessed for backporting due to the inclusion of the label backport/1.15.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

merge conflict error: POST https://api.github.com/repos/hashicorp/consul/merges: 409 Merge conflict []

The below text is copied from the body of the original PR.


Description

Split from #17186

Change to upgrade test

  • pass target image name to cluster.StandardUpgrade(utils.GetTargetImageName(), tc.targetVersion), because the image we upgrade to is consul:locally, which is built locally in the CI runner. This image name may be different from the latest image docker.mirror.hashicorp.services/docker:1.15 for example.
  • fix a bug in test/integration/consul-container/test/upgrade/fullstopupgrade_test.go that always true when an error is expected. (the second commit in the PR)

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/upgrade-test-targetImage/immensely-relative-clam branch 2 times, most recently from d0001d8 to 4fd91e8 Compare May 8, 2023 16:03
@hashicorp-cla
Copy link

hashicorp-cla commented May 8, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@huikang huikang marked this pull request as ready for review May 8, 2023 17:22
@huikang huikang force-pushed the backport/upgrade-test-targetImage/immensely-relative-clam branch from 306f744 to 1a3365a Compare May 8, 2023 21:03
@huikang huikang merged commit 2ab3184 into release/1.15.x May 8, 2023
@huikang huikang deleted the backport/upgrade-test-targetImage/immensely-relative-clam branch May 8, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants