~fginther/uci-engine/add_ready_checkbox

« back to all changes in this revision

Viewing changes to juju-deployer/publisher.yaml.tmpl

Consolidates all uci-e juju services and relations into single files. [r=PS Jenkins bot, Parameswaran Sivatharman, Paul Larson, Ursula Junque, Evan Dandrea]

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ci-airline:
2
 
    series: precise
3
 
    services:
4
 
        ci-airline-publisher-worker:
5
 
            charm: rabbitmq-worker
6
 
            constraints: "mem=1024M"
7
 
            options:
8
 
                main: ./run-python ./publisher/publisher/run_worker.py
9
 
                current_code: ${CI_PAYLOAD_URL}
10
 
                available_code: ${CI_PAYLOAD_URL}
11
 
                packages: "python-swiftclient python-lazr.enum python-kombu"
12
 
                uid: root
13
 
                unit-config: include-base64://configs/unit_config.yaml
14
 
                install_sources: |
15
 
                    - ${CI_PPA}
16
 
                    - "cloud:precise-icehouse"
17
 
                install_keys: |
18
 
                    - null
19
 
                    - null
20
 
                cron_cmd: ./run-python ./publisher/bin/check_worker.py
21
 
                cron_schedule: "*/10 * * * *"
22
 
                nagios_context: ci-airline-staging
23
 
                # The check runs every 10 minutes and has an internal
24
 
                # timeout of 3 minutes, so we set a timeout of
25
 
                #  (10 + 3 + 1) minutes = 840s
26
 
                nagios_check_health_params: -t 840 publisher.health
27
 
        ci-airline-rabbit:
28
 
            branch: lp:~canonical-ci-engineering/charms/precise/uci-engine/rabbitmq-server-trunk-transition
29
 
            charm: rabbitmq
30
 
            constraints: "mem=1024M"
31
 
            num_units: 1
32
 
            options:
33
 
                management_plugin: true
34
 
                source: cloud:precise-icehouse
35
 
    relations:
36
 
        - ["ci-airline-publisher-worker:amqp", "ci-airline-rabbit:amqp"]