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
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
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
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
@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
@diazona interesting, will check it out.
=> More informations about this toot | More toots from sumanthvepa@mastodon.social
@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
@debauer Didn't know about taskfile. Will check it out. Thanks!
=> More informations about this toot | More toots from sumanthvepa@mastodon.social
@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
@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 This content has been proxied by September (3851b).Proxy Information
text/gemini