I'm looking for a tool that I can send some.sh script to perform within a Rancher service triggered by a pipeline action(Via WebHook). Not even Rancher's CLI is succeeding. I tried others I found, but there are limitations. Or maybe I'm the limitation xD
Below would be just an idealization
|> WebHook Run myscrip.sh
#!/bin/sh
run rancherssh -> Git clone something
run rancherssh -> Install that
run rancherssh -> clean all unnecessary things
|> logs
|> Finish
or as a service inside Rancher being run through upgrades containing each, one step.
|> WebHook Run myscrip.sh
#!/bin/sh
rancher up -d -s rancherssh --rancher-file /script1.yml --force-upgrade --confirm-upgrade
rancher up -d -s rancherssh --rancher-file /script2.yml --force-upgrade --confirm-upgrade
rancher up -d -s rancherssh --rancher-file /script3.yml --force-upgrade --confirm-upgrade
|> Kill the Service or let it "Started-Once".
I'm looking for a tool that I can send some.sh script to perform within a Rancher service triggered by a pipeline action(Via WebHook). Not even Rancher's CLI is succeeding. I tried others I found, but there are limitations. Or maybe I'm the limitation xD
Below would be just an idealization
or as a service inside Rancher being run through upgrades containing each, one step.
Cheers