aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Niedbalski <jorge.niedbalski@linaro.org>2018-05-30 11:13:07 -0400
committerJorge Niedbalski <jorge.niedbalski@linaro.org>2018-05-30 11:13:07 -0400
commit0a3b80cd256d23853b3421a52c2d485b91a2ad63 (patch)
treef0d16be4f45b95e1af058b5758bd0ac03ee8e697
parenta3c99b3315cd8ccc4e0523fcc5c180e622872f08 (diff)
Add aarch64 support for cadvisor.
Use an unofficial repository for cadvisor aarch64, while we work with stream to make aarch64 part of their release process. [0] [0] https://github.com/google/cadvisor/pull/1947 Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
-rw-r--r--README1
-rw-r--r--linaro-override.j24
2 files changed, 5 insertions, 0 deletions
diff --git a/README b/README
index 705bca0..ea9a92a 100644
--- a/README
+++ b/README
@@ -5,6 +5,7 @@ Summary of changes:
- nova-compute gets PCIe ports configuration option https://review.openstack.org/changes/545034/
- horizon-theme-linaro is a new image with Linaro Developer Cloud theme
+- adds cadvisor for arm64 https://review.openstack.org/#/c/570468/
How to build:
diff --git a/linaro-override.j2 b/linaro-override.j2
index 15613de..f168969 100644
--- a/linaro-override.j2
+++ b/linaro-override.j2
@@ -16,3 +16,7 @@ git clone --depth 1 https://git.linaro.org/leg/sdi/horizon-theme.git devcloud;\
rm -rf devcloud/.git
{% endblock %}
+
+{% block prometheus_cadvisor_install %}
+RUN curl -ssL -o /opt/cadvisor https://github.com/niedbalski/cadvisor/releases/download/v${prometheus_cadvisor_version}-{{base_arch}}/cadvisor.{{base_arch}} && chmod 0755 /opt/cadvisor
+{% endblock %}