• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Mirantis / kqueen / 2228
85%
master: 0%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Ran 26 Mar 2018 01:36PM UTC
Jobs 1
Files 72
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2228

push

travis-ci

Vnaumov
refactor nginx proxy service

- increase code visibility
- provide possibility of managing certs quickly and easily
- remove hardcode
- provide valid instructions as comments and also as release notes(see ex below)
```
Configure variables in .env file from Nginx section:
NGINX_VHOSTNAME - domain name for Kqueen service. Should be equal with domain name in generated certificates.
NGINX_SSL_CERTIFICATE_DIR - Mapped directory for certificates forwarding into docker container.

Check proxy service configuration in docker-compose.production.yml. Pay attention on following variables:

VHOSTNAME - domain name for Kqueen service. Should be equal with domain name in generated certificates. Default: Using variable from .env file, named NGINX_VHOSTNAME
SSL_CERTIFICATE_DIR - Mapped directory for certificates forwarding into docker container. Default: Using variable from .env file, named NGINX_SSL_CERTIFICATE_DIR/NGINX_VHOSTNAME
SSL_CERTIFICATE_PATH - Path for cert+key certificate. Default: $SSL_CERTIFICATE_DIR/fullchain.cer
SSL_CERTIFICATE_KEY_PATH -  Path for certificate key. Default: $SSL_CERTIFICATE_DIR/$VHOSTNAME.key
SSL_TRUSTED_CERTIFICATE_PATH - Path for certificate only. Default: $SSL_CERTIFICATE_DIR/ca.cer

Check that local certificates naming equal to defined in variables.

Map volumes with certificates. Pay attention that destination path should be equal with SSL_CERTIFICATE_DIR. Example:

    volumes:
      - /your/local/cert/storage/kqueen/certs/:${NGINX_SSL_CERTIFICATE_DIR}/${NGINX_VHOSTNAME}:ro

Build proxy service image:

docker-compose -f docker-compose.production.yml build --no-cache

Re-run production services:

docker-compose -f docker-compose.yml -f docker-compose.production.yml  up --force-recreate
```
duplicated from https://docs.google.com/document/d/1Bnor6D78fVzOndie52wFHVVbgV0daTOHrVP1IgKZvic/edit?usp=sharing

3134 of 3678 relevant lines covered (85.21%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2228.2 26 Mar 2018 01:36PM UTC 0
85.21
Travis Job 2228.2
Source Files on build 2228
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2228
  • 19de8230 on github
  • Prev Build on nginx-deploy (#2107)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc