Skip to content

Can you dockerize this project? #7

@MichelDiz

Description

@MichelDiz

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". 

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions