News for hackers. Stuff that matters.
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by e_proxus on Tuesday September 21, 2021 @03:23AM (#28602779)
I really wish the runner agent was written in something more portable than .NET. That choice feels like something purely political because they’re owned by Microsoft. I doubt and independent organization would have chosen it before other excellent choices such as Go, Rust etc.

Currently hosting the runner on e.g. FreeBSD or custom embedded systems is not supported (or even possible).

Re:GitHub Actions: Ephemeral self-hosted runners and new web... by sascha_sl on Tuesday September 21, 2021 @03:36AM (#28602839)
It's not because they're owned by Microsoft, at least not in the way you think.

It's because GitHub Actions is rebranded Azure Pipelines.

That a team at GitHub has been given a pile of Microsoft authored code is honestly much more concerning. They don't seem to understand it in its entirety either.

Re:GitHub Actions: Ephemeral self-hosted runners and new web... by easton on Tuesday September 21, 2021 @08:20AM (#28604291)
I didn't want to believe it, but then I did a search through their repo:

```

  else if (value.Contains("Microsoft.Azure.DevOps"))
                {
                    m_typeName = value.Replace("Microsoft.Azure.DevOps", "GitHub");
                   m_typeName = m_typeName.Substring(0, m_typeName.IndexOf(",")) + ", Sdk";

                }
```
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by jsmith45 on Tuesday September 21, 2021 @11:29AM (#28606008)
You can also compare the source code structure to the Azure Devops Pipeline agent's to tell pretty easily that the github runner is a fork what has been edited to process the somewhat different format of the actions YAML.

https://github.com/microsoft/azure-pipelines-agent/

Re:GitHub Actions: Ephemeral self-hosted runners and new web... by runeks on Tuesday September 21, 2021 @09:05AM (#28604652)
Which repo?
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by pestaa on Tuesday September 21, 2021 @09:08AM (#28604672)
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by CardiBFanatic23 on Tuesday September 21, 2021 @01:53PM (#28607685)
Most of the people who worked on Azure Pipelines got transferred to GitHub to work on Actions. You can even see the same names of developers contributing code to both the GitHub runner and the Azure DevOps agent.
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by xvilka on Tuesday September 21, 2021 @12:49PM (#28606944)
Then it's probably faster and easier to rewrite it in Go from scratch.
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by jbergstroem on Tuesday September 21, 2021 @08:17AM (#28604268)
There is an ongoing project built on top of act (the "local" github runner) that accomplishes this: https://github.com/ChristopherHX/github-act-runner
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by IshKebab on Tuesday September 21, 2021 @10:25AM (#28605290)
It runs on Windows, Linux and Mac surely? How much more portable do you need?
Re:GitHub Actions: Ephemeral self-hosted runners and new web... by jclulow on Tuesday September 21, 2021 @12:46PM (#28606925)
There are other operating systems and CPU architectures. It's a boon for open source projects to be able to have CI on all the BSDs, and illumos, and Plan 9, and even weirder things.