~pwlars/uci-engine/kill-the-waaaabbit

« back to all changes in this revision

Viewing changes to juju-deployer/gatekeeper.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-gatekeeper-restish:
5
 
            expose: False
6
 
            charm: wsgi-app
7
 
            constraints: "mem=1024M"
8
 
            options:
9
 
                current_code: ${CI_PAYLOAD_URL}
10
 
                available_code: ${CI_PAYLOAD_URL}
11
 
                python_path: ./gatekeeper:./ci-utils
12
 
                packages: "python-swiftclient python-tz python-dput python-gnupg"
13
 
                unit-config: include-base64://configs/unit_config.yaml
14
 
                json_status_path: api/v1/status
15
 
                install_sources: |
16
 
                    - ${CI_PPA}
17
 
                install_keys: |
18
 
                    - null
19
 
                nagios_check_http_params: -H gatekeeper -I 127.0.0.1 -e '
20
 
                    200 OK' --url='/api/v1/' -p 8080
21
 
                nagios_check_health_params: -t 120 gatekeeper.health
22
 
                nagios_context: ci-airline-staging
23
 
                cron_cmd: ./run-python ./gatekeeper/bin/check_gatekeeper.py
24
 
                cron_schedule: "* * * * *"
25
 
                # Using the service owner user as cron_user.
26
 
        ci-airline-gatekeeper-gunicorn:
27
 
            charm: gunicorn
28
 
            branch: lp:charms/gunicorn@30
29
 
            options:
30
 
                wsgi_wsgi_file: gatekeeper.wsgi:app
31
 
                wsgi_log_level: DEBUG
32
 
                wsgi_timeout: 60
33
 
    relations:
34
 
        - ["ci-airline-gatekeeper-restish:wsgi", "ci-airline-gatekeeper-gunicorn:wsgi-file"]