Merge lp:~allanlesage/uci-engine/coverage-extractor-plus-nfss-juju-deployment into lp:uci-engine

Proposed by Allan LeSage
Status: Approved
Approved by: Allan LeSage
Approved revision: 863
Proposed branch: lp:~allanlesage/uci-engine/coverage-extractor-plus-nfss-juju-deployment
Merge into: lp:uci-engine
Prerequisite: lp:~allanlesage/uci-engine/coverage-extractor
Diff against target: 35 lines (+31/-0)
1 file modified
juju-deployer/coverage-extractor.yaml.tmpl (+31/-0)
To merge this branch: bzr merge lp:~allanlesage/uci-engine/coverage-extractor-plus-nfss-juju-deployment
Reviewer Review Type Date Requested Status
Francis Ginther Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+238902@code.launchpad.net

Commit message

Deploy coverage-extractor against NFSS.

Description of the change

Initial stab at juju deployment of coverage-extractor, linking to NFSS.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:859
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1619/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1619/rebuild

review: Approve (continuous-integration)
860. By Allan LeSage

Remove NFSS deployment; we're not using juju relations to communicat with.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:860
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1622/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1622/rebuild

review: Approve (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

Comments inline.

review: Needs Fixing
861. By Allan LeSage

Coverage-extraction deployment details amend for fginther's comments.

Revision history for this message
Allan LeSage (allanlesage) wrote :

Updated, thanks!

Revision history for this message
Francis Ginther (fginther) wrote :

The indentation is off and needs to be fixed. While that's going on, I can do a test upgrade of my current deployment.

review: Needs Fixing
862. By Allan LeSage

Correct tabination.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:862
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1630/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1630/rebuild

review: Approve (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

As discussed face to face, I think we should change the deployment name in this file from 'ci-airline' to 'ci-engine-coverage' (or something similar). This change will remove this component from the default set deployed with the other engine components and give us the opportunity to land this changes and continue to iterate toward the right solution for the nfss_insert problem.

review: Needs Fixing
863. By Allan LeSage

Adjusting deployment name to ci-engine-coverage per fginther's advice.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:863
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1634/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/1634/rebuild

review: Approve (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

This solves the immediate problem we saw earlier of not being able to deploy the other ci-engine components. And this allows us to land the deployer file so that it is visible to others and we can consider it in any future deployment changes. The deployment still needs work, but it is not going to block any other work.

review: Approve
Revision history for this message
Allan LeSage (allanlesage) wrote :

Top-approved given a visual across-the-table thumbs-up from Francis.

Unmerged revisions

863. By Allan LeSage

Adjusting deployment name to ci-engine-coverage per fginther's advice.

862. By Allan LeSage

Correct tabination.

861. By Allan LeSage

Coverage-extraction deployment details amend for fginther's comments.

860. By Allan LeSage

Remove NFSS deployment; we're not using juju relations to communicat with.

859. By Allan LeSage

Add requests-oauthlib, add quotation marks to coverage-extractor deployment.

858. By Allan LeSage

Initial stab at a juju deployment of coverage-extractor with NFSS.

857. By Allan LeSage

Merge trunk.

856. By Allan LeSage

Extract line and branch coverage from a coverage.xml artifact in swift, post to NFSS.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'juju-deployer/coverage-extractor.yaml.tmpl'
2--- juju-deployer/coverage-extractor.yaml.tmpl 1970-01-01 00:00:00 +0000
3+++ juju-deployer/coverage-extractor.yaml.tmpl 2014-10-24 13:06:51 +0000
4@@ -0,0 +1,31 @@
5+ci-engine-coverage:
6+ services:
7+ ci-airline-coverage-extractor-worker:
8+ series: trusty
9+ charm: rabbitmq-worker
10+ constraints: "mem=1024M"
11+ options:
12+ main: ./run-python ./coverage-extractor/coverageextractor/run_worker.py
13+ current_code: ${CI_PAYLOAD_URL}
14+ available_code: ${CI_PAYLOAD_URL}
15+ unit-config: include-base64://configs/unit_config.yaml
16+ packages: "python-swiftclient python-requests-oauthlib"
17+ install_sources: |
18+ - ${CI_PPA}
19+ - "cloud:precise-icehouse"
20+ install_keys: |
21+ - null
22+ - null
23+ nagios_context: ci-airline-staging
24+ nagios_check_http_params: -H coverageextractor:8080 -I 127.0.0.1 -e '200 OK' --url='/api/v1/'
25+ ci-airline-rabbit:
26+ series: precise
27+ branch: lp:~canonical-ci-engineering/charms/precise/uci-engine/rabbitmq-server-trunk-transition
28+ charm: rabbitmq
29+ constraints: "mem=1024M"
30+ num_units: 1
31+ options:
32+ management_plugin: true
33+ source: cloud:precise-icehouse
34+ relations:
35+ - ["ci-airline-coverage-extractor-worker", "ci-airline-rabbit"]

Subscribers

People subscribed via source and target branches