~joetalbott/uci-engine/user_auth

« back to all changes in this revision

Viewing changes to juju-deployer/nf-stats-service.yaml.tmpl

  • Committer: Thomi Richards
  • Date: 2014-06-27 20:02:44 UTC
  • mto: (629.2.9 nfss)
  • mto: This revision was merged to the branch mainline in revision 636.
  • Revision ID: thomi.richards@canonical.com-20140627200244-zi7dwxnyw38ypr2f
Initial version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ci-airline:
 
2
    series: trusty
 
3
    services:
 
4
        ci-airline-nfss-restish:
 
5
            expose: True
 
6
            charm: restish
 
7
            options:
 
8
                vcs: ${CI_CODE_SOURCE}
 
9
                branch: ${CI_BRANCH}
 
10
                tarball: ${CI_PAYLOAD_URL}
 
11
                framework: pyramid
 
12
                db_migration_cmd: "cd nf-stats-service && python3 -m nfss database-migrate"
 
13
                packages: "python-webtest python-mock python-jinja2 python3-psycopg2 python3-oauthlib python3-webtest python3-mock"
 
14
                python_path: ./nf-stats-service:./ci-utils
 
15
                json_status_path: api/v1/status
 
16
                install_sources: |
 
17
                    - ${CI_PPA}
 
18
                install_keys: |
 
19
                    - ""
 
20
                nagios_check_http_params: -H gatekeeper -I 127.0.0.1 -e '
 
21
                    200 OK' --url='/api/v1/' -p 8080
 
22
                nagios_context: ci-airline-staging
 
23
        ci-airline-nfss-gunicorn:
 
24
            charm: gunicorn
 
25
            branch: lp:~canonical-ci-engineering/charms/trusty/gunicorn/gunicorn-py3-support
 
26
            options:
 
27
                wsgi_wsgi_file: nfss:app
 
28
                use_python3: true
 
29
        ci-airline-nfss-apache:
 
30
            charm: apache2
 
31
            branch: lp:charms/trusty/apache2@54
 
32
            expose: true
 
33
            options:
 
34
                enable_modules: "proxy proxy_http"
 
35
                vhost_http_template: include-base64://configs/nfss_http_vhost
 
36
                servername: ci_airline_nfss_apache
 
37
        ci-airline-nfss-content-fetcher:
 
38
            charm: content-fetcher
 
39
            branch: lp:~gnuoy/charms/precise/content-fetcher/trunk@53
 
40
            options:
 
41
                archive_location: ${CI_PAYLOAD_URL}
 
42
                dest_dir: /srv/ci_airline_nfss
 
43
        ci-airline-nfss-postgres:
 
44
            branch: lp:charms/trusty/postgresql@95
 
45
            charm: postgresql
 
46
    relations:
 
47
        - ["ci-airline-nfss-restish:wsgi", "ci-airline-nfss-gunicorn:wsgi-file"]
 
48
        - ["ci-airline-nfss-restish:pgsql", "ci-airline-nfss-postgres:db"]
 
49
        - ["ci-airline-nfss-apache:reverseproxy", "ci-airline-nfss-restish:website"]
 
50
        - ["ci-airline-nfss-apache", "ci-airline-nfss-content-fetcher"]