Commit Graph

123 Commits

Author SHA1 Message Date
Justin Santa Barbara 753eef5fd1 Cleanup of protokube image building & tagging
Should fix problems with tagging
2017-03-01 21:16:32 -05:00
Zach Loafman 31462edff8 build: Fix what's actually exported 2017-03-01 12:35:33 -08:00
Justin Santa Barbara 2af3961d02 Sanitize docker tag consistently
We need to use the same logic in the Makefile when we build the image,
and in kops when we reference the image.
2017-03-01 14:14:19 -05:00
Zach Loafman 3078985bb6 build: Fix protokube tag during build
This got past the PR builder / Travis because the PR builder
explicitly sets VERSION, and Travis isn't setting "CI". (I think.)
2017-03-01 10:55:06 -08:00
Zach Loafman ee78e633f1 build: Make CI build versions look real
This is a stopgap until we can do something more clever here, like the
tagging done in the k8s repo.
2017-03-01 09:01:45 -08:00
Justin Santa Barbara a8c6b813da Tag 1.5.2-beta.2 2017-02-24 09:16:49 -05:00
Justin Santa Barbara 4557ee7b9e Add socat to CoreOS
We build a statically linked version and distribute it with kops.

Note that our version of socat does not include libssl, but kubernetes
does not use it anyway.
2017-02-24 01:24:25 -05:00
Chris Love 95397959e3 Merge pull request #1923 from justinsb/fix_1788
dns-controller: include namespace in keys
2017-02-19 13:29:21 -07:00
Justin Santa Barbara 31394aedfa dns-controller: include namespace in keys
Avoids collisions when two services are named the same (for example).

Fix #1788
2017-02-15 23:58:25 -05:00
Justin Santa Barbara c4a705880e Tag 1.5.2-beta.1
The CoreOS changes need a new nodeup; easiest way is probably to tag a
beta of the next release.
2017-02-15 01:48:00 -05:00
Chris Love 89a14c0641 Merge pull request #1797 from justinsb/conversion_v1alpha2
Add v1alpha2 conversion functions
2017-02-13 22:30:19 -07:00
Justin Santa Barbara c94da4436b Makefile: hint on how to install sha1sum 2017-02-11 14:03:36 -05:00
Jakub Paweł Głazik bffcc13154 Fix minor build error related to detecting sha1sum
$(error .. ) expression evaluates to empty string which means it
cannot be preceeded with TAB character as it is treated as command then.

See http://stackoverflow.com/a/4713737

This obsoleted #1838
2017-02-10 21:51:55 +01:00
Manuel de Brito Fontes 23592608b5 Check sha1sum command exists 2017-02-07 13:45:36 -03:00
Justin Santa Barbara 01deca826c Tag release 1.5.1 2017-02-07 01:54:30 -05:00
Justin Santa Barbara 4402ce2180 Tag 1.5.0 2017-02-06 20:44:16 -05:00
Justin Santa Barbara dd4b9b08c6 Add v1alpha2 conversion functions 2017-02-06 20:31:53 -05:00
andrewsykim 55fa7d1d93 run govet and gofmt as first steps in CI 2017-02-04 20:47:10 -05:00
Justin Santa Barbara 1d32f7065f Mark beta2 2017-02-01 12:37:28 -05:00
Justin Santa Barbara b419f2013d Bump to 1.5.0-beta1 2017-01-25 23:45:13 -05:00
Justin Santa Barbara 587c341dd7 Fix boilerplate / gofmt 2017-01-25 09:13:45 -05:00
Justin Santa Barbara 8154ab7bd2 Merge pull request #1581 from justinsb/fix_1057
Record git version of what we're building
2017-01-25 00:16:38 -05:00
Justin Santa Barbara a60d7982e0 Tag alpha4, dns-controller 1.5.1 2017-01-21 15:20:31 -05:00
Justin Santa Barbara b584aebbc3 Record git version of what we're building
If we're running from a different directory (most commonly a checkout
into src/github.com/kubernetes/kops), the git sha would be the sha of
the working directory, but then we always build by name.

Fix by changing to the correct directory first.

Fix #1057
2017-01-20 21:54:26 -05:00
Justin Santa Barbara 082abaacd7 Unset KOPS_STATE_STORE when calling genhelpdocs
Fix #1365
2017-01-17 00:27:58 -05:00
Kris Nova 2dad37aeec Merge pull request #1482 from justinsb/always_include_gitsha
Always include a gitsha in the version
2017-01-15 20:21:57 -07:00
Justin Santa Barbara 6a23c82d63 Always include a gitsha in the version
Fix #1462
2017-01-15 17:14:37 -05:00
Justin Santa Barbara 4de7f2c0c7 Build for apimachinery builders from vendor 2017-01-15 16:02:17 -05:00
Justin Santa Barbara 55f9d8b601 Tag alpha3 2017-01-11 01:05:12 -05:00
Justin Santa Barbara d95a362960 Update makefile for 1.5.0-alpha2 2017-01-09 23:38:12 -05:00
Zach Loafman 2ee209dea5 kops: Always enable CI versioning on gcs-upload-ci target
Follow-on to https://github.com/kubernetes/kops/pull/1380, relies on
https://www.gnu.org/software/make/manual/make.html#Target_002dspecific
to override the target used for CI upload.
2017-01-09 11:04:58 -08:00
Zach Loafman 1051a31fd1 Merge pull request #1380 from justinsb/ci_use_git_version
Recognize CI=1 to makefile, use git sha for VERSION
2017-01-09 10:57:15 -08:00
Justin Santa Barbara 0a56d3d2e1 Raise an error on an invalid s3 path
Fix #902
2017-01-08 14:37:46 -05:00
Justin Santa Barbara 53135fa57e Add conversion tests, and fix some problems
* We were naming our etcd zones inconsistently
* When we wrote to v1alpha2, we would change the etc member names

Fix #1202
2017-01-07 21:54:15 -05:00
Justin Santa Barbara 6f2567d189 Recognize CI=1 to makefile, use git sha for VERSION
This means that end-users can have an easy experience without needing to
upload nodeup/protokube, but CI can still get the git-based unique
version as long as it sets CI=1
2017-01-07 11:00:54 -05:00
Justin Santa Barbara 9314575953 Working on expressing how we expose services like the API 2017-01-04 23:04:30 -05:00
Justin Santa Barbara 29d5a99fc3 Default version to (pre)released version
Otherwise people that build from source need to upload a custom build
2017-01-04 00:40:43 -05:00
Justin Santa Barbara fbbfa98872 Merge pull request #1318 from justinsb/images_over_http
Load protokube from http/https
2017-01-03 22:31:03 -05:00
Justin Santa Barbara 65e109f77f Add comment about deprecation of protokube-push makefile target 2017-01-03 21:08:59 -05:00
Justin Santa Barbara 66d5d55195 Fixes per code review 2016-12-31 16:03:23 -05:00
Justin Santa Barbara 8a27c363d0 Don't docker run interactive 2016-12-31 15:21:27 -05:00
Justin Santa Barbara 5d6d0f5f5d Load protokube from http/https
This helps us treat protokube as being paired with nodeup, and is a step
towards registry-less deployments (and isolated deployments) along with
moving away from our deprecated gcr.io usage.
2016-12-31 15:21:20 -05:00
Justin Santa Barbara e63dab8b9c Verify gofmt as part of build 2016-12-30 16:25:07 -05:00
Chris Love 29301aadba Merge pull request #947 from justinsb/protokube_mounts
Protokube should mount volumes in a consistent order
2016-12-27 16:34:45 -07:00
Zach Loafman 91dc93abec protokube / nodeup: Up kubectl to v1.5.1, bump protokube tag to 1.5.0 2016-12-27 12:39:24 -08:00
Justin Santa Barbara 911826e397 Protokube should mount volumes in a consistent order
And always mounting the main volume first should be a little faster

Fix #934
2016-12-26 11:47:17 -05:00
Justin Santa Barbara 064abd0d18 Fix e2e: nodeup-dist can continue to build in docker 2016-12-22 02:38:14 -05:00
Vince Montalbano ba9f296b0d working crossbuild 2016-12-21 10:35:01 -06:00
Vince Montalbano 74edc094f0 Ability to cross-compile nodeup 2016-12-20 21:07:04 -06:00
Chris Love 47f6a167d3 Merge pull request #1216 from justinsb/docs_api_machinery_v1
Initial doc for API machinery
2016-12-20 11:14:36 -07:00