-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of .git-credentials and switch to GCS #300
Changes from 37 commits
94e8d7e
26fbd5c
1eb4035
d201bba
58a7ce1
a776fad
74db7ab
d68c6db
bfd4c51
dbd2983
50a2787
4f55987
4db20b0
afa1e27
8b61926
aa660b0
2390947
a759b5b
3b62267
b3b76ef
87d0951
ec221d7
fe819bf
322e666
9bd491c
2c4a199
e0c8c19
53ec610
32ae0fa
041b436
64b140d
0277866
6a7616d
1578cba
55a2447
d43681c
5d13972
03e2528
8a7a1b4
3cf728e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: Framework repository | ||
type: docs | ||
weight: 4 | ||
--- | ||
# Framework repository | ||
|
||
KUDO CLI comes with built-in official repository of verified frameworks. Every time you use `kudo install ...` command, it always pulls package from this repository. | ||
|
||
## Repository implementation | ||
|
||
KUDO can work with any repository exposed over HTTP that conforms the expected structure. The official repository is hosted on Google Cloud Storage. | ||
|
||
In the root of the repository we expect `index.yaml` file similar to the following example: | ||
|
||
```yaml | ||
apiVersion: v1 | ||
entries: | ||
yourframework: | ||
- apiVersion: v1alpha1 | ||
appVersion: 7.0.0 | ||
name: yourframework | ||
urls: | ||
- https://kudo-repository.storage.googleapis.com/elastic-0.1.0.tgz | ||
version: 0.1.0 | ||
``` | ||
|
||
The url leads to a location where the tarball package is hosted. It could be internal as well as external url (inside that repository or outside). | ||
|
||
## How to add new package | ||
|
||
All official packages right now are mirrored from the [github repository](https://github.com/kudobuilder/frameworks). To add new framework, create a PR against that repo. | ||
|
||
## How to update package | ||
|
||
The process here is the same as for adding new package. You need to create PR against the [github repository](https://github.com/kudobuilder/frameworks). |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,12 @@ module github.com/kudobuilder/kudo | |
go 1.12 | ||
|
||
require ( | ||
cloud.google.com/go v0.36.0 // indirect | ||
cloud.google.com/go v0.38.0 // indirect | ||
github.com/Masterminds/goutils v1.1.0 // indirect | ||
github.com/Masterminds/semver v1.4.2 // indirect | ||
github.com/Masterminds/semver v1.4.2 | ||
github.com/appscode/jsonpatch v0.0.0-20190108182946-7c0e3b262f30 // indirect | ||
github.com/emicklei/go-restful v2.9.0+incompatible // indirect | ||
github.com/ghodss/yaml v1.0.0 // indirect | ||
github.com/go-logr/logr v0.1.0 // indirect | ||
github.com/go-logr/zapr v0.1.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.18.0 // indirect | ||
|
@@ -19,13 +20,16 @@ require ( | |
github.com/gobuffalo/envy v1.6.15 // indirect | ||
github.com/gogo/protobuf v1.2.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect | ||
github.com/golang/protobuf v1.3.1 // indirect | ||
github.com/google/btree v1.0.0 // indirect | ||
github.com/google/go-github v17.0.0+incompatible | ||
github.com/google/go-querystring v1.0.0 // indirect | ||
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf // indirect | ||
github.com/google/martian v2.1.0+incompatible | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need to introduce this here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good catch. That was a PR feedback from Gerred, but I was supposed to use whatever controller uses and I screw it up :) Now that I see what controller uses (it's a controller-runtime kubernetes log libbrary) I would probably stick with printing out for now and introduce a logging library (like |
||
github.com/google/uuid v1.1.0 // indirect | ||
github.com/googleapis/gnostic v0.2.0 // indirect | ||
github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc // indirect | ||
github.com/hashicorp/golang-lru v0.5.0 // indirect | ||
github.com/hashicorp/golang-lru v0.5.1 // indirect | ||
github.com/huandu/xstrings v1.2.0 // indirect | ||
github.com/imdario/mergo v0.3.7 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
|
@@ -53,14 +57,18 @@ require ( | |
go.uber.org/atomic v1.3.2 // indirect | ||
go.uber.org/multierr v1.1.0 // indirect | ||
go.uber.org/zap v1.9.1 // indirect | ||
golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67 // indirect | ||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3 | ||
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd | ||
golang.org/x/oauth2 v0.0.0-20190212230446-3e8b2be13635 // indirect | ||
golang.org/x/sys v0.0.0-20190213121743-983097b1a8a3 // indirect | ||
golang.org/x/tools v0.0.0-20190214195451-78f9822548c1 | ||
golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d // indirect | ||
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 | ||
golang.org/x/net v0.0.0-20190502183928-7f726cade0ab | ||
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a // indirect | ||
golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect | ||
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 | ||
google.golang.org/appengine v1.5.0 // indirect | ||
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect | ||
gopkg.in/go-playground/validator.v9 v9.27.0 | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.2.2 | ||
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a | ||
k8s.io/api v0.0.0-20181213150558-05914d821849 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove the word
always