127 karma · joined Aug 10, 2022 (4y ago) · 38 submissions
1.
WA state DOR guidance on removal of the penny(dor.wa.gov ↗)
3 points · by dosisod · 8mo ago · discuss
2.
Show HN: Reportobello – Typst-Based PDF Generator API(github.com ↗)
6 points · by dosisod · 1y ago · discuss
comment 3y ago · link · parent
To your last point, I have experience with using CD in production, but not to the scale where I have builds stepping over each other and causing issues. I agree that serial builds are important in this case, and is something that I will need to look into (conceptually it sounds pretty simple).
comment 3y ago · link · parent
Where Cicada shines though is that it makes higher level concepts like conditional execution and caching front end center, so you can describe more with less lines. The DSL itself isn't very mature at the moment, but I plan on adding stuff like allow/deny capabilities and more in the future.
comment 3y ago · link · parent
Like you said, there are lots of intricate details you need to get right, and each CI/CD provider has a different ethos about how CI should be done. What I'm trying to do with Cicada is create one workflow format that gives you the power of GitHub Actions with their numerous event triggers, but make it work for other providers like Gitlab. Having one format that works with many providers is better than converting multiple formats back and forth, IMO.
comment 3y ago · link · parent
comment 3y ago · link · parent
0: Secrets are stored using Vault. Read this commit message [1] for a full breakdown.
1: Currently you cannot include other .ci files. I have been in feature creep mode for months now, and I've been forcing myself to stop adding features and start talking to users. The goal is to make Cicada more or less a general purpose programming language, but the first step is making it work well for defining CI/CD workflows.
2: If it is necessary, I could back-port the self-hosted runners to Python 3.10/3.9 or earlier. And, since the runner interface just uses websockets, I (or someone else) could make a runner in a different language, ie Rust or Go.
3: There is a "event" global variable that includes info like "event.branch", which is the branch that was pushed, but it does not include stuff like the default branch. Currently you could do `on git.push where event.branch is "main"`, but something like "event.branch is event.default_branch" would be even better. I'll work on adding that.
The value add currently is that Cicada is FOSS, platform agnostic (works with GitHub/Gitlab), and uses a language that consolidates the workflows and scripts into one manageable file format. Existing CI systems are already packed with features that people expect, so the current struggle is catching up to this and then adding more on top of that. I'm trying to focus on what sets Cicada apart: That it gives you more control over your workflows, while being expressive and easier to manage then YAML and shell scripts.
[1]: https://github.com/Cicada-Software/cicada/commit/2659f79b500...
10.
Show HN: Cicada: A FOSS, Self-Hosted Alternative to GitHub Actions and Gitlab CI(cicada.sh ↗)
11 points · by dosisod · 3y ago · 2 comments
11.
Show HN: Cal9000 – A Vim enabled version of cal(1)(github.com ↗)
3 points · by dosisod · 3y ago · discuss
comment 3y ago · link · parent
It's good to know that you can use includes with Gitlab, And, from my quick glance at that second link, the setup process seems a bit involved. I don't like having to set up new user accounts just so that I can run a CI workflow locally.
comment 3y ago · link · parent
I hadn't thought to use TOML for configuring CI pipelines, I'm curious what that might look like. TOML is indeed very flat, so it would be interesting to see what the equivalent TOML pipeline looks like compared to a YAML one.
15.
Ask HN: How can we make the current CI/CD ecosystem better?
10 points · by dosisod · 3y ago · 21 comments
comment 4y ago · link · parent
[0]: https://youtu.be/ASRqxDGutpA?t=470 [1]: https://github.com/dosisod/refurb/blob/master/refurb/checks/...
comment 4y ago · link · parent
comment 4y ago · link · parent
I agree that going and updating your company's codebase would probably be a bad idea, considering that there are some kinks here and there. Refurb tries its best, but it is very early on in its development, so errors that are emitted should be taken as suggestions, not gospel.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Perhaps I should add a flag to allow verbatim (or close to it) errors. Recreating the source lines exactly will be pretty hard, but I think we can do better here.
comment 4y ago · link · parent
Thanks for mentioning that project!
comment 4y ago · link · parent