-
Notifications
You must be signed in to change notification settings - Fork 556
add version check to ci #211
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
add version check to ci #211
Conversation
2d04f3b
to
95c18f6
Compare
@drubin it looks like this didn't work? Because there's version skew but Travis passed... |
It's detecting the version skew and emitting the log message, but not failing the build. Should we be using |
It... it couldn't be some sort of horrible operator precedence issue could it? Like when it sees You wouldn't do that to us, would you JavaScript? Would you? |
NARRATOR VOICE: It would
|
A colleague pointed out that |
Sorry, I should have included a better comment, It was something I quickly tried over the weekend. (the failure code worked locally) but for some reason on Travis, it didn't work. But I will update it a bit later and see. (I will also force a failure so we can check it works) Sorry for any spam. |
It might be better to just put this in a script and run the script though, then we can have sane comments and run it in other places. |
@drubin do we need to do anything more here or is this ready to merge? |
@brendanburns It wasn't actually failing CI :/ I need to look into it a bit more when I have some time over the weekend, something about how travis handles these error codes and the node not returning them correctly If you want we can close this and reopen when it's working? |
/assign @brendanburns This seems to work Failing job (i manually made the version not match) https://travis-ci.org/kubernetes-client/javascript/jobs/503636171 |
@drubin: GitHub didn't allow me to assign the following users: brendanburns. Note that only kubernetes-client members and repo collaborators can be assigned and that issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @brendandburns Oops |
Nice! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns, drubin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Adds a version check to CI this is so we always ensure the package-lock matches the package version before merging. (its happened a few times)