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

chore(migrate): add travis sanity test #29

Merged
merged 5 commits into from
Aug 5, 2020

Conversation

shubham14bajpai
Copy link
Contributor

@shubham14bajpai shubham14bajpai commented Jul 24, 2020

Signed-off-by: shubham [email protected]

This PR

  • adds sanity tests to the travis-ci using stages to have parallel unit, upgrade and migrate sanity tests.
  • fixes the flaky unit test by replacing package reflect with go-cmp.
  • updates build script to use travis branch or tag the current version.
  • update deploy-images universal push script.

Manual tests covered locally:

  • exported TRAVIS_BRANCH as master, v1.12.x and executed sanity test for both upgrade and migrate.
  • exported TRAVIS_TAG as v1.12.0-RC1, v1.12.0 and executed sanity test for both upgrade and migrate.

the flaky unit test by replacing reflect with go-cmp

Signed-off-by: shubham <[email protected]>
- adds sanity test for upgrade
- update build script to use travis tag or branch as version
- use universal push script

Signed-off-by: shubham <[email protected]>
Copy link
Contributor

@kmova kmova left a comment

Choose a reason for hiding this comment

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

Good one!!

@kmova kmova merged commit fee8f18 into openebs-archive:master Aug 5, 2020
Copy link

@prateekpandey14 prateekpandey14 left a comment

Choose a reason for hiding this comment

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

lgtm

@shubham14bajpai shubham14bajpai deleted the migrate-ci branch August 19, 2020 05:46
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.

Add upgrade related test cases
3 participants