Commit Graph

336 Commits

Author SHA1 Message Date
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
R. Tyler Croy a4b5e98acc
Add @michaelneale back to the mix 2017-12-03 10:24:48 -08:00
R. Tyler Croy 2cdd04514a
Use the latest azure-cli which supports aks 2017-12-03 10:24:18 -08:00
R. Tyler Croy 9b624a8da5
Order the yaml files a bit to make it easier to deploy fresh 2017-12-02 19:16:51 -08:00
R. Tyler Croy 33987205a5
Switch to using a Stateful Set, which is for stateful applications
There doesn't seem to be any tangible difference in the performance between
using a Deployment or a StatefulSet but the docs say it's for stateful apps.
2017-12-02 19:15:19 -08:00
R. Tyler Croy b8b728ffe6
Explicitly set the storageAccount for the Azure File storage class 2017-11-30 16:29:22 -08:00
R. Tyler Croy 064d7977ca
CIFS doesn't support symbolic links so we'll just move things over 2017-11-30 16:25:50 -08:00
R. Tyler Croy bb35de9469
Add support for Azure File storage
This requires a storage account to be created in the
MC_<group>_<clustername>_<location> resource group hiding behind the AKS
environment.

Without that storage account, Azure won't provision the file volume
2017-11-30 08:45:36 -08:00
R. Tyler Croy b2b165cd92
Merge pull request #62 from rtyler/migration-to-cb
Migrate off rtyler's and onto CloudBees' infrastructure
2017-11-29 21:09:49 -08:00
R. Tyler Croy 15c5f28c9d
Add the kubernetes-plugin to the mix for hitting ACI 2017-11-29 21:07:39 -08:00
R. Tyler Croy 47c0a74ad8
Add a (currently unused) Azure Container Instance connector to the cluster 2017-11-29 21:03:48 -08:00
R. Tyler Croy 88686dc7ab
Add support for JNLP agents 2017-11-29 21:03:34 -08:00
R. Tyler Croy 1f141e47be
Switch to the storage account currently being used in Azure 2017-11-29 19:52:04 -08:00
R. Tyler Croy 67a27cacdf
Ensure that agent-templates are always generated on 'make generate' 2017-11-29 19:52:04 -08:00
R. Tyler Croy e7d6ce09da
Update the setup-azure-cloud script to handle the latest API breakages in Azure plugins
Live by the private API, die by the private API
2017-11-29 19:52:04 -08:00
R. Tyler Croy 4bbae33dbf
Switch webapp back to the latest and greatest 2017-11-29 18:03:21 -08:00
R. Tyler Croy 384accb3a7
Change the copyright over 2017-11-29 17:39:22 -08:00
R. Tyler Croy f51ba78bd5
Remove the unnecessary proxy code
This was hacked AF 💩 🔥
2017-11-29 17:37:13 -08:00
R. Tyler Croy 38d99c4718
Add an Azure Container Registry to the infra plane
This is not yet being utilized by AKS, but should be
2017-11-29 17:36:18 -08:00
R. Tyler Croy 5ae9c6eefd
Ensure the container comes up with the right securityContext to access the PVC
(Persistent Volume Claim)
2017-11-29 17:34:25 -08:00
R. Tyler Croy 4b3c1439eb
Small note about some AAD permissions 2017-11-29 17:34:21 -08:00