Mac@programming.dev to Programmer Humor@programming.dev · 1 年前Yesprogramming.devimagemessage-square75fedilinkarrow-up1734
arrow-up1705imageYesprogramming.devMac@programming.dev to Programmer Humor@programming.dev · 1 年前message-square75fedilink
minus-squarefireflash38@lemmy.worldlinkfedilinkEnglisharrow-up70·1 年前What if, get this, we put the bash scripts in yaml. And then put it in kubernetes.
minus-squarePupBiru@kbin.sociallinkfedilinkarrow-up58arrow-down1·1 年前well now you’re just describing ansible
minus-squarenxdefiant@startrek.websitelinkfedilinkarrow-up26·1 年前Have you considered embedding python in those bash scripts? I have done this, and it is glorious.
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up35arrow-down1·1 年前I wrote my webserver in pure bash. bash -c “python -m http.server 8080”
minus-squareMeanEYE@lemmy.worldlinkfedilinkarrow-up7·1 年前Did you know you can zip entire Python project into single file and make it executable? Quite a neat feature. Shove all dependencies, modules and assets in there and voila. Single file python application.
What if, get this, we put the bash scripts in yaml. And then put it in kubernetes.
well now you’re just describing ansible
Very, very bad Ansible.
Have you considered embedding python in those bash scripts? I have done this, and it is glorious.
I wrote my webserver in pure bash.
bash -c “python -m http.server 8080”
Did you know you can zip entire Python project into single file and make it executable? Quite a neat feature. Shove all dependencies, modules and assets in there and voila. Single file python application.
PIGZ is an incredible standard