Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Michelle Noorali 6f3bf25a4f ref(packs): change default replicaCount to 1
bc we probably don't need 2 in dev as a default
2018-04-13 16:28:14 -04:00
Matthew Fisher bf0f708ce7 remove NOTICE and fix chart/ ref 2018-04-02 14:54:49 -07:00
Radu Matei 863c37c17a Remove build ID from label and add to annotation 2018-03-27 00:05:18 +03:00
Radu Matei 289f18fe11 Update packs with build ID label 2018-03-27 00:05:17 +03:00
Matthew Fisher 486a501b7b remove Heroku notices
We've no longer relied on Heroku buildpacks for quite some time.
2018-03-22 14:49:37 -07:00
Matthew Fisher ad5db7864c add back ingress, disable by default 2018-03-19 15:48:02 -07:00
Matthew Fisher e02a7caf35 remove draftd 2018-03-19 15:48:02 -07:00
Matthew Fisher e093e030eb remove redundant/confusing default values in packs
For the new pack developer, it's not known that these values are overwritten on `draft up`. Removing these will make it easier for new pack devs to approach pack development.
2017-11-15 09:08:28 -08:00
Matthew Fisher 63c7b575f9 rename chart/ to charts/ 2017-10-17 14:10:49 -07:00
Matthew Fisher 735be8b21f remove healthchecks from default packs
Not all applications deployed are HTTP/1.1 applications, and not all of them
respond with a 2xx or a 3xx status code at /. A few examples would be
draftd, tiller, Deis' builder.
2017-09-29 14:36:43 -07:00
Michelle Noorali 28d0eef403 feat(*): make ingress configuration conditional 2017-09-12 11:49:28 -04:00
Michelle Noorali 7cec437da3 feat(packs): add draft label to charts in packs/ 2017-09-01 12:29:47 -04:00
Matthew Fisher 01a670bb21 remove registry org and image name from generated charts
These values have been bubbled up into `image.repository`. Some registries do not have organizations
and `image.name` was never being changed, so it made sense to simplify the verbiage.
2017-08-31 09:09:05 -07:00
Matthew Fisher b7547da699 remove detect script from packs, replace with github/linguist for deep language detection 2017-08-14 08:31:44 -07:00
Matthew Fisher fcf0f15edc make charts generated by draft helm-compatible
With this re-write of the `draft create` codebase, Draft will:

- detect a pack
- write the chart into chart/packname/

This differs from the existing behaviour because the current implementation writes the chart directly to chart/. This allows users to run `helm lint chart/packname` and more importantly, `helm package chart/packname`.
2017-08-09 14:31:46 -07:00
Matthew Fisher ad1195462e add PORT to application environments
For users migrating over from Deis Workflow (or from an application that follows 12 Factor best practices), it is common for the app to specify the listening port as $PORT. By providing this environment variable by default, applications like deis/example-python-flask can be deployed by Draft by simply calling `draft create && draft up`.
2017-08-08 11:19:03 -07:00
Jose Armesto cbab63a553 Using multi-stage to build the application with composer 2017-06-22 08:52:16 +02:00
Matthew Fisher 0df2ab8508 revert commit f5b5f46 2017-06-08 09:42:12 -07:00
Matt Butcher 617494fc3b feat(packs): use go-bindata to pack builtin packs
This replaces the hard-coded built-in packs with a generator that uses
go-bindata to read the `packs/` directory and generate an internal
representation that is compiled into the binary.

It adds the make target `generate`, which is called by the build and
cross-compile steps.

Doing things this way has the following advantages:

- Managing built-in packs is much easier (see #95)
- The packed binaries are compressed, so overall memory footprint is
  smaller

The main disadvantage is that it is harder to share files across the
packs. However, it is likely that these paks would diverge over time
anyway.
2017-06-06 16:53:42 -06:00