-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use windows agent by default #3
Conversation
Pasting the error here for posterity: A task is missing. The pipeline references a task called
'1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache'. This usually
indicates the task isn't installed, and you may be able to install it from the Marketplace:
https://marketplace.visualstudio.com. (Task version 1, job 'Windows', step ''.) For the record, (as mentioned in #1) I think installing this artifact caching task thing to the |
I installed the after-mentioned package. Let's see |
I got the same Probably the wrong V8 version/the wrong Node version or wrong Electron version, or something. |
That seems strange. The upstream repo does not have this issue We might have to install some other packages from the marketplace. Might be good to ask the upstream team instead. |
The CI caches successful Explanation/research: I think there's an old This was fixed here: atom/watcher#234 (released in But I can even reproduce this failure on my local machine by running So I'm pretty sure it's an upstream Atom bug. Guess it's time to post an issue there... and if we get impatient we can patch it here. |
In triggers > YAML > the default agent was Ubuntu. I noticed upstream is using Windows, while for us it is shown as Ubuntu. It is a hosted agent:
|
Interesting. Well, checking out the git repo and doing Edit: It got past the |
That's something to consider for later. I guess it is more important to get this working first 😄 |
I found some docs for getting this to run automatically via closer GitHub integration, rather than just manually. I'm not 100% sure but it looks like you may have done part or all of this already. |
I found the main Azure docs, but there's a lot of them: |
This has to be the docs we're looking for: https://docs.microsoft.com/azure/devops/pipelines/repos/github |
I figured out why it works in Windows and not Ubuntu. There are lines like this, with backslashes in some paths: The backslash is treated as an escape character on Ubuntu/macOS, so the
Changing the backslashes to forward-slashes also works, as an alternative to forcing Windows. (^ This is a successful run of the GetReleaseVersion job, on Ubuntu 16.04.) I'd like to post an issue/maybe a PR at upstream about this. |
@DeeDeeG Awesome! One you made the PR we can merge it here. |
Whoops, I just saw your comment. Yeah, trying to get this accepted upstream. Issue: atom#21020 PR: atom#21021 |
To test azure pipeline