Merge ~ubuntu-docker-images/ubuntu-docker-images/+git/grafana:use-20.04-snap-track into ~ubuntu-docker-images/ubuntu-docker-images/+git/grafana:7.2-20.04

Proposed by Sergio Durigan Junior
Status: Merged
Merged at revision: ef305fe8cf30af5bfb3a12cb984b8433cf308bce
Proposed branch: ~ubuntu-docker-images/ubuntu-docker-images/+git/grafana:use-20.04-snap-track
Merge into: ~ubuntu-docker-images/ubuntu-docker-images/+git/grafana:7.2-20.04
Diff against target: 12 lines (+1/-1)
1 file modified
Dockerfile (+1/-1)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  Approve
Bryce Harrington Pending
Review via email: mp+399988@code.launchpad.net

Description of the change

Now that we have the 20.04 track for the grafana snap, we should use it to build the OCI image.

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I verified that 20.04/edge is fetchable (it is) and while today edge=beta=candidate=stable that might change. Since this was meant to use edge specifying the base release should be correct.

Also checked the API result.

All LGTM +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/Dockerfile b/Dockerfile
2index 18ef091..17ea8db 100644
3--- a/Dockerfile
4+++ b/Dockerfile
5@@ -13,7 +13,7 @@ RUN apt-get update && \
6
7 # taken from https://snapcraft.io/docs/build-on-docker
8 # Alternatively, we can install snapd, and issue `snap download grafana`
9-RUN curl -L $(curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/grafana?channel=edge' | jq '.download_url' -r) --output grafana.snap
10+RUN curl -L $(curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/grafana?channel=20.04/edge' | jq '.download_url' -r) --output grafana.snap
11
12 RUN mkdir -p /snap && unsquashfs -d /snap/grafana grafana.snap
13

Subscribers

People subscribed via source and target branches

to all changes: