mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
* 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
15 lines
334 B
Bash
Executable File
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
|