[lattice] v0.3.0


Marco Nicosia
 

On behalf of the Lattice team, I am pleased to welcome v0.3.0 of Lattice!

Lattice v0.3.0 introduces Buildpack support! The team has been working on
this for several months, and we're ready to share it with you. Check out
the release notes below!

As always:
- If you think you've found a bug, please file a GitHub issue.
- If you have a contribution, we'd be happy to give you feedback via a
Pull Request.
- You can track our prioritized queue of work at: http://bit.ly/lattice
-tracker

--
Marco Nicosia
Product Manager
Pivotal Software, Inc.
mnicosia(a)pivotal.io
c: 650-796-2948

---------- Forwarded message ----------
From: Marco Nicosia <notifications(a)github.com>
Date: Fri, Aug 7, 2015 at 5:54 PM
Subject: [lattice] v0.3.0
To: cloudfoundry-incubator/lattice <lattice(a)noreply.github.com>


Lattice v0.3.0 Generating Droplets using Buildpacks
<http://docs.cloudfoundry.org/buildpacks/index.html>

Since launch, Lattice has been limited to deploying only Docker containers.
Starting with version 0.3.0, we've taught Lattice another trick for using
Diego: *Droplets*. This is made possible by leveraging another Cloud
Foundry technology, Buildpacks
<http://docs.cloudfoundry.org/buildpacks/index.html>.

In just a few commands, ltc uploads your code, runs a CF Buildpack on it,
saves the compiled artifact (the *Droplet*), and launches it alongside your
Docker containers. The apps are then managed like any other app on Lattice.
The droplets are only kept as long as the Lattice cluster runs, re-build
your Droplets when deploying a fresh Lattice cluster.

The provisioner now installs a droplet store alongside Diego. ltc us
automatically configured to use it when you target the Lattice cluster. You
will see, Blob store is targeted, when Buildpack functionality is enabled.

Buildpacks are available on both Vagrant [#95876346
<https://www.pivotaltracker.com/story/show/95876346>] and Terraform [
#96611016 <https://www.pivotaltracker.com/story/show/96611016>].
New Features

- ltc target discovers the droplet store and stores its configuration. [
#100303730 <https://www.pivotaltracker.com/story/show/100303730>]
- ltc does not complain if it cannot find a droplet store; droplet
functionality is left disabled.
- ltc will attempt to use same credentials as API endpoint for
droplet store.
- vagrant up provisioner defaults to no-auth configuration
- terraform apply provisioner uses lattice_username and
lattice_password values from lattice.tf to configure droplet store.
- *ltc build-droplet* uploads the contents of the working directory and
builds a droplet using the specified buildpack [#92186444
<https://www.pivotaltracker.com/story/show/92186444>], [#92186448
<https://www.pivotaltracker.com/story/show/92186448>] [#92186462
<https://www.pivotaltracker.com/story/show/92186462>] [#92186464
<https://www.pivotaltracker.com/story/show/92186464>] [#98559752
<https://www.pivotaltracker.com/story/show/98559752>] [#98554024
<https://www.pivotaltracker.com/story/show/98554024>]
- writes logs to build-droplet-DROPLET-NAME [#98292720
<https://www.pivotaltracker.com/story/show/98292720>]
- accepts a --path argument to allow user to specify a file or
directory to upload. [#92186456
<https://www.pivotaltracker.com/story/show/92186456>]
- prints a failure message if staging fails, and returns a non-zero
exit code. [#92186450
<https://www.pivotaltracker.com/story/show/92186450>] [#98818480
<https://www.pivotaltracker.com/story/show/98818480>]
- does not upload files that match entries in .cfignore. [#92186460
<https://www.pivotaltracker.com/story/show/92186460>]
- *ltc launch-droplet* launches a container running the specified
droplet [#92186446 <https://www.pivotaltracker.com/story/show/92186446>]
[#98321746 <https://www.pivotaltracker.com/story/show/98321746>] [
#98847942 <https://www.pivotaltracker.com/story/show/98847942>]
- *ltc list-droplets* lists the droplets stored in droplet store [
#92186452 <https://www.pivotaltracker.com/story/show/92186452>] [
#98201982 <https://www.pivotaltracker.com/story/show/98201982>]
- *ltc remove-droplet* deletes a droplet from the droplet store [
#92186454 <https://www.pivotaltracker.com/story/show/92186454>] [
#98290714 <https://www.pivotaltracker.com/story/show/98290714>]
- *ltc export-droplet* downloads the droplet tarball and metadata [
#92186466 <https://www.pivotaltracker.com/story/show/92186466>]
- *ltc import-droplet* uploads a droplet and its metadata [#92186470
<https://www.pivotaltracker.com/story/show/92186470>]
- Upgraded to Diego 0.1398.0 & a major upgrade of garden-linux with
btrfs [#100301008 <https://www.pivotaltracker.com/story/show/100301008>]
[#98882812 <https://www.pivotaltracker.com/story/show/98882812>]

Documentation

- ltc docs updated to reflect droplet syntax [#98824900
<https://www.pivotaltracker.com/story/show/98824900>]
- Totally re-vamped development-readme and scripts to set up a dev
environment [#98769190
<https://www.pivotaltracker.com/story/show/98769190>]
- Now includes CF_VERSION in addition to DIEGO_VERSION [#99906506
<https://www.pivotaltracker.com/story/show/99906506>]

Interestings and Bugfixes

- AWS images cannot deploy in international regions #158
<https://github.com/cloudfoundry-incubator/lattice/issues/158> [
#100481868 <https://www.pivotaltracker.com/story/show/100481868>]
- ltc submit-lrp launches a container running the specified droplet [
#97202034 <https://www.pivotaltracker.com/story/show/97202034>]
Once you've run build-droplet, you can manually submit it as an LRP
using a JSON file that you write yourself. For those who want Total
Control, this is a low-level way to do the same thing that launch-droplet
does in a more user-friendly way.

Known Issues

ltc build-droplet in *v0.3.0* is limited to only 128MB of RAM. Larger
applications may struggle to build properly. Please download the latest
unstable ltc
<https://github.com/cloudfoundry-incubator/lattice/tree/v0.3.0/ltc#setup>
if you run into this issue. This will be configurable in the next Lattice
release. [#100701142 <https://www.pivotaltracker.com/story/show/100701142>]
Download Links ltc CLI

- OS X
<https://lattice.s3.amazonaws.com/releases/v0.3.0/darwin-amd64/ltc>
- Linux
<https://lattice.s3.amazonaws.com/releases/v0.3.0/linux-amd64/ltc>

Terraform Files

- AWS: lattice.aws.tf
<https://cdn.rawgit.com/cloudfoundry-incubator/lattice/v0.3.0/terraform/aws/example/lattice.aws.tf>
- DigitalOcean: lattice.digitalocean.tf
<https://cdn.rawgit.com/cloudfoundry-incubator/lattice/v0.3.0/terraform/digitalocean/example/lattice.digitalocean.tf>
- Google Cloud: lattice.google.tf
<https://cdn.rawgit.com/cloudfoundry-incubator/lattice/v0.3.0/terraform/google/example/lattice.google.tf>
- Openstack: lattice.openstack.tf
<https://cdn.rawgit.com/cloudfoundry-incubator/lattice/v0.3.0/terraform/openstack/example/lattice.openstack.tf>


View it on GitHub
<https://github.com/cloudfoundry-incubator/lattice/releases/tag/v0.3.0>.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.