@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.
J
Posts made by jlarionov_2030
-
RE: Apply license key inside container
-
RE: Apply license key inside container
@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. -
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.