Description
When running the PUSH through CI the error looks like the following:
projectId is not provided. ##[debug]{"message":"command terminated with non-zero exit code: error executing command [sh -e /__w/_temp/7c648030-ea4c-11ef-ab63-e1df2522e795.sh], exit code 1","details":{"causes":[{"reason":"ExitCode","message":"1"}]}} ##[debug]execPodStep failed: "command terminated with non-zero exit code: error executing command [sh -e /__w/_temp/7c648030-ea4c-11ef-ab63-e1df2522e795.sh], exit code 1" Error: Error: failed to run script step: command terminated with non-zero exit code: error executing command [sh -e /__w/_temp/7c648030-ea4c-11ef-ab63-e1df2522e795.sh], exit code 1 Error: Process completed with exit code 1. Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
In reality when digging through the script and calling the CURL command our git sync got disconnected and the actual error was much clearer:
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer cli_key.01a6f9ca-f9a2-4f99-afd4-eec7b1f6ed24.NoPqPmA4xoR3Yp5QreSunt0LvKmsKmIdy8tckhk3" \ -d "{ \"branchName\": \"main\", \"author\": \"Eugene\", \"runId\": \"132\", \"hash\": \"3e303a8311288778148354ff42860cef4c678d17\" }" \ https://zeus.useparagon.com/graphite/projects/commit {"message":"Your organization have not configured any git repository branch for project.","code":"35006","status":404,"meta":{"repositoryId":"6e1bdbeb-9fca-4988-b54a-f518e6afc618"}}%
In reality I think what happened is I was trying to push via CI from a different branch than the one specified in GitSync. I think this is something that should be possible, but I'm guessing it's not. In iether case, better errors would be helpful.
Activity