Commit Graph

25 Commits

Author SHA1 Message Date
Steve Streeting
0265e27fe4 Usage doc fix, docker images are called centos_x not lfs_centos_x 2016-03-30 16:02:10 +01:00
Andy Neff
6d61f5b40a Updates to support the new automated build docker images 2015-12-06 12:31:59 -05:00
Andy Neff
047bc59dc8 Clean up and update to gpg_agent via docker_hub
Removed all the files that were duplicated on lfs_dockers repo
Re-routed the transport of pgp keys using the newer more correct
gpg_agent docker image
Added some logic to work with mingw32 too
2015-12-05 20:52:21 -05:00
Andy Neff
aa8b753f06 Broke, can't build at home 2015-10-30 19:27:12 -04:00
Andy Neff
b100472c49 Change the run script to download docker instead of build
Moving the the docker image generation to a separately maintained repo
and uploading the image to docker hub instead. Should be a far friendlier
experience for the developer.

Almost all of the files in the docker folder should be redundant except
the run_dockers.bsh file at this point.
2015-10-23 17:13:38 -04:00
Andy Neff
5f033e5019 Added DOCKER_OTHER_OPTIONS and started patching for windows 2015-08-22 21:03:38 -04:00
Andy Neff
53905b58d5 Fix permissions when using sudo 2015-07-31 20:23:47 -04:00
Andy Neff
e41cc41100 GPG working correctly now
Started README update
Simplified gpg to a single file per docker
Auto dump public key in ./repo/os/version
Cleaned up test dockerfiles
Simplified gpg daemon scripts
Fixed bug not cleaning up old containers
Removed hack for #548
2015-07-31 16:40:23 -04:00
Andy Neff
56ffe420b7 Stuff
Normalized rpm names
Upped build environment to 0.5.4 which included docker-scripts
Fixes ownership problem
Added unit tests to rpms now they are all passing
2015-07-31 16:40:23 -04:00
Andy Neff
43624a3c77 rpm_build.bsh gets version from git-lfs version instead of parsing code
Changed DOCKER_LFS_BUILD_VERSION to default 0.5.3 for now
instead of auto updating by version. Added complexity and
delays with no real utility
Removed BUILD_LOCAL option so that it always built local.
Added complexity with no real utility
Fixed default key behavior
2015-07-31 16:40:23 -04:00
Andy Neff
ec50fd2ba2 Cleaned up multiple keys some 2015-07-31 16:40:23 -04:00
Andy Neff
d2e8da13c8 Broke something, private key no longer loads in container 2015-07-31 16:40:23 -04:00
Andy Neff
3207b464ee Removed directories that were pointless in this pattern 2015-07-31 16:40:23 -04:00
Andy Neff
796ec71f72 Fixed SUDO test for boot2docker 2015-07-31 16:40:23 -04:00
Andy Neff
5ef85e402e Cleaning up/improving docker performance 2015-07-31 16:40:23 -04:00
Andy Neff
adac57858a Fixed Array length call
No more unbound error
2015-07-23 23:18:36 -04:00
Andy Neff
183ad44953 Move the repos directory
Having the repos directory in the docker directory causes it to be
sent to the docker daemon every time, which is a complete waste.
Best solution was to move the repos dir out of dockers
2015-07-23 23:18:36 -04:00
Andy Neff
7ca335be04 Dockers working for centos and debian with GPG signing
Fixed git clean to only be in build_rpms for centos path
Added tests for all distros
Added some options like GPG cache, and auto remove
Fixed rpm expect script to work always
Enabled gpg check for centos repos
Fixed golang build bug for CentOS 5
2015-07-23 23:18:36 -04:00
Andy Neff
9d2aef4ec7 First draft of GPG signing working in CentOS 2015-07-23 23:18:36 -04:00
Andy Neff
bb21163b45 Added Repo Tests
Added ./docker/test_dockers.bsh in order to test if the repo files
are working.
Got REPO_HOSTNAME env variable working for centos and debian
Standardized the archive filename for git-lfs.spec
2015-07-23 23:18:36 -04:00
Andy Neff
68b29afe52 Got Debian signing packages
I had 5 ways forward, I picked #6
1) don't sign. That's generally only acceptable for private packages
2) Make whomever edited the changelog last create signed .deb and .dsc.
   This seems like a pain for whomever is developing the packages
3) Change the changelog to a uid in the signing.key. I did not like
   taking credit away from whomever SHOULD be in the changelog
4) Have the distributing person add the changelog email address as
   an additional uid in their pgp key... this sounds like bad practice
   to me.
5) Build the .deb package, break it apart, manually sign, and re-
   archive. While possible, seemed prone to failure in corner
   cases down the road...
6) Use -p option of pgp to point to a script removing the the
   --local-user option that was forcing the .deb to be signed by
   the last developer of the changelog, not the person generating
   the distributions. This seemed best...

Does not handle the public key yet in Debian
2015-07-23 23:18:36 -04:00
Andy Neff
66f945540b Building debian 8 repo successfully 2015-07-23 23:18:35 -04:00
Andy Neff
a359dc3af6 First working draft of docker repository scripts working 2015-07-23 23:18:35 -04:00
Andy Neff
563f6d46e4 I've accepted this is a failed attemped to try to easily build all OSes
I need to create disposable clean copies of the repo and pass them into
the container instead of linking them for this. Keep the current dockers
for easy to debug
2015-07-23 23:18:35 -04:00
Andy Neff
8f0f70c164 Split script into two files 2015-07-23 23:18:35 -04:00