Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Apply license key inside container
-
I'm testing out running ProGet via a container based on Docker Installation Guide - Inedo Documentation. I'm using the image
proget.inedo.com/productimages/inedo/proget:25
.How do I programmatically apply the license key to the ProGet instance inside the container?
Usually we use Inedo Hub for this but that doesn't seem to be included inside the container image.
-
Hi @jlarionov_2030 ,
As of ProGet 2023 (or maybe earlier?), license keys are no longer requested / entered at installation time, but in the software itself now. This only matters on new instances.
You can use
pgutil settings
to set a license key if you'd like.Thanks,
Steve
-
@stevedennis Trying to use
pgutil settings list
with a fresh ProGet container gives me the following error:[vagrant@localhost ~]$ pgutil settings list '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
Here's my pgutil config:
[vagrant@localhost ~]$ cat ~/pgutil/pgutil.config { "sources": [ { "name": "Default", "url": "http://localhost:8624" } ] }
However once I enter the license key via the web UI, the
pgutil settings list
command successfully lists all the instance settings.
-
Hi @jlarionov_2030,
I haven't tested or tried it, but I can't help but wonder the API is responding with some kind of "license required" error, and blocking the seting.
I suppose we could investigate and try to resolve the error, but automated setup with a license key isn't so common of a requirement.... if tis is not really something you will do that often, perhaps it's not worth the effort.
Let us know your thoughts.
Thanks,
Steve
-
@stevedennis We run a lot of automated tests against ephemeral instances of ProGet in CI environments, so we need a programmatic way to apply a license key.
-
Hi @jlarionov_2030 , easy change! We will not require a valid license for Settings API Endpoint going forward; PG-3133 will ship in next maintenance release, scheduled for Friday.