Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
0f8f55df
Unverified
Commit
0f8f55df
authored
2 years ago
by
Thomas Woerner
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #910 from rjeffman/fix_fast_pr_tests
upstream CI: Force retrieval of ansible-freeipa master.
parents
d936a379
777f25d9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/set_test_modules
+5
-7
5 additions, 7 deletions
utils/set_test_modules
with
5 additions
and
7 deletions
utils/set_test_modules
+
5
−
7
View file @
0f8f55df
...
...
@@ -18,13 +18,11 @@ pushd "${TOPDIR}" >/dev/null 2>&1 || die "Failed to change directory."
files_list
=
$(
mktemp
)
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
}
"
remote
=
"
$(
basename
$(
mktemp
-u
remote_XXXXXX
))
"
git remote add
${
remote
}
https://github.com/freeipa/ansible-freeipa
git fetch
--prune
--no-tags
--quiet
${
remote
}
git diff
"
${
remote
}
/master"
--name-only
>
"
${
files_list
}
"
git remote remove
${
remote
}
# Get all modules that should have tests executed
enabled_modules
=
"
$(
python utils/get_test_modules.py
$(
cat
"
${
files_list
}
"
))
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment