Ancestors

Written by sumanthvepa on 2025-01-24 at 09:31

1/2 Now that've I've #docker -ized my application, infrastructure. I need a small tool that will easily deploy my applications to local dev environments, the test server running on rack in the office, and to the cloud.

I took a brief look at #terraform #ansible, #kubernetes, and #docker #swarm

But each of these seems overly heavyweight for my use case.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Toot

Written by sumanthvepa on 2025-01-24 at 09:34

2/3 So, I've decided to just clean up my deployment scripts, re-write them in #python instead of #bash, and call it a day.

I'm looking for a command like:

deploy --environment=local my application

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Descendants

Written by sumanthvepa on 2025-01-24 at 09:36

3/4 The command should just figure out everything, including GitHub repository where the code for the app is located, the branch that is relevant to the specified environment. It should build the docker images needed for deployment, create the db instances that are needed for the environment, deploy the application and start it the correct way.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Written by sumanthvepa on 2025-01-24 at 09:38

4/4 So over the weekend, as I get some time off from the main tasks of the week, I thought, I'll try and build something.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Written by David Zaslavsky on 2025-01-24 at 09:46

@sumanthvepa For everything you want to do, I'm pretty sure you'll have to do a lot of custom coding regardless of how you do it, but you could check out #pyinfra which is like a more lightweight version of Ansible. Or I should say, it's a lighter-weight tool that tries to do the same thing Ansible does (basically, scripting but optimized for configuring systems). I don't know if it will actually make your job easier, I'm just suggesting it's worth a quick look to see.

=> More informations about this toot | More toots from diazona@techhub.social

Written by sumanthvepa on 2025-01-24 at 09:56

@diazona interesting, will check it out.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Written by debauer on 2025-01-24 at 09:54

@sumanthvepa have a look at taskfile. Together with bash and python it's a combination i use a lot.

=> More informations about this toot | More toots from debauer@troet.cafe

Written by sumanthvepa on 2025-01-24 at 10:00

@debauer Didn't know about taskfile. Will check it out. Thanks!

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Written by debauer on 2025-01-24 at 10:09

@sumanthvepa i think ansible would be also a good solution. You can use it like taskfile on steroids because most of the common tasks and all the remote stuff is build in. Different approach but i think also lightweight usable.

=> More informations about this toot | More toots from debauer@troet.cafe

Written by sumanthvepa on 2025-01-24 at 10:30

@debauer I know, I'll have to implement #ansible eventually, but I'm just trying to delay that day. There's learning curve, for me as well as the devs who will live with my work.

I'm also looking at #salt, since it seems more #python friendly, and my team is more comfortable with python.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113882645221557844
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
277.528427 milliseconds
Gemini-to-HTML Time
1.738656 milliseconds

This content has been proxied by September (3851b).