Files
grafana/packages/grafana-toolkit/docker/grafana-plugin-ci-e2e/test/start.sh
T
Stephanie Closson 2de79a4d8c Because alpine uses musl instead of libc, the e2e/cypress was not compatible (#23602)
So:
- Created new VM based on debian-slim
- Could also be used as a build VM

Fixes:
- ginstall issue with merge somewhere.
- Trimmed down the alpine VM since we don't need the extra libraries for cypress
2020-04-16 05:38:56 -06:00

15 lines
320 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 /root; exec bash --login -i"
else
docker-compose run citest sh -c "cd /root; exec bash --login -i"
fi