News for hackers. Stuff that matters.
Re:GitHub Actions was having an outage by the_duke on Wednesday June 01, 2022 @06:25AM (#31579989)
Friendly reminder of the day:

Always have an established and regularly tested workflow for manual deployments that doesn't rely on CI jobs. You'll need it sooner or later.

Re:GitHub Actions was having an outage by pid-1 on Wednesday June 01, 2022 @06:37AM (#31580051)
That's why my CI pipelines never rely on proprietary stuff.

I use multistage Dockerfiles + Buildkit to implement secrets caching, etc... My CI scripts just do "docker build" and "docker publish".

It makes doing things locally much easier.

Re:GitHub Actions was having an outage by imdsm on Wednesday June 01, 2022 @07:00AM (#31580196)
I've always resisted the change to GHA, preferring instead tried and tested Jenkins and docker workflows. Sure, multi-agent GHA is nice, but when it's down, what do you do? We don't even work in offices to have swordfights in anymore.
Re:GitHub Actions was having an outage by zinekeller on Wednesday June 01, 2022 @07:36AM (#31580457)
I agree here, looking now it seems that I would need three pairs of hands to count how many times Actions have gone down every year. It feels like Actions itself is not ready for production use.

Also nice XKCD reference (https://xkcd.com/303/)!

Re:GitHub Actions was having an outage by mrweasel on Wednesday June 01, 2022 @07:21AM (#31580329)
I wasn't aware that there's a "docker publish" command. Is that an add-on or how does that work?
Re:GitHub Actions was having an outage by mads on Wednesday June 01, 2022 @08:12AM (#31580686)
Could he mean "docker push"? I never heard of any publish command.
Re:GitHub Actions was having an outage by pid-1 on Wednesday June 01, 2022 @05:29PM (#31588393)
I meant docker push :(
Re:GitHub Actions was having an outage by rozenmd on Wednesday June 01, 2022 @06:40AM (#31580066)
Your CI should be the automation of an existing, manual process for this reason.

Should the automation fail, your manual process still works.

Re:GitHub Actions was having an outage by madjam002 on Wednesday June 01, 2022 @06:47AM (#31580110)
Anyone recommend any tools that can do CD pipelines on the CLI, maybe something a bit nicer than Makefiles?
Re:GitHub Actions was having an outage by neolithicum on Wednesday June 01, 2022 @07:00AM (#31580191)
There's also taskfile. https://taskfile.dev/
Re:GitHub Actions was having an outage by jordemort on Wednesday June 01, 2022 @07:47AM (#31580527)
I’m liking Earthly a lot: https://earthly.dev/
Re:GitHub Actions was having an outage by AbhyudayaSharma on Wednesday June 01, 2022 @06:56AM (#31580165)
Jenkinsfile Runner is exactly that!

https://github.com/jenkinsci/jenkinsfile-runner/

Re:GitHub Actions was having an outage by the_duke on Wednesday June 01, 2022 @08:13AM (#31580708)
Re:GitHub Actions was having an outage by major505 on Wednesday June 01, 2022 @06:59AM (#31580187)
Or a shell script. Always have a backup shell script.
Re:GitHub Actions was having an outage by mrweasel on Wednesday June 01, 2022 @07:28AM (#31580390)
I feel like most of my build or deployment pipelines always end up as just a bash script executed by the CI/CD tool anyway.
Re:GitHub Actions was having an outage by major505 on Thursday June 02, 2022 @07:26AM (#31593605)
Yeah. I the end is the only thing Jenkins do for me.
Re:GitHub Actions was having an outage by roomey on Wednesday June 01, 2022 @07:16AM (#31580300)
Problem is who will maintain and test it. Without DR (disaster recovery) test days its worth nothing cause something will have been changed and not propagated
Re:GitHub Actions was having an outage by plonk on Wednesday June 01, 2022 @10:23AM (#31582193)
Use the script in your regular CI/CD pipeline. Just add arguments for things that vary between GitHub runners and local machines, like secrets and paths.
Re:GitHub Actions was having an outage by yakak on Wednesday June 01, 2022 @10:56AM (#31582717)
It's certainly a risk to be relying on any proprietary SaaS or Cloud but I don't really get the reason to be doing CI/CD as if it can never be down. There are a lot of risks in having credentials on hot spare alternative systems you rarely need and the number of times I've really had to rollback a deployment quickly is something I can count on one hand. Isn't it better to focus on quality to not need to deploy on a moment's notice?
Re:GitHub Actions was having an outage by plonk on Wednesday June 01, 2022 @01:26PM (#31585158)
You can keep the credentials in a password manager. Presumably the sysadmin already uses the same corporate PM for his regular credentials, so this doesn't increase risk much.

We're a small org but I'd be pretty annoyed if we planned a deployment on a day and ended up having to wait for GitHub to go back up. Deployments can be disruptive and we have to coordinate with other teams.

Re:GitHub Actions was having an outage by yellow_lead on Wednesday June 01, 2022 @06:46AM (#31580099)
SCP, SSH, and cp to the rescue