Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Version bump to 0.16.0 #255

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
12 changes: 7 additions & 5 deletions docs/component.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -30,7 +31,8 @@ component with the following schema:
`helm repo add foo <my_helm_repository> && helm fetch foo/<path>`
- 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.

Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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=
Expand All @@ -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=
Expand Down
18 changes: 9 additions & 9 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down