Open MrHinsh opened 4 years ago
Hi @MrHinsh
I'll try to replicate it and investigating what is happening
Could you confirm what node.js and npm version are you running in your agent?
Thank you.
2019-09-19T18:28:04.7568580Z ##[debug] D:\a\r1\a (directory)
2019-09-19T18:28:04.7577174Z ##[debug] D:\a\r1\a\vsts-sync-migration (directory)
2019-09-19T18:28:04.7581509Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop (directory)
2019-09-19T18:28:04.7590503Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\meta-build.json (file)
2019-09-19T18:28:04.7590693Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\meta-chocolatey.json (file)
2019-09-19T18:28:04.7592458Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\meta-extension.json (file)
2019-09-19T18:28:04.7607232Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\meta-gitversion.json (file)
2019-09-19T18:28:04.7607418Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\nkdAgility.vsts-sync-migration-8.0.3.vsix (file)
2019-09-19T18:28:04.7607580Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\vsts-sync-migrator.8.0.3.nupkg (file)
2019-09-19T18:28:04.7607735Z ##[debug] D:\a\r1\a\vsts-sync-migration\drop\VstsSyncMigrator-8.0.3.zip (file)
Can be something related to this 3 directories listed above
Can you try to upload the assets specific in \vsts-sync-migration\drop\**
folder ?
It's the hosted agent. So whatever MS puts on there.
-MrHinsh
Martin Hinshelwood
DevOps & Scrum Consultant, Microsoft MVP: Developer Technologies & DevOps, Scrumorg Professional Scrum Trainer & Evidence-based Change Consultant
naked Agility Ltd. | https://nkdagility.comhttps://nkdagility.com/
+44 7811 164 522 | +52 1 998 894 1898 | WhatsApp
From: Marcelo Formentão notifications@github.com Sent: Thursday, 19 September 2019 21:16 To: marceloavf/github-tools-vsts Cc: Martin Hinshelwood nkdAgility.com; Mention Subject: Re: [marceloavf/github-tools-vsts] Error: EISDIR: illegal operation on a directory, read (#40)
Hi @MrHinshhttps://github.com/MrHinsh
I'll try to replicate it and investigating what is happening
Could you confirm what node.js and npm version are you running in your agent?
Thank you.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/marceloavf/github-tools-vsts/issues/40?email_source=notifications&email_token=ABHW4RY5AXM7CCDVDAOCQ43QKPMY7A5CNFSM4IYPOZF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7EWJXA#issuecomment-533292252, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABHW4R5JBF7X76TVUA6IPDDQKPMY7ANCNFSM4IYPOZFQ.
@MrHinsh
Can you try to change Files to Upload as Assets
input from:
$(System.DefaultWorkingDirectory)\**\*
to:
$(System.DefaultWorkingDirectory)\**\*.json
$(System.DefaultWorkingDirectory)\**\*.vsix
$(System.DefaultWorkingDirectory)\**\*.nupkg
$(System.DefaultWorkingDirectory)\**\*.zip
And tell me if it work out?
That worked! Thanks so much…
From: Marcelo Formentão notifications@github.com Sent: 20 September 2019 03:20 To: marceloavf/github-tools-vsts github-tools-vsts@noreply.github.com Cc: Martin Hinshelwood nkdAgility.com martin@nkdagility.com; Mention mention@noreply.github.com Subject: Re: [marceloavf/github-tools-vsts] Error: EISDIR: illegal operation on a directory, read (#40)
@MrHinshhttps://github.com/MrHinsh
Can you try to change Files to Upload as Assets input from:
$(System.DefaultWorkingDirectory)*\
to:
$(System.DefaultWorkingDirectory)*\.json
$(System.DefaultWorkingDirectory)*\.vsix
$(System.DefaultWorkingDirectory)*\.nupkg
$(System.DefaultWorkingDirectory)*\.zip
And tell me if it work out?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/marceloavf/github-tools-vsts/issues/40?email_source=notifications&email_token=ABHW4R7KV33CHEDOT6PEJG3QKQXMNA5CNFSM4IYPOZF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7FKY7Q#issuecomment-533376126, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABHW4RZ7W2BIAM6IHHD6UKDQKQXMNANCNFSM4IYPOZFQ.
Happy to hear that @MrHinsh, you are welcome!
I'll leave this issue open since it's an error we can prevent on this task side.
Just need to allow only files matches from tl.findMatch
https://github.com/marceloavf/github-tools-vsts/blob/d9dea23b02ff8f97187cd6894eaaae8306f590c7/Src/GithubReleasePublish/githubReleasePublish.js#L61
Im getting a super annoying problem and cant figure it out. Just started happening. I have attached the logs and a screenshot of my config. I get the following error just after the release has been created:
**
**
https://dev.azure.com/nkdagility/migration-tools/_releaseProgress?releaseId=227&_a=release-environment-logs&environmentId=563
tasklog_7.log![image](https://user-images.githubusercontent.com/5205575/65276696-3409ba80-db20-11e9-963e-b4884d13e35d.png)