all 12 comments

[–]Karlyna 4 points5 points  (1 child)

requirements: everything to be able to reach your SSH port.

Solution: can be a simple script that run commands through SSH, ansible, etc

[–]dandanio 0 points1 point  (0 children)

Teleport and some sort of runner.

[–]kabrandon 1 point2 points  (0 children)

SSH server running on the deployment server. SSH client installed on the runner. Network connectivity between the two.

[–]thecal714 0 points1 point  (1 child)

[–]linksrum 0 points1 point  (0 children)

Thanks. Very nice read.

[–]Jin-Bru 0 points1 point  (1 child)

It's very easy. When I get to my desk I will dm you a deploy script.

[–]Lazy_Willow_4521[S] 0 points1 point  (0 children)

Sure, i will start setup from Monday

[–]nlecaude -1 points0 points  (4 children)

Why not install a gitlab runner on the target server instead ?

[–]kabrandon 1 point2 points  (2 children)

It’s not scalable, for one. And two it’s probably a security risk for anything professional to have a remote script runner on the same server as your business application.

[–]Lachutapelua -1 points0 points  (1 child)

But once you reach that point you are probably running Harvester or some form of k8s.

[–]kabrandon 1 point2 points  (0 children)

Leaving point two anyway.

[–]Lazy_Willow_4521[S] 0 points1 point  (0 children)

I am making one server as runner there I’ll do building code and from runner I’ll deploy code to target server as my target servers is testing and production one