Page MenuHomeDevCentral

Serve Jenkins from paas-docker nginx
ClosedPublic

Authored by dereckson on Mar 12 2018, 00:25.
Tags
None
Referenced Files
F2744885: D1413.id3654.diff
Thu, Mar 28, 20:30
F2742894: D1413.id3650.diff
Thu, Mar 28, 06:48
F2742642: D1413.id3606.diff
Thu, Mar 28, 06:10
F2742398: D1413.id3654.diff
Thu, Mar 28, 05:15
Unknown Object (File)
Wed, Mar 27, 14:16
Unknown Object (File)
Wed, Mar 27, 13:11
Unknown Object (File)
Sat, Mar 23, 18:05
Unknown Object (File)
Sat, Mar 23, 02:48
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.