draios / instruqt-assets

3 stars 3 forks source link

[dev-account-provisioner] integrate with lab setup #96

Closed pabloopez closed 1 year ago

pabloopez commented 1 year ago

Ticket -> https://sysdig.atlassian.net/browse/ET-32

Problem statement:

Hands-on labs on Instruqt require to our students to have access to a Sysdig account to take the training. Most of them have access to one, but some don’t, or don’t want to use a trial or can’t use the production account of their company to complete training and learn more about the product.

Suggested approach

An alternative approach is to have a training account in which temporary users are created. These users will meet the next requirements:

pabloopez commented 1 year ago

this is ready for review. It has been tested and meets the initial criteria:

The current state reuses the logic for tests, but we should merge both approaches into one (setup for track being tested, setup for track for which a sysdig saas account is provisioned).

pabloopez commented 1 year ago

It can be tested live here: https://play.instruqt.com/sysdig/tracks/tmp-dev-account-provisioner

And track source files are here: https://github.com/draios/instruqt/pull/517

pabloopez commented 1 year ago

Merging, this is working fine with the new lab.

pabloopez commented 1 year ago

Let's not delete the branch, as some of the new tracks are still poining to dev-account-provisioner