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

update travis to run functional test against different kube version #429

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

Madhu-1
Copy link
Collaborator

@Madhu-1 Madhu-1 commented Jun 13, 2019

Describe what this PR does

updated Travis to run functional tests against different kubernetes versions
1.13.7 and 1.14.3

This will ensure csi will be working against 2 kube major version
if required we can add all major version to test against it

Signed-off-by: Madhu Rajanna madhupr007@gmail.com

@Madhu-1 Madhu-1 added the DNM DO NOT MERGE label Jun 13, 2019
@Madhu-1 Madhu-1 force-pushed the multi-kube branch 9 times, most recently from 4e90b88 to a45ece3 Compare June 13, 2019 10:55
@Madhu-1 Madhu-1 removed the DNM DO NOT MERGE label Jun 13, 2019
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Jun 13, 2019

@humblec @ShyamsundarR PTAL

Copy link
Contributor

@ShyamsundarR ShyamsundarR left a comment

Choose a reason for hiding this comment

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

Other than adding the -e to the new script, other comments are more for later when we edit/touch this file in the future.

- curl -sf
"https://install.goreleaser.com/github.com/golangci/golangci-lint.sh"
"https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh"
Copy link
Contributor

Choose a reason for hiding this comment

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

I always cringe when using master branch versions of dependencies... letting this one pass through, and hopefully in the future we would stick to a version.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will go back to the older version of code once the above-mentioned issue is fixed

| bash -s -- -b $GOPATH/bin "${GOLANGCI_VERSION}"
script:
- scripts/lint-text.sh --require-all
- scripts/lint-go.sh
- scripts/test-go.sh

- name: cephcsi
- name: cephcsi with kube 1.13.7
script:
- scripts/skip-doc-change.sh || travis_terminate 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

We can possibly move this line up to the static-check-make section (last line) and hence skip the check in future sections like in line 58 in the new file.

Can be taken care the next time we edit this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes nice idea will update if it works

scripts/travis-functest.sh Show resolved Hide resolved
updated travis to run functional tests
against different kubernetes versions

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
@Madhu-1
Copy link
Collaborator Author

Madhu-1 commented Jun 14, 2019

@humblec can you review this. This will Fix CI issue also

@mergify mergify bot merged commit fb0cbef into ceph:master Jun 14, 2019
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.

3 participants