c12s-kubespray/tests/scripts/rebase.sh
Florian Ruynat 31094b1768
Add new Kubernetes version hashes and set default to 1.17.6 (#6183)
* Add new Kubernetes version hashes and set default to 1.17.6

* Do not rebase against master when commiting a release branch
2020-05-25 02:43:11 -07:00

10 lines
239 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
# Rebase PRs on release-2.13 to get latest changes
if [[ $CI_COMMIT_REF_NAME == pr-* ]]; then
git config user.email "ci@kubespray.io"
git config user.name "CI"
git pull --rebase origin release-2.13
fi