Re: Github Action for discovering active Fedora Releases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, 15 Apr 2021 at 14:11, Stephen Gallagher <sgallagh@xxxxxxxxxx> wrote:
On Thu, Apr 15, 2021 at 6:58 AM Clement Verna <cverna@xxxxxxxxxxxxxxxxx> wrote:
>
>
>
> On Wed, 14 Apr 2021 at 20:29, Stephen Gallagher <sgallagh@xxxxxxxxxx> wrote:
>>
>> On Wed, Apr 14, 2021 at 1:38 PM Tomasz Torcz <tomek@xxxxxxxxxxxxxx> wrote:
>> >
>> > Dnia Wed, Apr 14, 2021 at 01:12:47PM -0400, Stephen Gallagher napisał(a):
>> > > Since I figured it might be useful to others, I have made it available
>> > > publicly. See the Marketplace link[1] for usage examples.
>> > >
>> > > [1] https://github.com/marketplace/actions/get-fedora-releases
>> >
>> > #v+
>> >   name: Get Fedora Releases
>> >   runs-on: ubuntu-latest
>> > #v-
>> >
>>
>> Yeah, the irony isn't lost on me, but it's the only Linux container
>> host Github currently offers.
>
>
> You can actually run containers directly [0] (might still be running on ubuntu but hey ). I have also been playing with self-hosted runner on Fedora CoreOS[1] a blog post will follow soon :)
>

Yes, but this particular action is basically just a quick
python-requests GET and then some almost-trivial data manipulation.
There's no reason to add the overhead of pulling a container image
when the host has all the necessary pieces.

If you're curious, `uses:
sgallagher/get-fedora-releases-action@v1.0.0` would get you the first
version of it that I wrote. That version did exactly what you suggest
and pulled down a container (specifically, `python:3`) to run in. It
took a little over 30s to process, whereas the version that just runs
on the Ubuntu host takes only 6s.

Right, that makes sense :-)
 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux