adobe / aquarium-fish

Your best secure distributed heterogeneous dynamic compute resource manager for CI
Other
7 stars 3 forks source link

Redesigned the Labels to support multidefinition operation #37

Closed sparshev closed 1 year ago

sparshev commented 1 year ago

The labels now can contain multiple definitions and the right one will be chosen by the lowest number in Available field of the Vote. If Available is -1 than the node can't serve any of the Label definitions. Also Resource contains new fields to easily find which of the label definitions was chosen.

The drivers also got some redesign to store Resources separately to be properly operated outside of the driver. Previously we had to go to the driver definition to figure out what kind of resources it's consuming, but now it's all parsed automatically, only driver specific Options now handled by the driver itself.

Unfortunately this change is breaking and incompatible with the previous versions due to rewrite of the interfaces.

Related Issue

fixes: #29

Motivation and Context

In general sometimes it's necessary to have a backup for the limited resource on another resource provider.

How Has This Been Tested?

Automatically

Types of changes

Checklist: