Merge lp:~allanlesage/uci-engine/coverage-retriever-juju-deployment into lp:uci-engine

Proposed by Allan LeSage
Status: Merged
Approved by: Allan LeSage
Approved revision: 844
Merged at revision: 847
Proposed branch: lp:~allanlesage/uci-engine/coverage-retriever-juju-deployment
Merge into: lp:uci-engine
Prerequisite: lp:~allanlesage/uci-engine/coverage-retriever
Diff against target: 33 lines (+29/-0)
1 file modified
juju-deployer/coverage-retriever.yaml.tmpl (+29/-0)
To merge this branch: bzr merge lp:~allanlesage/uci-engine/coverage-retriever-juju-deployment
Reviewer Review Type Date Requested Status
Evan (community) Needs Fixing
Francis Ginther Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+237318@code.launchpad.net

Commit message

Juju deployment for coverage retriever.

Description of the change

Initial stab at a coverage-retriever juju deployment, mostly to get some tutorializing on how to do such :) . . . . Francis feel free to pass me along if I need too much instruction.

To post a comment you must log in.
Revision history for this message
Francis Ginther (fginther) wrote :

This should be enough to deploy the coverage retriever. There is additional work to be done to add relations to other parts of the ci-engine deployment, but that can be done later.

This presents a small problem in that we need to be more flexible in how components are deployed. For example, the default behavior of deploy.py is to deploy everything needed for the ci-engine deployment. Does that include the coverage components or the components for some other future add on service? Just something that needs to be addressed. I think we look for ways to solve this problem at the next face to face sprint.

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

Thanks Francis, yes I'll be learning more about deployment as we move forward with our planned lander changes, etc.

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

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

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

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

This looks good. Do you know if this instance really needs mem=4096M or was this just a copy from another file? We're looking at trimming down the size of each instance in a very near MP.

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

FYI, the MP to reduce the branch-source-builders memory size is:
https://code.launchpad.net/~ev/uci-engine/drop-bsb-4g-ram/+merge/238135

It should be landing today. I suspect this needs to match, but you can address in a follow up MP.

842. By Allan LeSage

Remove 4096M mem constraint per fginther's advice.

843. By Allan LeSage

Merge trunk.

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

Francis, removed that mem constraint per your rec. I'll top-approve unless you object!

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

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

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

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

Thanks for the additional update.

review: Approve
Revision history for this message
Evan (ev) wrote :

Small problem. Once that's fixed, consider this a +1

review: Needs Fixing
844. By Allan LeSage

Restore mem constraint at 1024M, remove python-gnupg from charm.

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

Top-approving having adopted ev's recs.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'juju-deployer/coverage-retriever.yaml.tmpl'
2--- juju-deployer/coverage-retriever.yaml.tmpl 1970-01-01 00:00:00 +0000
3+++ juju-deployer/coverage-retriever.yaml.tmpl 2014-10-14 15:41:09 +0000
4@@ -0,0 +1,29 @@
5+ci-airline:
6+ series: precise
7+ services:
8+ ci-airline-coverage-retriever-worker:
9+ charm: rabbitmq-worker
10+ constraints: "mem=1024M"
11+ options:
12+ main: ./run-python ./coverage-retriever/coverageretriever/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"
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 coverageretriever:8080 -I 127.0.0.1 -e '200 OK' --url='/api/v1/'
25+ ci-airline-rabbit:
26+ branch: lp:charms/precise/rabbitmq-server@55
27+ charm: rabbitmq
28+ num_units: 1
29+ options:
30+ management_plugin: true
31+ source: cloud:precise-icehouse
32+ relations:
33+ - [ci-airline-coverage-retriever-worker, ci-airline-rabbit]

Subscribers

People subscribed via source and target branches