Commit Graph

356 Commits

Author SHA1 Message Date
R. Tyler Croy 46b1390648
bundle update to catch sinatra 2.0.1 2018-02-20 14:25:52 -08:00
R. Tyler Croy 0f31c0996c
Merge pull request #84 from rtyler/sc
Add a different Storage Class
2018-01-11 12:35:03 -08:00
R. Tyler Croy e0ab85d974
Add a storage class with a Retain policy 2018-01-11 12:21:58 -08:00
R. Tyler Croy bc2e0b19cc
Add @dduportal 2018-01-11 09:54:06 -08:00
R. Tyler Croy 6ed480ba24
Merge pull request #83 from rtyler/developer-dashboard
Refactor a bit to prepare for the Jenkins Developer Dashboard
2018-01-02 15:19:08 -08:00
R. Tyler Croy e8fbbb891d
Ensure we have monkeys.txt copied into the webapp directory before tests
Tests will expect it to be there
2018-01-02 15:16:01 -08:00
R. Tyler Croy c6bffa354d
Refactor administrators a bit
Only a matter of time before some other sucker gets the privilege
2018-01-02 15:06:43 -08:00
R. Tyler Croy dbe240ac4b
Move file accesses into more opaque objects
In the future I expect some of this data to be driven from a database or the
Kubernetes REST API
2018-01-02 15:03:58 -08:00
R. Tyler Croy efd1ecbbdb
Ensure that curl properly fails on bad responses in container-check
Caught my first fat-finger of some code 👏
2018-01-02 15:03:58 -08:00
R. Tyler Croy e1ae017762
Starting to refactor the webapp to be a bit more modular and perhaps testable 2018-01-02 14:11:33 -08:00
R. Tyler Croy b01b105619
Make the validation of the webapp container a bit more useful
This is almost a liveness probe 🔥
2018-01-02 13:15:06 -08:00
R. Tyler Croy 68b1cfae24
Merge pull request #80 from rtyler/79
Store sessions in memcached and support replicas for the webapp
2017-12-23 15:27:55 -08:00
R. Tyler Croy 1b8e86f237
Deploy a memcached service for storing dataz
With shared and predictable session storage, raise the replicas for the webapp a
bit too
2017-12-23 15:04:28 -08:00
R. Tyler Croy 452e81c0d2
Persist sessions using a consistent session secret and memcached
Fixes #79
2017-12-23 14:38:50 -08:00
R. Tyler Croy 018b7a0828
Embed a Jenkins Minute in the home page for a little more interesting stuff
Also fleshing out the doc page a bit more, need to figure out what I'm going to
do there.
2017-12-22 11:34:56 -08:00
R. Tyler Croy 84a10fd0c0
Switch to the new docker image in the codevalet org on docker hub 2017-12-22 11:34:32 -08:00
R. Tyler Croy e4c744f257
Move the webapp into the codevalet Docker Hub organization 2017-12-21 09:36:54 -08:00
R. Tyler Croy 662861bac1
Switch the webapp to a multi-stage build to reduce size and rebuilds
This should help avoid unnecessary incremental builds locally
2017-12-21 09:30:46 -08:00
R. Tyler Croy a2131dddd8
Add a simple /abuse URl for redirects 2017-12-21 07:41:05 -08:00
R. Tyler Croy 0e8dde9480
Merge pull request #78 from rtyler/master-relocate
Relocate all the master building code into another repository
2017-12-20 16:29:31 -08:00
R. Tyler Croy a59dc268a0
Move all the master code into codevalet/master 2017-12-20 15:53:09 -08:00
R. Tyler Croy a095f5b0ac
Fix the link to the Blue Ocean project 2017-12-19 13:50:25 -08:00
R. Tyler Croy d021e0cc8d
Use some short-term fixes for the azure-commons plugin
See jenkinsci/azure-commons-plugin#15
2017-12-19 13:40:53 -08:00
R. Tyler Croy 5609feb908
Merge pull request #70 from rtyler/lolz
Bring some deployment fixes through
2017-12-18 16:13:14 -08:00
R. Tyler Croy c83072be3f
Default the quiet period to zero
Since this will run on each boot, not bothering to save the object.

Fixes #57
2017-12-18 14:12:00 -08:00
R. Tyler Croy 2f5ed696bd
Add another label `kind` for running kubernetes queries across all masters 2017-12-18 14:11:39 -08:00
R. Tyler Croy 4b822e607f
Change the webapp update script to follow the same pattern as canary 2017-12-15 08:37:00 -08:00
R. Tyler Croy 7642336f1a
Remove this unnecessary nginx script
Long since removed a custom nginx proxy container
2017-12-15 08:35:12 -08:00
R. Tyler Croy 10fb3cb454
Update the rolling-update-canary script to kill containers in the right namespace
Since canary is defined as a Deployment with an ImagePullPolicy of Always,
killing a pod is sufficient to deploy a new version of the app 👏
2017-12-15 08:30:32 -08:00
R. Tyler Croy 21f17763fa
Canary lives on its own host silly goose 2017-12-15 07:51:48 -08:00
R. Tyler Croy 64c509da54
Label all jenkins instances the same so I can run kubectl commands across the bunch 2017-12-15 07:51:21 -08:00
R. Tyler Croy d4eaa6cc99
Update the deployment script for the webapp
Just kill the pod 👏
2017-12-13 14:50:20 -08:00
R. Tyler Croy 9de1b6d758
Add the JRuby organization 2017-12-13 13:20:37 -08:00
R. Tyler Croy 85404e7f1c
The new nginx-based container is listening on port 80, not 8080 2017-12-12 17:10:46 -08:00
R. Tyler Croy a63885105b
It takes a bit longer for Jenkins to boot up before we can call it 'good' 2017-12-12 17:10:32 -08:00
R. Tyler Croy 71b2902f46
Inherit the JAVA_OPTS from the Kubernetes podspec 2017-12-12 17:10:11 -08:00
R. Tyler Croy d3750eeab2
Fix broken setting of instance URL 2017-12-12 16:29:38 -08:00
R. Tyler Croy 192b34b53b
The container needs jenkins-support to boot 2017-12-12 16:16:46 -08:00
R. Tyler Croy 8262092950
Add a few more monkeys to the tree
Whether or not they make use of their instance is irrelevant, the goal is to
test things out.
2017-12-12 16:06:07 -08:00
R. Tyler Croy 4d76b976e4
Merge pull request #65 from rtyler/newjob-10
Forbid the use of the Classic Jenkins Job creation UI
2017-12-12 16:00:59 -08:00
R. Tyler Croy 36b7ea1d87
Update the README to have a proper build badge 2017-12-12 15:59:45 -08:00
R. Tyler Croy 07373247ca
Add some Terraform variable defaults to ensure Terraform can run in CI 2017-12-12 15:38:20 -08:00
R. Tyler Croy c4ade26147
Forbid the use of the Classic Jenkins Job creation UI
Fixes #10
2017-12-12 15:31:53 -08:00
R. Tyler Croy f3e608f519
Rebuild the Jenkins master image to embed nginx to handle some redirects
This should make it a bit easier to enforce some routing policies rather than
trying to coerce Kubernetes to do everything for us.
2017-12-12 15:24:00 -08:00
R. Tyler Croy 8cd07a8967
Ensure some form of varfile exists for Jenkins to run
The secrets obviously won't be in Jenkins here
2017-12-11 17:21:28 -08:00
R. Tyler Croy 9d64ef2775
Link to the new subdomain'ed hosts from the home page 2017-12-11 16:55:38 -08:00
R. Tyler Croy 9050d760ba
Add Owen and Mark back into the mix because hey why not 2017-12-11 16:54:42 -08:00
R. Tyler Croy 0e89b71ece
Move user-specific instances to their own subdomains to avoid issues with Let's Encrypt 2017-12-11 16:33:03 -08:00
R. Tyler Croy 2de5a6b918
Move Canary over to its own subdomain to avoid re-registering codevalet.io with Let's Encrypt in different namespaces
See: https://github.com/jetstack/kube-lego/issues/146
2017-12-07 11:07:34 -08:00
R. Tyler Croy db929af86c
Add some notes on deploying the AKS cluster with infra in place 2017-12-03 10:26:11 -08:00