-
Notifications
You must be signed in to change notification settings - Fork 90
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
Fix Travis #178
Fix Travis #178
Conversation
I see the pattern now.... it's the Node 10 + Postgres Native builds that are failing. Seems to be caused by somewhat outdated Travis machine versions using an odd OpenSSL version as described here, here and here where I think it would be best to mimic the PR in the second link. Mental notes:
|
Thanks loads for tackling this @bravo-kernel! |
By the way, it would be great to also run Travis on Node v12, but when I tried that it failed for all dialects. I'm not asking you to do that! But once you have Node v10 working, maybe worthwhile seeing if it runs successfully on Node v12 too. |
Not tackled by far yet but let's see where we end up. This has been brought up in the other repo where I found the workaround as well but would you consider moving this to Azure Pipelines? I have moved one of my repos to it about a month ago and must say that I am very impressed. Far more up-to-date and the various stages could come in handy. Stage 1 would be building the Artifact (sequelize-hierarchy), then re-use that artifact in all following stages using a similar build matrix. Would visually look something like this: |
Azure Pipelines does look nice, and it'd be good to run tests on Windows too which Travis doesn't offer. However, I'm using Travis as CI for all my projects, so would prefer to keep consistent. Aside from the issue with this specific repo, I've had no trouble with Travis at all and know how it works, so switching to something else would involve a learning curve which I don't think I have time for at the moment. Sorry to be negative, just being realistic about what I can handle at the moment. |
Totally understandable not moving to Azure. Also, now that I've looked more closely at the issue I think it is a shame Travis does not seem to support artifacts out-of-the box (like Azure does) because I think this is where all (current and possibly future) problems are coming from:
In other words, if we could separate the build from the test-matrix we end up in the best possible situation. Do you agree? |
Travis has documented examples of stages using artifacts on AWS S3 Storage, might be interesting: |
@overlookmotel Looks like we are very close to a winner 💃. I've updated my initial comment with the noticeable changes. The key was in changing the order; the databases have to be created before running the node >=10 ps1: the last set of failing builds seem unrelated and caused by PPA, looks like they are updating their repo but unsure. |
If you could re-trigger this build it would be nice, looks like PPA is back in business |
I've restarted the build. Let's see what happens... |
I say Travis is dodgy as ****. Those two failed builds differ from the previous fails and look like they just halted. Could you do one more re-trigger? |
Yes, it is annoying that Travis flunks from time to time. I feel like it's happening more often over past few months. I restarted the build (restarted all the sub-builds for all dialects and versions, not just the ones which failed last time). Let's see if it passes this time... |
@bravo-kernel All passed! Amazing job. I'll look through your changes and get this merged in next few days. |
You're welcome, hopefully this will make judging future PRs a bit more easy for you. If you ignore the changes I made to the order/sorting you will see not much has changed.
|
@overlookmotel any chance we can get this merged so we can start updating dependencies etc? |
@overlookmotel alive? |
- "8" | ||
- "10" | ||
- "12" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
14 too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say both 14 and 15.
@bravo-kernel I'm sorry I have treated you abysmally. You did a lot of work, and I've never got around to merging this PR. Situation is that I no longer use this package myself, and my day job has got more and more demanding over past couple of years, so I have found myself very starved of time. It's been hard to prioritize this repo, as is doesn't feed into my own projects any more. I have finally bowed to the inevitable and am seeking a new maintainer (#234). I imagine your own interests may have moved on elsewhere too by now, so I doubt you're interested, but just wanted to at least apologise for wasting your time. |
No need to apologize mr. @overlookmotel, you have explained yourself in the past. Why not simply archive the repo? If people need it, they will either create a new fork or request ownership. I personally put this image on top of the readme for my archived repos (before archiving). |
This will be done step-by-step, all commits will be rebased when done.
Noticeable changes:
build.sh
script for node >=10 (as it requires a specific OpenSSL version)