-
Notifications
You must be signed in to change notification settings - Fork 989
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
Travis-CI Windows Job Hang #2667
Comments
Related pending task: https://github.com/mimblewimble/grin-pm/blob/master/notes/20190305-meeting-development.md#5-enabling-nightly-builds-and-test-runs-for-windows--macos I will try to enable the daily build for macos firstly. |
To get around this issue to create windows builds, I just remove the API key temporarily, comment out everything but the windows build call, and let it build. Very annoying but there's no indication as to when this Travis CI bug issue will be addressed. I suspect it's because their libs for decrypting keys are linux only and won't run on the windows env. It's kind of important though that we ensure we support windows properly, especially given the number of people looking forward to it and/or excited about it. I haven't investigated, but do you know offhand if it's possible to have a repository monitor for upstream changes, then automatically merge/build and test? I'm thinking it might be better to keep a separate grin-win-build repository for this if we could do something like that. |
@yeastplume In one of my projects (https://github.com/percim/api-explorer/releases) I had the same issue. What I did was to:
Now, my
In theory this is still sub-optimal because now anybody could fetch the release key of the bot account (from the Travis CI logs) and fiddle around with the releases, but at least my original source base is protected from malicious access. And I can still revoke / refresh the release key for the release bot. |
can be done in Travis-CI, but must leak the GITHUB_TOKEN environment variable and then the repo is NOT safe (it's open to anyone who know this token).
Considering the complexity of manually merging, keeping a separate grin-win-build repository could not help much. |
This issue can be closed now. |
There's a known bug in Travis-CI: https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264/10
a Travis CI encrypted environment variable in .travis.yml OR an environment variable in the Travis CI UI that doesn’t have “Display value in build log” checked, will cause a Windows job to hang.
Because we have a
GITHUB_TOKEN
environment variable (definitely can't let itdisplay in the log
), we can't enable the windows Travis-CI at this moment.To see how this
hang
look like: https://travis-ci.org/garyyu/grin/jobs/504540031Better to wait till Travis-CI fix this issue.
The text was updated successfully, but these errors were encountered: