Skip to content
Snippets Groups Projects
Unverified Commit 0f8f55df authored by Thomas Woerner's avatar Thomas Woerner Committed by GitHub
Browse files

Merge pull request #910 from rjeffman/fix_fast_pr_tests

upstream CI: Force retrieval of ansible-freeipa master.
parents d936a379 777f25d9
Branches
Tags
No related merge requests found
...@@ -18,13 +18,11 @@ pushd "${TOPDIR}" >/dev/null 2>&1 || die "Failed to change directory." ...@@ -18,13 +18,11 @@ pushd "${TOPDIR}" >/dev/null 2>&1 || die "Failed to change directory."
files_list=$(mktemp) files_list=$(mktemp)
if [ -z "$BASE_BRANCH" ] remote="$(basename $(mktemp -u remote_XXXXXX))"
then git remote add ${remote} https://github.com/freeipa/ansible-freeipa
git remote add _temp https://github.com/freeipa/ansible-freeipa git fetch --prune --no-tags --quiet ${remote}
git fetch --prune --no-tags --quiet _temp git diff "${remote}/master" --name-only > "${files_list}"
BASE_BRANCH="master" git remote remove ${remote}
fi
git diff "${BASE_BRANCH}" --name-only > "${files_list}"
# Get all modules that should have tests executed # Get all modules that should have tests executed
enabled_modules="$(python utils/get_test_modules.py $(cat "${files_list}"))" enabled_modules="$(python utils/get_test_modules.py $(cat "${files_list}"))"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment