From 7eddf6000cf24f3f676cc8925a53761413ca48c0 Mon Sep 17 00:00:00 2001 From: Evan Louie Date: Thu, 5 Sep 2019 12:02:05 -0700 Subject: [PATCH] Version bump to 0.16.0 --- cmd/version.go | 2 +- docs/component.md | 12 +++++++----- go.mod | 1 + go.sum | 6 ++++++ scripts/build | 18 +++++++++--------- 5 files changed, 24 insertions(+), 15 deletions(-) diff --git a/cmd/version.go b/cmd/version.go index e10136d..59ce36e 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -30,7 +30,7 @@ var versionCmd = &cobra.Command{ // PrintVersion prints the current version of Fabrikate being used. func PrintVersion() { - logger.Info("fab version 0.15.3") + logger.Info("fab version 0.16.0") } func init() { diff --git a/docs/component.md b/docs/component.md index 32bc7c6..e9d4f3c 100644 --- a/docs/component.md +++ b/docs/component.md @@ -16,10 +16,11 @@ component with the following schema: - if `type: helm`: the component will use `helm template` to materialize the component using the specified config under `config` as the `values.yaml` file. - - if `type: static`: - Option 1: the component holds raw kubernetes manifest files in - `path`, these manifests will be copied to the generated output. - Option 2: when using `method: http` and `source: url`, the manifest file (.yaml) is downloaded and installed. Example: `source: https://raw.githubusercontent.com/Azure/kubernetes-keyvault-flexvol/master/deployment/kv-flexvol-installer.yaml` + - if `type: static`: Option 1: the component holds raw kubernetes manifest + files in `path`, these manifests will be copied to the generated output. + Option 2: when using `method: http` and `source: url`, the manifest file + (.yaml) is downloaded and installed. Example: + `source: https://raw.githubusercontent.com/Azure/kubernetes-keyvault-flexvol/master/deployment/kv-flexvol-installer.yaml` - `method`: The method by which this component is sourced. Currently, only `git`, `helm`, and `local` are supported values. @@ -30,7 +31,8 @@ component with the following schema: `helm repo add foo && helm fetch foo/` - if `method: local`: Tells fabrikate to use the host filesystem as a means to find the component. - - if `method: http` and `type: static`: Tells fabrikate to download the manifest file (.yaml) from the `source`. + - if `method: http` and `type: static`: Tells fabrikate to download the + manifest file (.yaml) from the `source`. - `source`: The source for this component. diff --git a/go.mod b/go.mod index 54cb236..cb2847b 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/microsoft/fabrikate go 1.12 require ( + github.com/google/go-github/v28 v28.0.1 github.com/google/uuid v1.1.1 github.com/kyokomi/emoji v2.1.0+incompatible github.com/onsi/ginkgo v1.9.0 // indirect diff --git a/go.sum b/go.sum index 3d89bc6..eff3cc3 100644 --- a/go.sum +++ b/go.sum @@ -42,6 +42,10 @@ github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-github/v28 v28.0.1 h1:SoHeOf40H2xIQpNzGHFeOJwDqPxvEVMyz97hDafpk0Y= +github.com/google/go-github/v28 v28.0.1/go.mod h1:+5GboIspo7F0NG2qsvfYh7en6F3EK37uyqv+c35AR3s= +github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= +github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= @@ -144,6 +148,7 @@ go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -158,6 +163,7 @@ golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAG golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= diff --git a/scripts/build b/scripts/build index d03ca23..fa83b0c 100755 --- a/scripts/build +++ b/scripts/build @@ -7,18 +7,18 @@ fi # cleans test directories helm_repos function clean() { - echo "cleaning test files" - echo "cleaning test/fixtures/install/infra/components" - rm -rf test/fixtures/install/infra/components + echo "cleaning testdata files" + echo "cleaning testdata/fixtures/install/infra/components" + rm -rf testdata/fixtures/install/infra/components - echo "cleaning test/fixtures/install/infra/helm_repos" - rm -rf test/fixtures/install/infra/helm_repos + echo "cleaning testdata/fixtures/install/infra/helm_repos" + rm -rf testdata/fixtures/install/infra/helm_repos - echo "cleaning test/fixtures/install-yaml/components" - rm -rf test/fixtures/install-yaml/components + echo "cleaning testdata/fixtures/install-yaml/components" + rm -rf testdata/fixtures/install-yaml/components - echo "cleaning test/fixtures/install-yaml/helm_repos" - rm -rf test/fixtures/install-yaml/helm_repos + echo "cleaning testdata/fixtures/install-yaml/helm_repos" + rm -rf testdata/fixtures/install-yaml/helm_repos } # runs go get ./...