~prometheus-registration-developers/prometheus-registration/+git/layer-promreg-client:master

Last commit made on 2019-10-15
Get this branch:
git clone -b master https://git.launchpad.net/~prometheus-registration-developers/prometheus-registration/+git/layer-promreg-client
Members of Prometheus Registration Developers can upload to this branch. Log in for directions.

Branch merges

Recent commits

f45584f... by Stuart Bishop

Use wheelhouse for Python dependencies

Python dependencies should be embedded in the wheelhouse in
preference to apt packages, so that charms using the default
charms.reactive venv setup can find them.

Reviewed-on: https://code.launchpad.net/~stub/prometheus-registration/+git/layer-promreg-client/+merge/374069
Reviewed-by: Tom Haddon <email address hidden>

7822993... by Stuart Bishop

Use wheelhouse for Python dependencies

Python dependencies should be embedded in the wheelhouse in
preference to apt packages, so that charms using the default
charms.reactive venv setup can find them.

36c51a6... by Haw Loeung

layer:apt unused, so let's remove it here to avoid being pulled in in other places

Reviewed-on: https://code.launchpad.net/~hloeung/prometheus-registration/+git/layer-promreg-client/+merge/370463
Reviewed-by: Stuart Bishop <email address hidden>

8a9e288... by Haw Loeung

layer:apt unused, so let's remove it here to avoid being pulled in in other places

49e99e6... by Junien F

fix checking of return code when de-registering

Reviewed-on: https://code.launchpad.net/~axino/prometheus-registration/+git/layer-promreg-client/+merge/343808
Reviewed-by: Tom Haddon <email address hidden>

04ed5ea... by Junien F

fix checking of return code when de-registering

prometheus typically returns 202 'accepted' and not 200 'ok'

0f9f74b... by Tim Kuhlman

[cjwatson, r=timkuhlman] Strip trailing newlines from promreg_authtoken

It's convenient to include the key from a secrets directory using
juju-deployer's `include-file:` syntax, but that tends to leave any
trailing newline from the secret file in the configuration, which breaks
with an "Invalid header value" exception in `http.client`. Stripping
the newline here is a bit friendlier.

937732c... by Colin Watson

Strip trailing newlines from promreg_authtoken

It's convenient to include the key from a secrets directory using
juju-deployer's `include-file:` syntax, but that tends to leave any
trailing newline from the secret file in the configuration, which breaks
with an "Invalid header value" exception in `http.client`. Stripping
the newline here is a bit friendlier.

4c91c19... by Tim Kuhlman

Support pulling the model name rather than environment for Juju2

617da5f... by Tim Kuhlman

Remove the requirement for python-netifaces