vegaprotocol/jenkins-shared-library

Create Private Network for capsule

Closed this issue · 1 comments

The intention is to have an environment for the QA team to develop and improve tests.

Create a Jenkins pipeline that:

  1. Will take a set of parameters (can be extended later) configuring capsule network
  2. Will spawn a new Jenkins Worker with public IP and all the ports open
  3. Will start the capsule using a specific template, injecting all the config from the Pipeline parameters
  4. Will sleep for a specific amount of time (e.g. 3 hours), leaving the capsule network up and running
  5. User can stop this pipeline at any time
  6. User can ssh into the machine to run capsule
  7. Pipeline prints useful information about network(paths on the server, IP, (maybe) ports for network)

Extra: Don't stop the Jenkins pipeline (and stop the machine) when the capsule stops. Allow users, to stop/start the capsule etc.

The initial use case: start a network with 10 validators, and allow validator joining&leaving.

no longer needed