News for hackers. Stuff that matters.
Re:Show HN: Test your Gitlab CI Pipelines changes locally us... by obayesshelton on Wednesday February 24, 2021 @06:00AM (#26248715)
Great idea. One question - what pain point is this solving?

As a GitLab, GitLab Pipeline and Docker user I don't find running pipelines that slow to run or initiate

Re:Show HN: Test your Gitlab CI Pipelines changes locally us... by conradludgate on Wednesday February 24, 2021 @06:09AM (#26248760)
Personally with Github Actions, I do find myself pushing 2, 3 or 4 times just getting the pipeline working because I always mess something up, either I've messed up a command or the environment isn't what I expected etc. There's act[0] for github which I should use more often to solve this, but I usually forget

[0]: https://github.com/nektos/act

Re:Show HN: Test your Gitlab CI Pipelines changes locally us... by wdb on Wednesday February 24, 2021 @07:39AM (#26249245)
You continuously need to push your changes to change `.gitlab-ci.yml` and find out if your change is working? E.g. your docker run command. I haven't tried out the tool yet but I hope it will save time and avoid me pushing 100s of commits to sort out my pipeline changes.
Re:Show HN: Test your Gitlab CI Pipelines changes locally us... by powerapple on Thursday February 25, 2021 @01:54AM (#26260419)
From what I understand, you use it as a test for your pipeline scripts. With code we run unittest locally to make sure our commits are okay. When develop ci scripts, many times you only find out things don't work until you push the ci scripts to GitLab, it leaves you with many try and fix commits in history.
Re:Show HN: Test your Gitlab CI Pipelines changes locally us... by carlosf on Wednesday February 24, 2021 @08:17AM (#26249507)
The problem is not necessarily slow init, but some pipelines are just long and complex.

If you have a problem in your deployment script, for example, you might need to wait a long time to test and fix it.

Re:Show HN: Test your Gitlab CI Pipelines changes locally us... by manojlds on Wednesday February 24, 2021 @08:38AM (#26249682)
Why do you say great idea when you didn't even get the pain point it is solving?