Page MenuHomeDevCentral

Serve Jenkins from paas-docker nginx
ClosedPublic

Authored by dereckson on Mar 12 2018, 00:25.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 07:43
Unknown Object (File)
Mon, Nov 18, 09:32
Unknown Object (File)
Sun, Nov 17, 18:30
Unknown Object (File)
Fri, Nov 15, 08:52
Unknown Object (File)
Thu, Nov 14, 11:22
Unknown Object (File)
Sun, Nov 10, 06:55
Unknown Object (File)
Sat, Nov 9, 16:45
Unknown Object (File)
Sat, Nov 9, 14:58
Subscribers
None

Details

Summary

Provision front-end nginx configuration to serve
the continuous deployment Jenkins server cd.nasqueron.org.

As it's the first commit to configure this nginx instance,
we take care of Let's encrypt and proxy configuration.

The specific proxy configuration is fairly standard,
but tweaked to ensure compatibility with Jenkins CLI
in HTTP connection mode.

The docker_containers pillar entry format is switched from a list
to a dictionary, to allow to store metadata like domain or port.

Area for improvement

Ideally, we should serve static files from nginx, but the container
doesn't contain a nginx instance and we don't have access to those
files.

References

Test Plan

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
nginx-jenkins
Build Status
Buildable 2249
Build 2497: arc lint + arc unit

Event Timeline

dereckson created this revision.

Let's encrypt, nginx vhost provisionning, some tweaks to pillar

dereckson edited the test plan for this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)

Fix nginx config part

Update Let's encrypt path

Configure proxy parameters

dereckson edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 16 2018, 04:14
This revision was automatically updated to reflect the committed changes.