Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Re-enable DEV_MODE to enable access the VMs #1997

@mdelapenya

Description

@mdelapenya

We need to debug a VM on test failures, but we do not have access to them once the build finishes, as it destroys the cloud resources.

In order to debug a VM:

  1. Add the user to a list of valid users (simplest way is a text file including github username)
  2. copy the users file to the ephemeral VM
  3. Grant access to the user to SSH into the machine with https://github.com/dustinkirkland/ssh-import-id, which adds the public SSH key from a Github account
  4. Read DEVELOPER_MODE on Jenkinsfile to not kill the VMs when it's true
  5. Tag cloud VMs with e2e-testing to mark them as candidates to be removed in an automated manner and not increase the cloud bill
  6. Create a reaper pipeline that runs daily/weekly removing cloud VMs tagged as e2e-testing

cc/ @adam-stokes

Metadata

Metadata

Assignees

Labels

Team:AutomationLabel for the Observability productivity teamarea:ciAnything related to the CIimpact:criticalImmediate priority; high value or cost to the product.priority:highProduct teams are waiting on features to make progress on their roadmapsize:M1-5 daystriagedTriaged issues will end up in Backlog column in Robots GH Project

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions