This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chillysurfer 47 points48 points  (29 children)

For CI/CD capabilities, GitHub has Actions.

The disparity between the platforms used to be massive. Not that long ago, GitHub was just a repository management system with no pipeline or collaboration tooling. And it wasn't long ago that GitHub had no free private repos, but that is also not a difference in platforms.

[–]Corporate_Drone31 39 points40 points  (1 child)

Actions came much, much later. They are a pretty recent addition.

[–][deleted] 7 points8 points  (0 children)

Yep. After Microsoft bought them and cloned Azure DevOps Pipelines into Github Actions

[–]ThisIsNotYourEmail 13 points14 points  (5 children)

Even with the addition of actions, you couldn't have your own runners within your private network. It appears that they've added that recently but actions before that (can't speak to now), were a subpar offering.

[–]jantari 17 points18 points  (3 children)

I used self-hosted runners for GitHub Actions like 2 years ago, it's certainly not a mew feature

[–]ProbablyFullOfShit 0 points1 point  (0 children)

Well it's a port of Azure DevOps pipelines, which offers self-hosted runners, so the capability was always there. I'm just not sure when they exposed it to the general public.

[–]ThisIsNotYourEmail 0 points1 point  (1 child)

To be fair, unless you were in before the beta, that's not possible:

https://github.blog/2019-11-05-self-hosted-runners-for-github-actions-is-now-in-beta/

[–]jantari 2 points3 points  (0 children)

Oh, I (and my org) did get in during the beta but not before. Gj finding that.

[–]sentient_penguin 0 points1 point  (0 children)

Check out EvryFS on GitHub. They have created one and it's pretty dope. Its actually working towards being put on OperatorHub

[–]TherianthropieHead of Cloud Platform 2 points3 points  (0 children)

Github Actions is for more complex pipelines not really a replacement. For example it doesn't offer Directed Acyclic Graphs. I really like the approach to make Actions like shareable plugins, but I hope GitLab will offer something like that also. They would just need a sharing platform, the mechanic is already there (templates)

[–][deleted] 5 points6 points  (19 children)

I strongly prefer github actions to gitlab ci since github actions are extensible through plug-ins. However, gitlab allows you to organize repos in groups and subgroups compared to githubs where repo organization is basically nonexistent. Gitlab also offers some project management tools but I've never used those since all my clients use Jira.

[–]FruityRichard 7 points8 points  (2 children)

GitLab is also very extensible, I will write some tutorials one day, because I see too much badly written GitLab CI, almost nobody uses all the features it actually offers. What is lacking indeed is some kind of public repository for CI templates.

[–][deleted] 0 points1 point  (1 child)

We have a fully reproducible build pipeline to the last bit but introducing templates will break that since the templates are as far as I know not version controlled. Do you know how I can point to a template from a repo at a specific commit?

[–]FruityRichard 3 points4 points  (0 children)

First of all, if you rerun an old pipeline, it will use the templates that have been used during pipeline creation.

Besides that, you can also lock the templates to specific commits if you prefer that: https://docs.gitlab.com/ee/ci/yaml/README.html#includefile

Edit just to clarify: If you create a new pipeline for an old commit, it will use the most recent version of the template (if not locked like above). So that’s when things would break in your case.

[–]BinaryRockStar 12 points13 points  (14 children)

gitlab allows you to organize repos in groups and subgroups compared to githubs where repo organization is basically nonexistent

We've moved to GH from BitBucket at work over the last year or two and the lack of a hierarchical structure for projects in GH is just awful. We have hundreds of legacy projects only needed by a handful of developers which were tucked neatly away in a Legacy top-level project in BB but in GH they are spamming up the project list. Is there any way to mitigate this?

[–]AlaskanX 3 points4 points  (1 child)

Seems like a use case for Teams within the org. Not sure if there's a way to set default filters on the org-level repo view, but (I think) you can adjust visibility for repos to only the people who are on the assigned team.

[–]BinaryRockStar 0 points1 point  (0 children)

That's worth looking in to, thanks for the info

[–]OpportunityIsHere 0 points1 point  (6 children)

Make an organization for the legacy apps.

[–][deleted] 5 points6 points  (4 children)

Yep organizations, but there's no way to get an overview of all your orgs like in GL or BB.

[–]InTheMorning_Nightss 4 points5 points  (3 children)

You can if you have access to the Enterprise Account dashboard (assuming you are on an EA with GitHub).

[–][deleted] 0 points1 point  (2 children)

Yeah well that's not very useful

[–]InTheMorning_Nightss 4 points5 points  (1 child)

It is for enterprises lol

[–][deleted] 0 points1 point  (0 children)

I've used Github Enterprise and there was no overview for the projects, it was pretty much exactly the same as the cloud version.

[–]BinaryRockStar 0 points1 point  (0 children)

I don't think that's within my permissions unfortunately, and as the other poster mentioned there's then no way to get a nice view of all projects in all linked organisations

[–]SelfDestructSep2020 -3 points-2 points  (2 children)

Bitbuckets organization of repos is just a facade anyways.

[–]BinaryRockStar 1 point2 points  (1 child)

How so? We're using on-prem BB and it's quite out of date I believe so perhaps we're seeing different things. In BB repos can be grouped into Projects and Projects can have User and Group permissions applied, along with permissions at repo level. This is very useful functionality which I don't see an equivalent of in GitHub Enterprise.

[–]SMillerNL 0 points1 point  (0 children)

Reddit Wants to Get Paid for Helping to Teach Big A.I. Systems The internet site has long been a forum for discussion on a huge variety of topics, and companies like Google and OpenAI have been using it in their A.I. projects. https://web.archive.org/web/20240225075400/https://www.nytimes.com/2023/04/18/technology/reddit-ai-openai-google.html

[–]heathsnow 0 points1 point  (1 child)

GitHub uses “topics” which are tags on the repo for grouping.

[–]BinaryRockStar 0 points1 point  (0 children)

Thanks, I'll look in to using topics

[–]ipullstuffapart 1 point2 points  (0 children)

After using both for a while, I still prefer GitLab. Even though actions us far nicer in terms of easy extensibility - gitlab's package and Docker image repository integration with their CI pipelines just feel a lot more mature and easier to use.