typedb / typedb-common

TypeDB Common Libraries and Scripts
GNU Affero General Public License v3.0
7 stars 14 forks source link

Isolate runner environments #145

Closed jamesreprise closed 1 year ago

jamesreprise commented 1 year ago

What is the goal of this PR?

We prevent runners from ever using each others ports or file system state by always assigning random ports for the runners and always generating a new folder (via a random UUID) for the storage.

What are the changes implemented in this PR?

We now find as many unused ports as necessary and create a new folder with a random UUID as a name for each runner (which may contain multiple servers).

typedb-bot commented 1 year ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture