Sandbox for WIP testing in PR-CI + multiple repo support
by Petr Vobornik
Hi all,
what I found quite useful during work, e.g., on Web UI tests or other
test fixing, is to run a Work-In-Progress version of a patch in a
different-than-official freeipa Git Hub repo to trigger a PR-CI run
(with just few test cases instead of the full load) to get quick
results.
E.g.: https://github.com/pvoborni/freeipa/pulls
It allows testing of an early version of patches without spamming
official repo - here I assume that most people would not be interested
in 2-5 updates of the same PR in one day when it is still not ready
for review.
The problem with this solution is that if everybody would like to use
this method then it would require having own runner for everybody. So
with around 10-17 contributors, it's equal to 1/3 of our runners
(atm). Some of the runners would not be used every day/hour so it
seems like a waste of resources.
The idea here is to solve it(utilize all runners more) by supporting
more than one repo by each PR-CI runner. E.g. the runner would watch
freeipa/freeipa and freeipa/freeipa-sandbox repos. Where the sandbox
would be used just for WIP patches. That way mailing list and official
PR queue won't be spammed by the WIP PRs.
Do you think that something like that would be useful for us? Would
you like to have it?
--
Petr Vobornik
6 years
Realm / Domain change
by RM RM
Hello, is there a feature to perform a realm / primary domain change? I looked around but couldn't find anything. Given all the complexity with kerberos and other components that would need to be updated, this feature would be really welcome!
Thanks!
6 years
[freeipa PR#1781][opened] certdb: Move chdir into subprocess call
by tiran
URL: https://github.com/freeipa/freeipa/pull/1781
Author: tiran
Title: #1781: certdb: Move chdir into subprocess call
Action: opened
PR body:
"""
According to a comment, certutil may create files in the current working
directory. Rather than changing the cwd of the current process,
FreeIPA's certutil wrapper now changes cwd for the subprocess only.
See: pagure.io/freeipa/issue/7416
## Remove os.chdir() from test_ipap11helper
test_ipap11helper no longer changes directory for the entire test suite.
The fix revealed a bug in another test suite. test_secrets now uses a
proper temporary directory.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1781/head:pr1781
git checkout pr1781
6 years