~larry-e-works/uci-engine/write-exitcode-to-file

« back to all changes in this revision

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

  • Committer: Ubuntu CI Bot
  • Author(s): Thomi Richards, Robert Bruce Park
  • Date: 2014-07-01 23:04:05 UTC
  • mfrom: (629.2.18 nfss)
  • Revision ID: ubuntu_ci_bot-20140701230405-bwij2o5lga3iwyal
[r=Francis Ginther, PS Jenkins bot, Andy Doan] Initial import of non functional stats service app.  from Canonical CI Engineering

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ci-airline-experimental:
 
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
                cron_cmd: "nf-stats-service/clean_db.sh"
 
14
                packages: "python-jinja2 python3-psycopg2 python3-oauthlib"
 
15
                python_path: ./nf-stats-service:./ci-utils
 
16
                json_status_path: api/v1/status
 
17
                install_sources: |
 
18
                    - ${CI_PPA}
 
19
                install_keys: |
 
20
                    - ""
 
21
                nagios_check_http_params: -H nfss -I 127.0.0.1 -e '
 
22
                    200 OK' --url='/api/v1/' -p 8080
 
23
                nagios_context: ci-airline-staging
 
24
        ci-airline-nfss-gunicorn:
 
25
            charm: gunicorn
 
26
            branch: lp:~canonical-ci-engineering/charms/trusty/gunicorn/gunicorn-py3-support@34
 
27
            options:
 
28
                wsgi_wsgi_file: nfss:app
 
29
                use_python3: true
 
30
        ci-airline-nfss-apache:
 
31
            charm: apache2
 
32
            branch: lp:charms/trusty/apache2@54
 
33
            expose: true
 
34
            options:
 
35
                enable_modules: "proxy proxy_http"
 
36
                vhost_http_template: include-base64://configs/nfss_http_vhost
 
37
                servername: ci_airline_nfss_apache
 
38
        ci-airline-nfss-content-fetcher:
 
39
            charm: content-fetcher
 
40
            branch: lp:~gnuoy/charms/precise/content-fetcher/trunk@53
 
41
            options:
 
42
                archive_location: ${CI_PAYLOAD_URL}
 
43
                dest_dir: /srv/ci_airline_nfss
 
44
        ci-airline-nfss-postgres:
 
45
            branch: lp:charms/trusty/postgresql@95
 
46
            charm: postgresql
 
47
    relations:
 
48
        - ["ci-airline-nfss-restish:wsgi", "ci-airline-nfss-gunicorn:wsgi-file"]
 
49
        - ["ci-airline-nfss-restish:pgsql", "ci-airline-nfss-postgres:db"]
 
50
        - ["ci-airline-nfss-apache:reverseproxy", "ci-airline-nfss-restish:website"]
 
51
        - ["ci-airline-nfss-apache", "ci-airline-nfss-content-fetcher"]