lp://qastaging/~doanac/uci-engine/setup-helpers-boost
- Get this branch:
- bzr branch lp://qastaging/~doanac/uci-engine/setup-helpers-boost
Branch merges
- Vincent Ladeuil (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 24 lines (+4/-1)1 file modifiedci-utils/ci_utils/setup_helper.py (+4/-1)
Branch information
Recent revisions
- 452. By Andy Doan
-
setup_helpers: big performance boost for setup.py develop
When using our CI_DEPS_BRANCH, our setup_helpers.py logic was doing a
bzr-pull operation for every dependency we install. This is a big repo
and the pull is slow. This changes just has us to the pull one time
per invocation of setup.py.In my quick unscientific testing. I'm seeing lander go from >90 seconds
to <25 seconds. I saw about a 50% improvement installing ci-utils, but
it compiles stuff for our bzr dep, so thats probably our worst-case
metric. - 451. By Vincent Ladeuil
-
[r=Joe Talbott, PS Jenkins bot] Refactor data_store to use the swiftclient.
client. Connection object and retry on errors 1312037 from Vincent Ladeuil - 450. By Andy Doan
-
[r=PS Jenkins bot, Francis Ginther, Vincent Ladeuil] lander: use common logging setup
We have 2 scripts needing the same logging setup and will soon
have a 3rd. This gets the lander using a common mechanism. from Andy Doan - 449. By Vincent Ladeuil
-
[r=Evan Dandrea, PS Jenkins bot] Integration tests and deploy.py require a bootstrapped juju. tests/run.py bootstraps juju. run-tests skip or run integration tests depending on juju being bootstrapped or not. from Vincent Ladeuil
- 448. By Andy Doan
-
[r=Francis Ginther, Vincent Ladeuil, PS Jenkins bot] lander: use a single results file with the service-wrapper
The service-wrapper takes an input and output file and the
jenkins job does the work of combining these. This updates
the wrapper to produce the unified file. from Andy Doan - 447. By Joe Talbott
-
[r=Francis Ginther, PS Jenkins bot] stats - Add txstatsd support and a reference usage to bsbuilder.
* Requires python-txstatsd (which is available in our Phase0 ppa)
- if not installed the class and its methods become NOPs.* Requires stats_config.py in the root directory of the branch
- contents should be 'TXSTATSD_
ADDRESS= "<IP>"'
- this isn't hooked into a relation change hook yet.EXAMPLE
from ci_utils import stats
metric = stats.Metric(
"source_ package_ upload_ success" , prefix="bsbuilder")
# start timekeeping
metric. start() # successfully upload a package
# stop timekeeping
metric. stop() # publish results to txstatsd, optionally with a new metric name and prefix
metric. publish( ) from Joe Talbott - 446. By Vincent Ladeuil
-
[r=Paul Larson, PS Jenkins bot] Move test-image-store under ci_utils/tests with the other ci-utils tests from Vincent Ladeuil
- 445. By Vincent Ladeuil
-
[r=Francis Ginther, PS Jenkins bot] Reduce 'run-tests --list' runtime from 23s to 1s. from Vincent Ladeuil
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/uci-engine