Files
grafana/packages/grafana-toolkit/docker/grafana-plugin-ci-alpine/test/start.sh
T
Stephanie Closson ae95287d1e New alpine based plugin ci image (#23533)
* New alpine based plugin ci image
- smaller, based on alpine (downloads in 7 to 10 seconds)
- Has updated gget that uses tar.gz
  - Unpacks to /opt/grafana
- Compatible cp with toolkit

* needed build tools for go lint

* added built vm to test tool

* add circleci plugin config

* added openssh to image

* fix for gget & renamed to ginstall
2020-04-13 11:53:16 -06:00

15 lines
334 B
Bash
Executable File

#!/bin/bash
function finish {
echo "Exiting and cleaning up docker image"
docker-compose down
}
trap finish EXIT
# Enter the docker container
if [ "$1" = "built" ]; then
docker-compose run cibuilt sh -c "cd /home/circleci; exec sh --login -i"
else
docker-compose run citest sh -c "cd /home/circleci; exec sh --login -i"
fi