snowdrop / snowdrop-automation-client

snowdrop-automation-client
Apache License 2.0
1 stars 1 forks source link

Create Launcher PR command does not work #62

Closed gytis closed 4 years ago

gytis commented 4 years ago

Command fails with the following log messages:

2020-06-04T10:19:43.543Z [m:42040:f3fb62b3-a16d-491b-a4e4-874e68aa982b:snowdrop:CreateLauncherPR:009] [info ] Invoking command handler 'CreateLauncherPR'
2020-06-04T10:19:43.545Z [m:42040:f3fb62b3-a16d-491b-a4e4-874e68aa982b:snowdrop:CreateLauncherPR:011] [debug] Attempting to create a Pull Request to the launcher catalog with the latest booster releases
2020-06-04T10:19:44.291Z [m:42040:f3fb62b3-a16d-491b-a4e4-874e68aa982b:snowdrop:CreateLauncherPR:757] [info ] Branch 'master' does not exists
2020-06-04T10:19:44.310Z [m:42040:f3fb62b3-a16d-491b-a4e4-874e68aa982b:snowdrop:CreateLauncherPR:776] [error] Unable to sync repo: 'launcher-booster-catalog'
2020-06-04T10:19:44.310Z [m:42040:f3fb62b3-a16d-491b-a4e4-874e68aa982b:snowdrop:CreateLauncherPR:777] [error] Error is:
 HttpError: Empty value for parameter 'sha': undefined
gytis commented 4 years ago

Octokit cannot access fabric8-launcher/launcher-booster-catalog repo with our token as it used to. It is still able to access snowdrop/launcher-booster-catalog. As a workaround, it can read the repo without using the token to get the commits but a pull request cannot be created.

gytis commented 4 years ago

PR: https://github.com/snowdrop/snowdrop-automation-client/pull/63