frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you do CI/CD in 2025?

11•labarilem•2d ago
What tools and platforms are you using? How do you manage deploying to different environments? How do you implement artifacts versioning? Also having some context would be interesting, e.g. company and team size.

Comments

NicoJuicy•2d ago
Solo.

1) CI/CD

Gitlab self hosted.

Just plain .gitlab-ci.yml pipeline files & runners running on > 3 pc's (docker and powershell tags)

Basically using dotnet deploy with publishprofiles and environment variables.

3 parts: - Backend ( multitenant) - BackendGateway ( multitenant) - Frontend ( single tenant)

https://imgur.com/a/NW8bD4W

Deployment time: < 5 minutes ( staging and prod, including smoke tests)

2) Logging Axiom. Cloud.

Cheap to use for my project, i can stay on the free plan while I scale up.

chvid•2d ago
Most of the mid to large companies I know of uses pipeline and registry of gitlab or github and deploy to kubernetes.
rumpelstiel•1d ago
For k8s using gitlab, control bare and vms via puppet, (setting up ceph, k8s, pg clusters..)... using argocd for the k8s stuff.
comprev•1d ago
Currently moving multiple teams from Jenkins to GitLab and transferring ownership of their pipelines to the teams themselves.

Vast majority of colleagues have no clue how to build & deploy their own code due to a very traditional siloed organisation (Ops people owned pipelines) - which is proving somewhat challenging!

We provide plenty of well designed pipelines in documentation to _hopefully_ inspire good practices... but time will tell...

So far it's all been Linux/Containers however we do have a handful of iOS and Windows projects to migrate in the pipeline (no pun intended)

shoo•1d ago
here's one way of roughly doing CI & D

> What tools and platforms are you using?

script the automated build process in something that is portable, agnostic of CI platform, and can be run locally on dev machines. E.g. a bunch of shell scripts and a makefile. Then define a minimal CI platform specific pipeline to checkout your repo then run the corresponding portable shell script or makefile recipe that actually does the work to build, test artefacts and push them somewhere.

by structuring things this way there's a fair chance that you can still get a hotfix build out the door if your CI platform is on fire, and also you dont have to rewrite everything each time you need to migrate back and forth between jenkins, github, gitlab, google cloud build, or this year's novelty platform vendor who impressed your leadership team

> How do you manage deploying to different environments?

have an environment config repo storing desired state of per env config in a bunch of sibling folders. have tip of main branch of this env config repo indicate the desired state of all environments. write a shell script to automate deployment that can be run manually from a dev machine

keep this environment config repo separate from the repo(s) which have the responsibility of maintaining and producing the deployable artifacts.

keep secrets in secret managers, out of version control.

if you wish, define a job in your CI platform that wraps this deploy script that can be manually triggered to deploy revision A of thing B to env C.

> How do you implement artifacts versioning?

if you have a CI platform that will maintain state of an incrementing integer build number, version artifacts with that build number

if you dont have that, version artifacts with the short sha hash of the commit

> context

team maintaining a backend service or three in a non tech enterprise megacorp, boring mature industry, for services consumed internally, not directly consumed by external customers

once you've got a rough process that works and you've been operating it for 6 months, it's more about identifying what your actual CI and deployment pain points are are (if any) and if they are worth solving, and seeing if there's something incremental and low risk you can do to improve the current situation given your current constraints. solve the problems you actually have (if any), not the problems you want to have.

replwoacause•1d ago
For my side projects I just use a deploy script that uses ssh and rsync to move data, run migrations, etc to push from my dev environment to whatever production server I pass in as an argument. Nothing fancy but dead simple with easy rollbacks and a few hundred ms downtime.
foobarbaz33•14h ago
Develop live on production (CI/CD).

No source control, there's only 1 version of the software; the latest version (trunk based development).

Ask HN: How to stop an AWS bot sending 2B requests/month?

268•lgats•2d ago•172 comments

Ask HN: Estimation of copyright material used by LLM

3•megamix•5h ago•2 comments

Ask HN: How does one build large front end apps without a framework like React?

104•thepianodan•1d ago•177 comments

Ask HN: What would an ideal matchmaking platform look like today?

7•grandimam•10h ago•8 comments

Why is my chat speaking non-words like um and uh?

4•dataspun•15h ago•3 comments

Ask HN: DOS Based "Multitaskers"

3•alexshendi•15h ago•0 comments

Ask HN: Web app freezes, but not when Chrome is recording. How to debug?

5•febed•2d ago•2 comments

Ask HN: What are you working on? (October 2025)

344•david927•6d ago•1039 comments

Ask HN: Abandoned/dead projects you think died before their time and why?

358•ofalkaed•1w ago•886 comments

Ask HN: Codex is too slow. Is there any solution?

5•rule2025•1d ago•4 comments

Ask HN: How to properly show my skills for startup roles?

8•arabello•2d ago•15 comments

Ask HN: How do you do CI/CD in 2025?

11•labarilem•2d ago•7 comments

I wanted to work on a newsletter but I realized I was building a cage around it

6•yuwahhid•1d ago•7 comments

Ask HN: Best way to create a searchable knowledge base?

20•aljgz•2d ago•23 comments

Ask HN: Claude Code with Multiple Models?

6•iosifnicolae2•2d ago•2 comments

Ask HN: Is it worth it to build projects from scratch or should I just use AI?

5•numcap•1d ago•9 comments

Ask HN: Best way to use Analytics data (from Google Analytics)

2•jamesclar•1d ago•2 comments

Ask HN: What are some of your favorite documentaries?

16•itdude•5d ago•23 comments

Ask HN: Does anyone have scans of these missing PC Plus issues (1991–1993)?

4•billpg•3d ago•2 comments

Sexbots Are Coming to ChatGPT

15•nutanc•4d ago•22 comments

Ask HN: Blogs / Sites / Channels for agentic coding topics

9•d_sc•4d ago•1 comments

Ask HN: What's the best alternative to Dragon NaturallySpeaking?

29•Openai2•1w ago•10 comments

Ask HN: VLMS-Powered Search Engine on macOS?

4•allenleein•2d ago•0 comments

Ask HN: Locally enabled vibe coding environment?

8•p0w3n3d•5d ago•3 comments

Ask HN: Which cross platform desktop GUI to use instead of Electron?

16•tones411•5d ago•14 comments

You've reached the end!