Replies: 4 comments
-
Hi @atiterlea, thanks for opening this issue and for your feedback! In terms of more detailed errors, I will confer with the team on how we can improve surfacing this information. In the meantime, can you share the following information please?
|
Beta Was this translation helpful? Give feedback.
-
Hi @simonsanchez, I have the information requested above. gh actions-importer version
docker version
OS/Version:
Command:
|
Beta Was this translation helpful? Give feedback.
-
The tool does support resources hosted on GitHub when using templates. Sample config # Repo: Contoso/LinuxProduct
# File: azure-pipelines.yml
resources:
repositories:
- repository: templates
type: github
name: Contoso/BuildTemplates
jobs:
- template: common.yml@templates # Template reference As for the 404 mentioned
Ensure the access token has the required scopes. From the GitHub docs
We will extend the messaging to be more clear in these cases. |
Beta Was this translation helpful? Give feedback.
-
Hi all, the error messaging has been extended in the latest release. Please update to the latest release by running Were you able to rule out whether an invalid access token was the root cause of the 404? |
Beta Was this translation helpful? Give feedback.
-
Issue
We've run into several errors when attempting to transform our Azure DevOps pipelines into GitHub Actions workflows. Some of these failures are caused by authentication errors, others are caused by as yet unknown errors buried deep within the utility. While the generated log files provide a bit more information as to the source, their content is insufficient to help us troubleshoot further. The CLI output simply reports: "There was an error extracting the Azure DevOps pipeline".
Attempts at Resolution
All we have to go on are the log files being written out by the CLI, but they don't capture everything that went wrong with the migration from ADO, or how to resolve it. For example, the following error tells us that the URL provided is incorrect, but we don't know why it's not able to reach out to a GitHub URL or how to remediate it:
Is this simply a limitation of the importer (i.e. the repo must be defined in ADO) or a misconfiguration on our part? There are other 404 errors that provide even less information:
The above error doesn't give us any actionable information so we're left to fumble in the dark; the resource exists, but the importer can't seem to find it.
Possible Fixes?
Is there any way to get more detailed information on the search paths, or to print out a stack trace of the error cases the importer encounters? Since the importer pulls down and executes a Docker container with the Valet program, can we bubble up those Ruby errors to the CLI or increase the logging level so that we can step through what the program is doing?
Beta Was this translation helpful? Give feedback.
All reactions