You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constGH_MISSING='GitHub CLI not found. Please install it and try again.'
35
35
constVERSION_FILE_MISSING=`Omicron console version file at '${VERSION_FILE}' not found. This script assumes Omicron is cloned in a sibling directory next to Console.`
36
36
37
-
constgetUploadAssetsWorkflowId=()=>
38
-
$`gh run list -L 1 -w 'Upload assets to dl.oxide.computer' --json databaseId --jq '.[0].databaseId'`.text()
39
-
40
37
/**
41
38
* These lines get printed in an Omicron PR, so any references to commits or
await$`gh run list -L 1 -w 'Upload assets to dl.oxide.computer' --json databaseId --jq '.[0].databaseId'`.text()
81
80
console.error(
82
81
`
83
-
Failed to fetch console tarball SHA. Either the current commit has not been pushed to origin/main or the CI job that uploads the assets is still running.
82
+
Failed to fetch console tarball SHA. Either the current commit is not on origin/main or the asset upload job is still running.
83
+
84
+
Status: ${shaResp.status}
85
+
URL: ${shaUrl}
86
+
Body: ${awaitshaResp.text()}
84
87
85
-
Run 'gh run watch ${awaitgetUploadAssetsWorkflowId()}' to watch the latest asset upload action.
88
+
Running 'gh run watch ${workflowId}' to watch the current upload action.
0 commit comments