github.com/thanos-io/thanos@v0.32.5/.gitpod.yml (about)

     1  tasks:
     2    - init: >
     3        test -f go.mod && go get -v ./...;
     4        wget https://github.com/prometheus/prometheus/releases/download/v2.22.2/prometheus-2.22.2.linux-amd64.tar.gz --directory-prefix=/tmp;
     5        cd /tmp && tar xvfz prometheus-*.tar.gz && rm prometheus-*.tar.gz;
     6        mv prometheus-*/prometheus /workspace/go/bin/;
     7        wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && chmod u+x ./wait-for-it.sh && cd /workspace/thanos/scripts && mv /tmp/wait-for-it.sh .;
     8        ./quickstart.sh;
     9        for i in {0..2};do ./wait-for-it.sh -q localhost:909"$i" --  && echo "Prometheus instance no.$((i+1)) localhost:909$i is up"; done;
    10        ./wait-for-it.sh localhost:10914 --  && echo "Thanos frontend at localhost:10914 is up";
    11  ports:
    12    - port: 10914
    13      onOpen: open-preview