Always rebase on master before running a job (#4616)

This commit is contained in:
Maxime Guyot
2019-04-24 10:38:01 +02:00
committed by Kubernetes Prow Robot
parent fc072300ea
commit 38a3075025
4 changed files with 11 additions and 0 deletions

7
tests/scripts/rebase.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -euxo pipefail
# Rebase on master to get latest changes
git config user.email "ci@kubespray.io"
git config user.name "CI"
git pull --rebase origin master