Commit Graph

25 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 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 67a27cacdf
Ensure that agent-templates are always generated on 'make generate' 2017-11-29 19:52:04 -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 a118291d97
Successfully run `deploy` for production 2017-11-13 15:53:02 -08:00
R. Tyler Croy 0e124f64e0
Support provisioning Code Valet properly in some CloudBees accounts with AKS
This is kind of a broad set of changes, but necessary to get Code Valet running
outside of my own personal accounts
2017-11-13 15:45:38 -08:00
R. Tyler Croy 00033fae17
Remove the generated per-master Terraform resources
These are no longer needed since we're bouncing all master requests through
nginx.
2017-08-30 06:34:05 -07:00
R. Tyler Croy 5379af57ca
Add some nginx/proxy configuration to allow docker-compose and kubernetes-based proxying
Getting environment variables into nginx is kind of a pain, and unfortunately on
recent versions of docker-compose it is impossible to get an IP address of a
linked container. Rather we need to jump through these god-awful hoops to run a
local resolver in the container in order to convert the string 'webapp' into an
IP address via dnsmasq and /etc/hosts.

BLECH
2017-08-26 14:30:35 -07:00
R. Tyler Croy 970456933f
Add support for using `make run` to stand up docker-compose which will launch the webapp/proxy 2017-08-26 13:00:05 -07:00
R. Tyler Croy ea6ecd68b0
Set up a new sub-make project for building the nginx-based proxy
This commit also contains some re-organization of the primary Makefile to be a
bit more organized

Work in progress on #39
2017-08-26 13:00:05 -07:00
R. Tyler Croy 46b8f3a02a
Auto-generate the Groovy setup script for Azure agents from the agent-templates
This is hacky, whee

Fixes #4
2017-08-26 00:22:53 -07:00
R. Tyler Croy bbf90709d5
Allow kubectl to fail without failing the Make invocation
In cases where resources already exist, this will naturally fail
2017-08-19 08:56:03 -07:00
R. Tyler Croy 0febde3299
Ensure that other, non-generated, kubernetes resources are provisioned on `deploy-k8s` 2017-07-23 13:23:07 -07:00
R. Tyler Croy ecd0cb98d7
No need for plans/generated since terraform doesn't like nested directories of plans 2017-07-23 12:52:51 -07:00
R. Tyler Croy bd01e7fc6f
Make sure we always validate terraform plans on `make check` 2017-07-23 12:43:46 -07:00
R. Tyler Croy 88d02fbdf5
Still in progress, generating per-master terraform plans 2017-07-23 12:28:19 -07:00
R. Tyler Croy 20d96c1000
Ensure sub-make invocations use the same target as the parent 2017-07-23 00:12:54 -07:00
R. Tyler Croy 2850289859
Add the `check` Makefile target to run validations
Not quite to where I can do some TDD here, but getting close
2017-07-22 13:51:37 -07:00
R. Tyler Croy 85c91afe95
Add support for provisioning services in kubernetes per monkey
These kubernetes services aren't exposing properly, i'm probably derping
something up here
2017-07-20 23:31:54 -07:00
R. Tyler Croy 84adcb2f20
Add the basic Terraform tooling to provision a Kubernetes cluster in Azure
First steps towards the control plane
2017-07-20 17:00:16 -07:00
R. Tyler Croy 2346c22ae3
Source plugins to build into codevalet-master from plugins.txt 2017-07-18 21:29:37 -07:00
R. Tyler Croy e3d254a115
Move things around so the master will build properly with the init.groovy.d and plugins 2017-07-18 20:54:18 -07:00
R. Tyler Croy 5f00fcefd9
Process plugins and build their dependencies through a clusterwhoops of python and bash
cloneAndBuild is a recursive bash function

fite me. irl
2017-07-18 19:42:38 -07:00
R. Tyler Croy f4e73011a7
Add some simple scripting to grab the blueocean-plugin and build everything in master 2017-07-18 18:24:23 -07:00
R. Tyler Croy 8e2f72d3ed
Add some basic dockerfiles for the builder (plugins) and master containers 2017-07-18 17:57:04 -07:00