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

Merge pull request #908 from rjeffman/ci_fix_module_comparison

upstream CI: Ensure 'master' branch is available for set_test_modules
parents 5d7afb5f 1eb83548
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,12 @@ pushd "${TOPDIR}" >/dev/null 2>&1 || die "Failed to change directory." ...@@ -18,7 +18,12 @@ pushd "${TOPDIR}" >/dev/null 2>&1 || die "Failed to change directory."
files_list=$(mktemp) files_list=$(mktemp)
BASE_BRANCH=${BASE_BRANCH:-"master"} if [ -z "$BASE_BRANCH" ]
then
git remote add _temp https://github.com/freeipa/ansible-freeipa
git fetch --prune --no-tags --quiet _temp
BASE_BRANCH="master"
fi
git diff "${BASE_BRANCH}" --name-only > "${files_list}" git diff "${BASE_BRANCH}" --name-only > "${files_list}"
# Get all modules that should have tests executed # Get all modules that should have tests executed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment