Commit Graph

12 Commits

Author SHA1 Message Date
Albert Hopkins acf9ec8c91 teamplayer: updates
Update to work with Django 1.01 since teamplayer (default) supports it now.
Also use settings.py instead of settings_local.py which I now consider an
anti-pattern.
2016-11-20 17:31:23 +00:00
Albert Hopkins b78dd0b2b1 teamplayer: upgrade to postgres 9.6 2016-10-19 12:49:58 +00:00
Albert Hopkins 3e9b250524 teamplayer: update to Postgres 9.5 2016-01-08 01:33:29 +00:00
Albert Hopkins 2e296640e5 teamplayer: updates
For some reason we had to add "setuptools" to emerge even though we're
installing virtualenv.  Does virtualenv not install setuptools anymore or
was this just a bug?
2015-12-09 18:13:18 +00:00
Albert Hopkins 902886918a teamplayer: pass '--no-cache-dir' to pip
So that it doesn't create a directory we don't want.
2015-09-30 08:49:36 +00:00
Albert Hopkins 73c5fce1e0 teamplayer: replace openrc-style startup with systemd units
When I switched over from openrc to systemd I was being lazy and took
advantage of the fact that /etc/local.d still gets run as usual on
Gentoo.  This commit finally does a proper(-ish) systemd startup using
(3) unit files.
2015-09-23 03:35:47 +00:00
Albert Hopkins 0504f76a1a Makefile(s): use long option names when calling emerge
Because I can never remember the difference between -n and N, -c and -C,
etc.
2015-03-13 11:31:00 +00:00
Albert Hopkins 829eeb5806 Merge in fix from stable branch. 2015-02-28 20:11:16 +00:00
Albert Hopkins 99c79d353d teamplayer: Don't "pip install -e" the package
It always irks me when I see other people do this in deployments and here I
am doing it myself.
2015-02-28 19:09:41 +00:00
Albert Hopkins c9a81d2806 The great systemd commit.
This change converts the appliances from openrc to systemd.  In addition,
systemd needs to at least be be installed on the build machine as we now
use systemd-nspawn instead of chroot/bind mounts do to the fact that
systemd-nspawn is much more robust and lese prone to errors.  In addition:

* All stage4 tarballs and images are now stored in the images/ directory by
  default.

* A package dir is now required and is set up in the packages/ directory by
  default.

* The portage directory is not unpacked in the chroot every time anymore
  and is instead bind-mounted from a directory by systemd-nspawn.  This is
  the portage/ directory by default.

* In addition there is a distfiles/ directory (by default) which is
  bind-mounted in the chroot.  It does what you'd probably expect.

* The Makefile learned new target, eclean, which will run eclean-dist and
  eclean-pkg to clean out obsolete distfiles and binary packages.

* The REMOVE_PORTAGE_TREE option is removed as portage is no longer
  installed.

* The unused/untested PRUNE_CRITICAL functionality has been removed.  I
  have no idea if it worked and if it didn't I didn't want to fix it.

* As appliances are always using systemd, UDEV is no longer optional.

* Timezones and hostnames are now handled by systemd (systemd-firstboot).

* Stage4 tarballs are now directly importable as systemd containers (and
  probably docker too though I haven't tested that yet).

* A number of packages (for example dhcpd, acpid) have been removed from the
  appliances when systemd provides equivalent functionality.

* We no longer override etc-update.conf.  There's no reason.

* A number of Makefile targets, checkpoints, temp files, etc have been
  removed as they are no longer needed.
2015-02-22 15:32:16 +00:00
Albert Hopkins bc31fc05bb teamplayer: Updates. 2015-01-07 13:07:38 +00:00
Albert Hopkins f79cc8a353 Move appliances/configs/scripts to seperate directories.
Instead of having everything in the root directory, split them in seperate
directories (appliances, scripts, & configs).  This makes things a little
tidier.

Also added a now Makefile target, appliance-list, that prints a list of the
available appliances.  The split directory change made this easier.
2014-06-09 02:26:17 +00:00