Commit Graph

24 Commits

Author SHA1 Message Date
R. Tyler Croy 8020c83032
make clean should never fail the Run 2018-01-04 14:23:14 -08:00
R. Tyler Croy 291c8cf14b
Validate that the master image "works" for some semblance of working locally
Fixes #2
2018-01-03 12:19:32 -08:00
R. Tyler Croy 5c3c709d43
Document the environment variables which should be set
Fixes #6
2018-01-03 12:13:26 -08:00
R. Tyler Croy 44a4c354de
Enable restricted declarative pipelines by default 2018-01-02 13:46:26 -08:00
R. Tyler Croy d449edfbdb
Ensure `make clean` always succeeds
Sometimes this will fail if the docker daemon claims to have already removed
some stuff. Messy messy messy
2018-01-02 13:32:03 -08:00
R. Tyler Croy b30e5bfb27
Return the agent port to the environment to avoid unnecessary exceptions
The upstream Docker image copies this file into tcp-slave-agent-port.groovy
(https://github.com/jenkinsci/docker/blob/master/init.groovy) which expects this
environment variable to be set.

This doesn't really matter in the context of Code Valet, but it's helpful to
just shut this error up 😄

Fixes codevalet/codevalet#81
2018-01-02 12:13:21 -08:00
R. Tyler Croy 4516b6f4b0
Add the restricted declarative plugin 2018-01-02 12:09:11 -08:00
R. Tyler Croy 49cb58e2bb
Remove hard-coded workaround for azure-commons 2018-01-02 10:59:59 -08:00
R. Tyler Croy 9542329d76
Missed a few references to rtyler/codevalet-builder 2017-12-21 21:11:40 -08:00
R. Tyler Croy 54339e3c91
Switch the image name to the codevalet organization 2017-12-21 20:37:40 -08:00
R. Tyler Croy dee43134e2
Forgot to remove some things which went to the base container 2017-12-21 09:17:22 -08:00
R. Tyler Croy bdb8b8c7bb
Duplicate the user/group args into the master Docker image
Need this in both the proxy and master images unfortunately
2017-12-21 08:33:31 -08:00
R. Tyler Croy 88cff02746
Merge pull request #8 from rtyler/proxy-refactor
Refactor the proxy code into a base image
2017-12-21 07:25:38 -08:00
R. Tyler Croy ae0afa226a
Rework the proxy Makefile to download docker-compose automagically for the build 2017-12-21 07:07:27 -08:00
R. Tyler Croy 9689dbd4df
Re-order the `make check` to ensure it passes first
The image building is very time consuming, so best to make sure we're working
with good bits to begin with
2017-12-21 07:00:00 -08:00
R. Tyler Croy a23bed3830
Add a placeholder test for #7 2017-12-21 06:53:39 -08:00
R. Tyler Croy 7d77024b85
Add a little connectivity helper script to ensure we can clean-start tests 2017-12-21 06:51:37 -08:00
R. Tyler Croy b3c059e230
Move the nginx-specific bits for the master into its own base image
This makes the proxy and its rules much easier to test in isolation from the
Jenkins runtime.

Fixes #1
2017-12-21 06:40:28 -08:00
R. Tyler Croy 4b5eaa4818
Add some other missing files to do a proper full build of the master image 2017-12-20 15:25:49 -08:00
R. Tyler Croy 36260ace9d
Add a simple Jenkinsfile to build things 2017-12-19 22:17:27 -08:00
R. Tyler Croy c8af2844c8
Tweak plugin builds as to not require superuser permissions anywhere
This will keep all the build work done by the user who invokes the commands,
which allows for a little more development environment sanity. But only a little
bit more.
2017-12-19 22:15:35 -08:00
R. Tyler Croy 54476bab9f
Refactoring a bit of code out of the one big build-plugins script
Basically trying to get to a place where we can run scripts semi-independently
for testing or overriding of behavior
2017-12-19 17:03:55 -08:00
R. Tyler Croy 9f8f26c722
Import code from the old tree with some minor adjustments 2017-12-19 16:27:52 -08:00
R. Tyler Croy 55569a6959
Initial commit 2017-12-19 16:16:35 -08:00