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
Someone at upstream was kind enough to put my branches up at upstream and run it themselves. I'll look into if there is a free tier of Azure Pipelines though, so we can set it up here without paying some sort of subscription.
Someone at upstream was kind enough to put my branches up at upstream and run it themselves. I'll look into if there is a free tier of Azure Pipelines though, so we can set it up here without paying some sort of subscription.
Kinda makes sense now that Microsoft owns Github...
There is a free tier, but how do we get the same configuration that upstream is using? Is there a duplicate button or something, or is there a config file we need to use somewhere? I could not find anything in the repository itself.
I'm curious what happens if you add a pipeline from the side nav bar area, and after authenticating to GitHub with OAuth so it can officially link up with/access this repo. (Trying to write out the instructions in my above comment, but that's where I get stuck.)
I'm a bit confused about what this means, but there are "Missing tasks" required to run the CI, and supposedly these are installable via https://marketplace.visualstudio.com/ according to the error message.
# Starter pipeline# Start with a minimal pipeline that you can customize to build and deploy your code.# Add steps that build, run tests, deploy, and more:# https://aka.ms/yamltrigger:
- masterpool:
vmImage: 'ubuntu-latest'steps:
- script: echo Hello, world!displayName: 'Run a one-line script'
- script: | echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yamldisplayName: 'Run a multi-line script'
Now to read the docs and see if I can make one that actually does something. Working toward eventually running the Linux/Windows/macOS tests from upstream Atom.
Now that #46 is merged, and the node/npm install parts of CI aren't in platforms/$(os), we should probably add platforms/templates/preparation.yml and bootstrap.yml to the cache identifier.
This is for the hypothetical case where we have updated Node, NPM, or some environment variables or config relevant to how the bootstrap and build should proceed.
We should disable or delete the CI steps that try to publish artifacts to Amazon S3 buckets, since we don't own an Amazon S3 account, and that step has been erroring out at the very end, making our "Release Branch Build" pipeline always look red.
Other than that, CI is functionally working (tests passing) so that is great, thank you!
If possible/if it's okay with you, I'd like to revert #3 (or explicitly set to use Linux) for the GetReleaseVersion and Release CI jobs, and use forward-slashes for cross-platform/Linux compatibility: DeeDeeG@fbc3742
Status: Will make a PR once I'm done with the stuff from my comment directly above this one.
Also, just a heads up that there are some more hard-coded URLs pointing to github.com/atom/atom in various parts of the repo, and semi-relatedly, if we fall behind with which tags are on our atom-nightly-releases repo vs upstream's atom-nightly-relleases repo, it can cause the Windows build to fail on building differential/"update from previous version" partial .nupkg files.
I do think if we fix the hard-coded URLs like we did in #70, then this build failure scenario should also go away when using non-hard-coded URLs pointing to our own repos.
Activity
DeeDeeG commentedon Jul 3, 2020
Checking in, that all sounds good. 👍
aminya commentedon Jul 3, 2020
@DeeDeeG Could you set up the CI? I saw you had Azure Pipelines running on your personal account. How did you do this?
DeeDeeG commentedon Jul 3, 2020
Someone at upstream was kind enough to put my branches up at upstream and run it themselves. I'll look into if there is a free tier of Azure Pipelines though, so we can set it up here without paying some sort of subscription.
Edit: This looks like the place to do it. "Start free with GitHub" https://azure.microsoft.com/en-us/services/devops/pipelines/
Kinda makes sense now that Microsoft owns Github...
aminya commentedon Jul 3, 2020
There is a free tier, but how do we get the same configuration that upstream is using? Is there a duplicate button or something, or is there a config file we need to use somewhere? I could not find anything in the repository itself.
DeeDeeG commentedon Jul 3, 2020
Ah yeah, the config is in a pretty obscure place. I only found it because it mentions Python, and I did some PRs about being ready for Python3.
https://github.com/atom/atom/tree/master/script/vsts
(VSTS is short for Visual Studio Team System, which got renamed to Azure Devops Server... according to Wikipedia.)According to upstream's nice
README.mdfor the CI, VSTS = Visual Studio Team Services, which dot renamed to Azure DevOps.DeeDeeG commentedon Jul 3, 2020
Particularly here: https://github.com/atom/atom/tree/master/script/vsts/platforms
DeeDeeG commentedon Jul 3, 2020
Editing this as I go to be as complete as I can manage:
atom-ide-community:atomatomrepositoryscript/vsts/*.ymlaminya commentedon Jul 3, 2020
I have created the repository: https://dev.azure.com/atomcommunity/atomcommunity
I am now trying to see how I can set up build using the files in VSTs 🤔
DeeDeeG commentedon Jul 3, 2020
I'm curious what happens if you add a pipeline from the side nav bar area, and after authenticating to GitHub with OAuth so it can officially link up with/access this repo. (Trying to write out the instructions in my above comment, but that's where I get stuck.)
DeeDeeG commentedon Jul 3, 2020
I'm trying it on my own personal fork now to see how far I can get and update my instructions/steps above.
aminya commentedon Jul 3, 2020
I added pull requests and release builds for now: https://dev.azure.com/atomcommunity/atomcommunity/_build.
We might have to edit the release configuration once we wanted to release things with the new name.
DeeDeeG commentedon Jul 3, 2020
I'm a bit confused about what this means, but there are "Missing tasks" required to run the CI, and supposedly these are installable via https://marketplace.visualstudio.com/ according to the error message.
DeeDeeG commentedon Jul 3, 2020
Hmm, maybe we need to get some VMs running? In the Pipelines sidebar there is a subsection "Environments", which is empty by default.Disregard, I'll update if I figure something new out.
DeeDeeG commentedon Jul 3, 2020
I created the "starter pipeline" with no errors.
Full starter pipeline yaml (click to expand)
I can't tell if it's stalled waiting on an Azure Pipelines worker/VM, or because there are no actual steps in the script, so it never finishes... https://dev.azure.com/DeeDeeG/b/_build/results?buildId=3&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9
Now to read the docs and see if I can make one that actually does something. Working toward eventually running the Linux/Windows/macOS tests from upstream Atom.
66 remaining items
DeeDeeG commentedon Jul 20, 2020
Now that #46 is merged, and the node/npm install parts of CI aren't in
platforms/$(os), we should probably addplatforms/templates/preparation.ymlandbootstrap.ymlto the cache identifier.This is for the hypothetical case where we have updated Node, NPM, or some environment variables or config relevant to how the bootstrap and build should proceed.
DeeDeeG commentedon Jul 20, 2020
CI isn't passing on
master. Hmm. Not sure why.aminya commentedon Jul 25, 2020
This is fixed in #63
DeeDeeG commentedon Jul 25, 2020
Glad that CI is working.
We should disable or delete the CI steps that try to publish artifacts to Amazon S3 buckets, since we don't own an Amazon S3 account, and that step has been erroring out at the very end, making our "Release Branch Build" pipeline always look red.
Other than that, CI is functionally working (tests passing) so that is great, thank you!
Edit: This is a PR now: #66
DeeDeeG commentedon Jul 25, 2020
Doing
npm installis slower on Windows, due to NTFS's poor performance writing lots of small files versus EXT4.Interesting discussion here:
https://github.com/rust-lang/rustup/issues/1540If possible/if it's okay with you, I'd like to revert #3 (or explicitly set to use Linux) for the
GetReleaseVersionandReleaseCI jobs, and use forward-slashes for cross-platform/Linux compatibility: DeeDeeG@fbc3742Status: Will make a PR once I'm done with the stuff from my comment directly above this one.
aminya commentedon Jul 25, 2020
That sounds like a PR. We will not revert things on master anymore. It is OK if you want to do it in your PR.
Merge pull request #1 from atom/master
DeeDeeG commentedon Aug 13, 2020
Linux Build in CI has been failing by exiting out after the two package formats are apparently successfully built.
I also had a similar experience outside of CI on my personal machine, where the
dpkg-debcommand building the .deb package errors out.I think this is flakiness, not a hard "100% of the time" issue, but it's still weird.
DeeDeeG commentedon Aug 13, 2020
Also, just a heads up that there are some more hard-coded URLs pointing to
github.com/atom/atomin various parts of the repo, and semi-relatedly, if we fall behind with which tags are on ouratom-nightly-releasesrepo vs upstream'satom-nightly-relleasesrepo, it can cause the Windows build to fail on building differential/"update from previous version" partial .nupkg files.I do think if we fix the hard-coded URLs like we did in #70, then this build failure scenario should also go away when using non-hard-coded URLs pointing to our own repos.
aminya commentedon Aug 17, 2020
I will close this as this is mostly done.