lp:~vila/uci-engine/1-run-worker-no-jenkins

Created by Vincent Ladeuil and last modified
Get this branch:
bzr branch lp:~vila/uci-engine/1-run-worker-no-jenkins
Only Vincent Ladeuil can upload to this branch. If you are Vincent Ladeuil please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Vincent Ladeuil
Project:
Ubuntu CI Engine
Status:
Development

Recent revisions

456. By Vincent Ladeuil

Split eager test and use the most common notation.

455. By Vincent Ladeuil

Simplify setup, split eager test for better isolation (each test can fail for different reasons).

454. By Vincent Ladeuil

HERE is used everywhere else, since this is a static property, public or private doesn't matter.

453. By Vincent Ladeuil

Always use abspath() when dealing with __file__ or bad things happen when the current working dir is changed after the import.

452. By Andy Doan

fix broken import

Actually this module can be deleted now that we are getting rid
of Jenkins. I'll do that as a separate clean-up MP

451. By Andy Doan

lander: run_worker.py to use script rather than jenkins

This converts the run_worker.py script of the lander to use
our own scripts rather than Jenkins. It will run each step
using a new command lander_process_ticket.py and store those
under /var/log/ci-tickets

The publish action had to change how its run as well. The current
working directory its run from may not have write access,
so we stream the output to stdout and a buffer that we
then put into swift

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

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:uci-engine
This branch contains Public information 
Everyone can see this information.

Subscribers