mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: Add Google Cloud SDK to plugin CI Docker images (#27444)
* grafana-plugin-ci-alpine: Upgrading Go,golangci-lint, adding gcloud Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * grafana-plugin-ci: Upgrading Go,golangci-lint, adding gcloud Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * grafana-plugin-ci-alpine: Minor cleanup Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Don't specify depth when cloning Mage Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * grafana-plugin-ci-e2e: Upgrading Go, golangci-lint Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * ci-deploy: Upgrading gcloud Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Update packages/grafana-toolkit/docker/grafana-plugin-ci-alpine/README.md Co-authored-by: Will Browne <wbrowne@users.noreply.github.com> * grafana-plugin-ci-alpine: Install Python Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
@@ -10,9 +10,14 @@ FROM circleci/python:2.7-stretch-node
|
||||
|
||||
USER root
|
||||
|
||||
ARG GOOGLE_SDK_VERSION=308.0.0
|
||||
ARG GOOGLE_SDK_CHECKSUM=9e8e31d9503340fc912374311ac1fffbfc5b59748d20b681f9aca3de2b68deb5
|
||||
|
||||
RUN pip install -U awscli crcmod && \
|
||||
curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-222.0.0-linux-x86_64.tar.gz | \
|
||||
tar xvzf - -C /opt && \
|
||||
curl -fLO https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GOOGLE_SDK_VERSION}-linux-x86_64.tar.gz && \
|
||||
echo "${GOOGLE_SDK_CHECKSUM} google-cloud-sdk-${GOOGLE_SDK_VERSION}-linux-x86_64.tar.gz" | sha256sum --check --status && \
|
||||
tar xzf google-cloud-sdk-${GOOGLE_SDK_VERSION}-linux-x86_64.tar.gz -C /opt && \
|
||||
rm google-cloud-sdk-${GOOGLE_SDK_VERSION}-linux-x86_64.tar.gz && \
|
||||
apt update && \
|
||||
apt install -y createrepo expect && \
|
||||
apt-get autoremove -y && \
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -eo pipefail
|
||||
|
||||
_version="1.2.5"
|
||||
_version="1.2.6"
|
||||
_tag="grafana/grafana-ci-deploy:${_version}"
|
||||
|
||||
docker build -t $_tag .
|
||||
|
||||
Reference in New Issue
Block a user