mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
* 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>
23 lines
610 B
Bash
Executable File
23 lines
610 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
source ./common.sh
|
|
|
|
#
|
|
# No longer required, but useful to keep just in case we want to deploy
|
|
# changes in toolkit directly to the docker image
|
|
#
|
|
if [ -n "$INCLUDE_TOOLKIT" ]; then
|
|
/bin/rm -rfv install/grafana-toolkit
|
|
mkdir -pv install/grafana-toolkit
|
|
cp -rv ../../bin install/grafana-toolkit
|
|
cp -rv ../../src install/grafana-toolkit
|
|
cp -v ../../package.json install/grafana-toolkit
|
|
cp -v ../../tsconfig.json install/grafana-toolkit
|
|
fi
|
|
|
|
docker build -t ${DOCKER_IMAGE_NAME} .
|
|
docker push $DOCKER_IMAGE_NAME
|
|
|
|
[ -n "$INCLUDE_TOOLKIT" ] && /bin/rm -rfv install/grafana-toolkit
|