crc-org/ci-definitions

Create a full sample based on containers execution (i.e. script using mapt for provisioning and create from there)

Opened this issue · 0 comments

The idea for this issue is to create a bash script which contains the steps involved to create a custom bundle.

For this basically we will provide a way to provision a machine which would be suited for run snc, then as we already have a snc-runner (which is a helper to run snc remotely) we can add that sample for the execution and finally the command to decommission the machine.

The outcome for the issue should be:

  • Understanding on the different upstream mechanisms we use to create bundles
  • A script which can be used by any client/user which is interested in replicated the model to create bundles
  • It may create new issues on the components used (i.e currently snc-runner uploads bundles to a s3 bucket, may we want to make that logic optional, to avoid extra setup for clients/users on the cloud provider, in this case the script may just connect to the machine and scp the bundles??)
  • Current snc-runner README is pending to be completed, a following issue for this one and based on the knowledge got from here would be complete the README there.

Some extra information, in our case we use https://github.com/redhat-developer/mapt/blob/main/docs/aws/rhel.md as a provisioning tool for the RHEL, it contains a specific profile SNC which setup the RHEL to support running snc.