Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple licensing products #283

Open
ejnarvala opened this issue Aug 7, 2024 · 0 comments
Open

Support multiple licensing products #283

ejnarvala opened this issue Aug 7, 2024 · 0 comments

Comments

@ejnarvala
Copy link

Context

The unity licensing server supports registering multiple products which effectively means you can multiple pools of licenses on a licensing server - https://docs.unity.com/licensing/en-us/manual/ServerSetup-test#Support_for_multiple_product_licenses. By default, the server only serves licenses from a single pool (product). Unity clients need to specify that they want to request licenses from multiple pools by setting the toolset param in their services-config.json file with values being a comma separated list of product ids:
Docs including toolset param - https://docs.unity.com/licensing/en-us/manual/ClientConfig

The server serves one product license at a time to clients. You can supply a comma-separated string, in order of preferred licenses. To view all available product identifiers, go to the Server Administration Status Page and view the list under licenseEntitlementGroupId. The server processes each license in the order you specify. If a license isn't available, the server goes to the next license in the list. If you don't specify a toolset value, the server serves the default toolset.

Suggested solution

We can add a parameter to the action to specify this value and update the services-config.json.template that is used already to request floating licenses to set this value to the toolset param.

Additional details

I've already forked this repo and implemented my proposed solution and we are currently using this in our existing workflows. PRs:

This is a duplicate issue for the unity-builder - game-ci/unity-builder#662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant