-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
JHipster Online: Continuous Integration feature fails #241
Comments
@amchavan : Thanks much for reporting this problem. I have seen this error in our logs but couldn't figure out where it is coming from; now I know. We'll look into this and hopefully have a fix soon. 😄 |
This upgrades to the process creation to ProcessBuilder and also upgrades the github-api Related to jhipster#241
Part of the problem is that there seems to be a problem with the output stream closing during generation of the ci-cd configuration files which seems to give the error. I've corrected this in #242. However it seems there's another problem specific to creating the |
This upgrades to the process creation to ProcessBuilder and also upgrades the github-api Related to #241
Okay I found the final part of this puzzle. It seems the bot's oauth token is missing the @jdubois @PierreBesson : I don't have access to the jhispter-bot. Could one of you please make sure the both has the |
I have created such a token but can you confirm that I need to put it inside the "JHIPSTER_BOT_OAUTH_TOKEN" secret variable? I'm having some doubts |
Indeed, it seems that we authenticate using the user's oauth token, not the JHipster Bot OAuth token (which doesn't seem to be used anywhere!!) |
As far as I remember, we don't use the bot for |
Indeed, it seems that this is not used anymore, I'm also going to fix that. I need some time to check as it's a bit complex, but I should do 2 PRs fixing those |
This adds the workflow token to user token along with refactoring code to remove the bot token which is no longer used. Related to jhipster#241
@jdubois : You are right; sorry for my mistake. I was seeing a very small log implying the missing EDIT: Also in the above PR I've went ahead to clean up the old code relevant to the bot token. |
@amchavan : We've fixed this issue. Please give it a try and let us know if you see any further issues. You should refresh your GitHub token as mentioned at https://start.jhipster.tech/ci-cd under the |
It does work now, thank you!! |
Great. You are welcome. 😄 |
I'm trying JHipster Online for the first time, so maybe I'm doing something wrong, but anyway.
I created a project, all is well, see https://github.com/amchavan/jhipster-demo. Next I tried to add Continuous Integration features to it, went to that Web page, selected my project and GitHub Actions and clicked on the Yes, add Continuous Integration button. The popup window shows:
I tried several times over two days, choosing different options, but the outcome is always the same. The error message is not very informative, can somebody please tell me what to do?
The text was updated successfully, but these errors were encountered: