Readit News logoReadit News

Deleted Comment

melezhik commented on Tell HN: A production-ready "Hello World" is now ~600 files    · Posted by u/thesssaism
melezhik · 23 days ago
IMHO, generally speaking it’s not just a JS. The declarative approach has its toll we end up having a lot of configurations files instead of having (one or two) normal imperative script
melezhik commented on Tell HN: A production-ready "Hello World" is now ~600 files    · Posted by u/thesssaism
melezhik · 23 days ago
> Then there’s the DevOps and Quality layer. We have roughly 20-30 files for GitHub Actions workflows (lint, test, build, deploy, semantic release), Husky hooks (pre-commit, commit-msg), and pull request templates.

On that , I have created http://deadsimpleci.sparrowhub.io/doc/README trying to minimize code to just normal Python/bash scripts instead of tons of yaml files …

melezhik commented on Show HN: DSCI – Dead Simple CI   github.com/melezhik/DSCI... · Posted by u/melezhik
dang · a month ago
(I added Show HN to your title because that's the convention for sharing your work on HN - see https://news.ycombinator.com/showhn.html)
melezhik · a month ago
thanks!
melezhik commented on Show HN: DSCI – Dead Simple CI   github.com/melezhik/DSCI... · Posted by u/melezhik
nine_k · a month ago
Links to Forgejo and CI are broken in the README. I wanted to fix them, but I'm not even sure where the [~ci] link should lead.
melezhik · a month ago
All links are fixed now
melezhik commented on Show HN: DSCI – Dead Simple CI   github.com/melezhik/DSCI... · Posted by u/melezhik
melezhik · a month ago
Hi! Dsci tool author here. Thanks for attention .

1. The post is written by me, not generated by AI

2. It’s better to browse documentation from http://deadsimpleci.sparrowhub.io/doc/README that way all links should work , sorry for confusion

3. Adding GH action integration should be easy , added this to my todo list

4. Yes on the top pipeline structure there is a bit of yaml - it’s only required to reference linear list of jobs - jobs themselves are written in general programming languages . Probably in the simplest form I can even drop this first level yaml … will see , but imho I bit of yaml to structure out the list of jobs is ok, it’s not ok to embed into it action code, shell scripts , etc - to have nightmare of code to maintain and extend … the very idea that dsci is about

5. For people curious to play with there is forgejo public instance already set with dsci - http://deadsimpleci.sparrowhub.io/doc/demo

melezhik commented on Ask HN: Dumping GitHub for Forgejo for a free and open source project    · Posted by u/th0th
melezhik · a month ago
On forgejo you can set automatic sync period to 5 minutes or so avoiding manual sync
melezhik commented on Reverse cicd with GitHub and self hosted Forgejo   gist.github.com/melezhik/... · Posted by u/melezhik
melezhik · a month ago
So you have cheap vps and want to borrow some free GitHub cpu cycles to do CPU intensive builds ( say compilation ), your GitHub workflow is pretty simple and then all you need us to add your ssh key as a secret to GitHub account so that to deploy artifacts to your VPS … ?

Ok … maybe you do it wrong or at least you don’t need to add your keys to GitHub and compromise security and here the way - reverse cicd:

https://gist.github.com/melezhik/5f3f482c38ed9ab59626cc19c6b...

PS please let me know what you think

u/melezhik

KarmaCake day99December 29, 2016
About
Slow down with keyboard
View Original