Fix failing end to end tests job for release (#18323)

Create and push the expected tag to grafana-dev repository
and use this instead for running the end to end tests
for the release.
This commit is contained in:
Sofia Papagiannaki
2019-08-01 16:52:00 +03:00
committed by Leonard Gram
parent 69b7b8bb46
commit c9f7e3059f
3 changed files with 9 additions and 1 deletions

View File

@@ -67,6 +67,8 @@ fi
# Tag as 'latest' for official release; otherwise tag as grafana/grafana:master
if echo "$_grafana_tag" | grep -q "^v"; then
docker_tag_all "${_docker_repo}" "latest"
# Create the expected tag for running the end to end tests successfully
docker tag "${_docker_repo}:${_grafana_version}" "grafana/grafana-dev:${_grafana_tag}"
else
docker_tag_all "${_docker_repo}" "master"
docker tag "${_docker_repo}:${_grafana_version}" "grafana/grafana-dev:${_grafana_version}"