News for hackers. Stuff that matters.
Re:GitHub is now free for teams by JMTQp8lwXL on Tuesday April 14, 2020 @12:37PM (#22868060)
I'd like to share feedback on GitHub Actions. Tried it out, and the learning curve was too much. I want to use stuff I already know -- e.g., write a Dockerfile, and then GH could run it on PR builds. The "workflow" concept didn't land for me, and I hope you consider a more generalized, open-source approach to running arbitrary scripts in response to PRs being opened, merges to master, etc.
Re:GitHub is now free for teams by jeremy_k on Tuesday April 14, 2020 @01:44PM (#22868980)
They opened sourced the runner[0] if you're interested in learning how it works. Understanding the internals of it may or may not help the syntax and concepts of Actions land though.

My guess is that it is unlikely to see your request for a more generalized script or Dockerfile runner realized because that (Dockerfiles) was the original implementation of Actions during the beta; they pivoted away from that to the current form.

[0] - https://github.com/actions/runner

Re:GitHub is now free for teams by edaemon on Tuesday April 14, 2020 @01:14PM (#22868575)
Have you tried other CI/CD platforms? Different providers use different language but the workflow concept underpins all CI/CD pipelines.
Re:GitHub is now free for teams by JMTQp8lwXL on Tuesday April 14, 2020 @01:52PM (#22869114)
My team stuck with Jenkins, Docker, and custom shell scripts to get the job done.
Re:GitHub is now free for teams by armadsen on Tuesday April 14, 2020 @01:46PM (#22869011)
Counterpoint: I've never used Docker at all (I'm a Mac/iOS dev), and was able to get GitHub actions set up and doing what I needed it to in ~30 minutes. Its general similarity to other CI/CD solutions, TravisCI being the one I'm most familiar with, helped a lot.
Re:GitHub is now free for teams by technics256 on Tuesday April 14, 2020 @04:27PM (#22871038)
As an ios dev too, do you have any favorite actions you can recommend?
Re:GitHub is now free for teams by Ayesh on Tuesday April 14, 2020 @07:58PM (#22872921)
Coming from Travis CI and GitLab CI, GitHub Actions was very intuitive and I had it running in the very first take.

The concept of actions is new, but it is brilliant compared to traditional approach of doing everything inside the CI jobs, or bring your own docker images.

Re:GitHub is now free for teams by tracker1 on Tuesday April 14, 2020 @05:00PM (#22871376)
I don't think it was particularly difficult to use... the multi-os targets are probably about the most confusing.

I tend to stick with bare scripts and npm scripts as much as possible though, so the environment doesn't matter as much.

Re:GitHub is now free for teams by JMTQp8lwXL on Tuesday April 14, 2020 @05:26PM (#22871672)
The YAML configuration is something I have to learn that provides no value-add outside of GitHub. If it was at least based on Docker, you could re-use existing technical knowledge or teach people something that's valuable in other contexts.
Re:GitHub is now free for teams by tracker1 on Tuesday April 14, 2020 @06:07PM (#22872083)
A lot of things use YAML for configuration... what would you prefer for configuration? XML?
Re:GitHub is now free for teams by dserodio on Thursday April 23, 2020 @04:43PM (#22961107)
HCL, which is what GitHub Actions used when it first launched
Re:GitHub is now free for teams by JMTQp8lwXL on Tuesday April 14, 2020 @07:16PM (#22872618)
I want to write a Dockerfile. I don't particularly have an issue with YAML.
Re:GitHub is now free for teams by tracker1 on Tuesday April 14, 2020 @08:06PM (#22872964)
then why not write a dockerfile, and have your yaml, just do the docker build... command?