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

1330 Коммитов

Автор SHA1 Сообщение Дата
Matthew Fisher 69512deef6 bump pack-repo to 0.4.1 2018-04-23 10:28:06 -07:00
Michelle Noorali d6159ae929 Merge pull request #685 from michelleN/local
ref(*): mv pkg/draft/local to pkg/local
2018-04-23 12:01:45 -04:00
Matthew Fisher 58b3ddfb43 Merge pull request #683 from bacongobbler/pack-repo-0.4
bump pack-repo to 0.4.0
2018-04-23 08:57:38 -07:00
Michelle Noorali bf975396fb ref(*): mv pkg/draft/local to pkg/local 2018-04-23 11:26:02 -04:00
Michelle Noorali 4e346d9ea8 Merge pull request #642 from michelleN/tasks
feat(*): run pre-up, post-deploy, and cleanup tasks in draft
2018-04-23 11:01:43 -04:00
Michelle Noorali e9531deae5 ref(pkg/draft): default wait = true in draft.toml 2018-04-23 10:55:27 -04:00
Michelle Noorali ab1eb1b156 feat(*): support cleanup tasks 2018-04-23 09:55:54 -04:00
Michelle Noorali ec4b4922d0 feat(*): support for pre-up, post-deploy tasks 2018-04-23 09:55:54 -04:00
Michelle Noorali 5e8b3a2d55 docs(*): add dep for draft tasks 2018-04-23 09:55:21 -04:00
Michelle Noorali d7beeb1156 feat(pkg/tasks): load and run tasks 2018-04-23 09:55:21 -04:00
Michelle Noorali 626da5f9e9 feat(*): save tasks.toml file from draft pack
creates a .draft directory and copies tasks.toml
file to app_root/.draft/tasks.toml. If no tasks.toml
found in pack, creates an empty app_root/.draft/tasks.toml
2018-04-23 09:55:21 -04:00
Matthew Fisher 5016cc5fc6 Merge pull request #669 from radu-matei/dockerfile-chart-environment
Add Dockerfile and chart as environment
2018-04-20 14:55:13 -07:00
Radu Matei 37d4fc8eb3 Fix tests and documentation for chart and dockerfile in environment manifest 2018-04-20 23:06:46 +03:00
Radu Matei 923d03db3e Add support for chart and dockerfile in environment manifest 2018-04-20 23:06:00 +03:00
Matthew Fisher eb953b6517 bump pack-repo to 0.4.0 2018-04-20 12:51:19 -07:00
Matthew Fisher 659fcf160f Merge pull request #680 from jessfraz/dep-fix
Gopkg.toml: remove errors when running `dep ensure`
2018-04-19 13:16:24 -07:00
Jess Frazelle bc2c819f6f Gopkg.toml: remove errors when running `dep ensure`
The following removed lines where unnecessary since they are in
Gopkg.lock and causing error output when running `dep ensure`:

```
$ dep ensure
dep: WARNING: branch, version, revision, or source should be provided for "github.com/BurntSushi/toml"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/Masterminds/semver"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/fatih/color"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/golang/protobuf"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/gosuri/uitable"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/oklog/ulid"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/rjeczalik/notify"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/spf13/cobra"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/technosophos/moniker"
dep: WARNING: branch, version, revision, or source should be provided for "golang.org/x/crypto"
dep: WARNING: branch, version, revision, or source should be provided for "golang.org/x/net"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/ghodss/yaml"
dep: WARNING: branch, version, revision, or source should be provided for "github.com/hpcloud/tail"
Warning: the following project(s) have [[constraint]] stanzas in Gopkg.toml:

  ✗  golang.org/x/crypto

However, these projects are not direct dependencies of the current project:
they are not imported in any .go files, nor are they in the 'required' list in
Gopkg.toml. Dep only applies [[constraint]] rules to direct dependencies, so
these rules will have no effect.

Either import/require packages from these projects so that they become direct
dependencies, or convert each [[constraint]] to an [[override]] to enforce rules
on these projects, if they happen to be transitive dependencies.
```

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-04-19 16:09:59 -04:00
Matthew Fisher 00993da2ed Merge pull request #658 from bacongobbler/powershell-support
run plugin hooks using powershell in windows
2018-04-19 12:45:57 -07:00
Matthew Fisher 512aea9f00 run plugin hooks using powershell in windows 2018-04-19 12:27:32 -07:00
Michelle Noorali ed67c186c3 Merge pull request #670 from michelleN/override-plugins
feat(cmd/draft): override default plugins and pack-repos
2018-04-19 13:19:40 -04:00
Michelle Noorali f3d7661104 feat(*): override default packs and plugins w/file
adds --config/-f flag to draft init so a user can pass
in a toml file stating which plugins and pack-repos
they'd like to add during the draft init process
2018-04-19 11:28:59 -04:00
Matthew Fisher 0c2d9ecd17 Merge pull request #678 from technosophos/docs/fix-override-ports
docs(dep-006): fix formatting
2018-04-18 09:50:46 -07:00
Brian 830ff38f0e Merge pull request #676 from fibonacci1729/issue_648
enable listing packs in pack repositories
2018-04-18 07:53:17 -06:00
Matt Butcher 1b6f43cf7e docs(dep-006): fix formatting
The formatting on <local-port>:<remote-port> is being interpreted as an
HTML-like tag in GitHub's markdown renderer. This changes it to all caps
like an env var.

I also tried to make it slightly clearer that the first port was the one
on localhost, and the second was the one for the container. Earlier, I
got confused and interpreted "local" as "the port local to the binary"
and "remote" as "the tunnel".
2018-04-17 20:08:50 -06:00
Matthew Fisher b58ec54b99 Merge pull request #677 from technosophos/docs/add-dockerhub-coverage
docs(install): add short section on using DockerHub
2018-04-17 18:57:09 -07:00
Matt Butcher 102b98e191 docs(install): add short section on using DockerHub
Also, fix a small typo.
2018-04-17 19:48:37 -06:00
Matthew Fisher 36954fa05e Merge pull request #674 from radu-matei/custom-tags
Support for custom image tags
2018-04-17 15:45:16 -07:00
fibonacci1729 77d323284c enable listing packs in pack repositories 2018-04-17 16:05:22 -06:00
Radu Matei 38c8fdd5dd Add support for custom image tags 2018-04-18 01:01:13 +03:00
Michelle Noorali 583c6b5cf4 Merge pull request #673 from michelleN/replica-count
ref(packs): change default replicaCount to 1
2018-04-13 23:51:04 -04:00
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
Michelle Noorali 7ca1687f65 Merge pull request #672 from radu-matei/fix-comment-warning
Fix Golang linter warning on comments in builder.go
2018-04-13 11:47:48 -04:00
Radu Matei 954566b847 Fix golang linter warning on comments in builder.go 2018-04-13 18:38:40 +03:00
Michelle Noorali 228857fe50 Merge pull request #664 from radu-matei/logs-directory
Group build logs in directory for each app
2018-04-12 13:12:29 -04:00
Matthew Fisher 8f9e323e3c Merge pull request #668 from bacongobbler/fixup-path-join
fixup calls to path.Join with filepath.Join
2018-04-12 10:12:17 -07:00
Michelle Noorali 231377769a Merge pull request #666 from radu-matei/fix-delete-environment
Avoid deleting any Helm app and add environment flag for delete
2018-04-12 13:12:06 -04:00
Michelle Noorali a540f5028c Merge pull request #667 from michelleN/comments
docs(pkg/draft/local): add OverridePorts descript
2018-04-12 13:10:48 -04:00
Matthew Fisher 14759a4611 fixup calls to path.Join with filepath.Join 2018-04-12 09:11:11 -07:00
Michelle Noorali c286bca565 docs(pkg/draft/local): add OverridePorts descript 2018-04-12 11:44:57 -04:00
Radu Matei 68efbe169a Avoid deleting any Helm app and add add environment flag for delete
Fix test for draft delete
2018-04-12 17:50:41 +03:00
Radu Matei 077a6e46c4 Update logs --tail to use the new log directory 2018-04-12 17:00:18 +03:00
Radu Matei ce57a270ee React to change in logs directory for each app 2018-04-12 16:34:18 +03:00
Radu Matei f0ca0b3ac3 Add logs in directories for each app 2018-04-12 16:33:56 +03:00
Matthew Fisher 63124095da Merge pull request #657 from bacongobbler/inject-version
inject plugin version into the plugin environment
2018-04-10 16:03:27 -07:00
Matthew Fisher f8b64179a6 Merge pull request #649 from maguowei/fix_break_link
fix broken link
2018-04-10 15:33:03 -07:00
Matthew Fisher 4e6e973823 Merge pull request #661 from technosophos/fix/223-fix-set
fix(client): avoid cloning map
2018-04-10 13:12:00 -07:00
Matt Butcher 2ed95b39d0 fix(client): avoid cloning map
Remove `AsMap()` so that map doesn't get cloned.

Closes #223
2018-04-10 14:02:13 -06:00
Michelle Noorali 26897f7a38 Merge pull request #654 from michelleN/fix-pack-flag
fix(cmd/draft): fix --pack flag
2018-04-10 15:35:34 -04:00
Matthew Fisher a07a7aad67 inject plugin version into the environment
This way, install hooks invoked via draft plugin install know which version of the plugin to install.
2018-04-09 16:43:27 -07:00
Michelle Noorali d279da081d Merge pull request #656 from michelleN/skip-create-readme
ref(pkg/draft): skip copying pack readme on create
2018-04-09 14:47:00 -04:00