Skip to content

Latest commit

 

History

History
executable file
·
40 lines (34 loc) · 2.6 KB

README.md

File metadata and controls

executable file
·
40 lines (34 loc) · 2.6 KB

portianer-compose

  1. add new yml file to stack
  2. delete stack from swarmpit
  3. create a new stack from portainer using github repo

Actions:

  1. add yml file to .github/workflows folder
  2. get all webhooks from portainer and add them as variable
  3. run jobs based on the commit text
  4. based on if statment; run job to post the webhook of the requested stack.

Workflow to add new stack:

all these actions should be done using source control of this repo from code.vnerd.nl which has the right github ssh key to pull the yml files and trigger github actions

  1. create a new yml file
  2. create a new stack in portainer and activate the webhook function
  3. add the webhook as environment variable to the action file in the repository
  4. commit the stack name to redeploy

Useful links:

to be considerd