summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Thanh Ha [Mon, 8 Jan 2018 02:35:31 +0000 (21:35 -0500)]
Switch system-reseal script to shell
While it would be nice to do things the Ansible way the "file"
method unnecessarily takes too long to remove files in a loop.
In this case we should just handle the cleanup with a quick script
which will run significantly more quickly.
Change-Id: I09145b1ece235ea523cf30fd9c8e13efdcbdb8fb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Sat, 6 Jan 2018 02:01:39 +0000 (21:01 -0500)]
Add example cloud-env.json
Change-Id: I49eb8cf29fe6af89d28aa044fbe1d50746ce7273
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 5 Jan 2018 20:48:22 +0000 (15:48 -0500)]
Make it possible to locally test common-packer
By symlinking common-packer to itself this makes it possible to test
common-packer from it's own project repo.
Change-Id: I022b63aeab561815da3e8856f195201b668cfed0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Sat, 6 Jan 2018 01:50:49 +0000 (20:50 -0500)]
Be more specific about files to scan with coala
Because of the common-packer symlink we need to be much more careful
about where packer is scanning things to avoid an infinite scan
cycle.
Change-Id: I7ae75004ee69db2d407ff69cbc9df187bd69d504
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Sat, 6 Jan 2018 01:10:29 +0000 (01:10 +0000)]
Merge "Pin nodeenv 1.1.2"
Thanh Ha [Fri, 5 Jan 2018 01:42:05 +0000 (20:42 -0500)]
Update common-packer instructions
Instructions are a little different now that we are using the
Ansible provisioner.
Change-Id: I7296ed75af8f4962c427199a8ad755ec0fccc062
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 5 Jan 2018 19:47:04 +0000 (14:47 -0500)]
Pin nodeenv 1.1.2
Last known version that works with multiple tox runs.
Change-Id: Icc157039bf4ee42bf133a7ed8448c5de9c72a66a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 5 Jan 2018 01:21:21 +0000 (20:21 -0500)]
Add docker template
Change-Id: I493d653e5d515250580cc44a2c65f07299b800c8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 5 Jan 2018 01:18:00 +0000 (20:18 -0500)]
Update relative paths
Packer paths are relative to where it is called from so update the
paths to match where we expect users of common-packer to load the
submodule from.
Change-Id: I03cd26c4fdb7cd2611cd6ae968ddd4470ba33fad
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Fri, 29 Dec 2017 19:45:24 +0000 (14:45 -0500)]
Initial baseline image (Ansible)
Create a baseline image using Ansible Playbooks. Considering using
Ansible for our Job builds so why not also use it here for packer
builds.
Ansible seems to have support for the things our helper scripts do
which allows us to get rid of them if we use Ansible. Each Ansible
task also validates itself to make sure the commands run through,
something we don't currently do and can better let us know when
something goes wrong.
Issue: RELENG-288
Depends-On: Ibf4e1ff13d93ad59eaea4a0582a4b77446870dc0
Change-Id: I96d1ec83cec82130d30a245c39b6ac8018f92428
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Andrew Grimberg [Tue, 8 Aug 2017 14:51:48 +0000 (07:51 -0700)]
Create README for usage and design of repo
We need a README for how to use common-packer. As we are just getting
this up and running, writing out how the templates and general thought
process of how it should be used is also handy so that others can start
adding to the repository without having to wait for specific examples.
Change-Id: Ifc14d2ede0251a35af85a37e3733f640ed0c84bc
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Thanh Ha [Thu, 27 Jul 2017 20:36:56 +0000 (16:36 -0400)]
Add .gitreview and .gitignore
Change-Id: Ia30cd1ddba586e56a277773a91259573733ab7b6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Thanh Ha [Thu, 27 Jul 2017 20:36:15 +0000 (16:36 -0400)]
Add Coala Linting
Change-Id: Ie729bb6d22c5ff3e20c938e157914239ae398665
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Andrew Grimberg [Tue, 25 Jul 2017 14:31:32 +0000 (14:31 +0000)]
Initial empty repository