Commit Graph

505 Commits

Author SHA1 Message Date
Lars Lehtonen 17045a5770
Makefile build channels in local subdirectory 2017-09-14 22:01:29 -07:00
Lars Lehtonen c694ac9946
Makefile UPLOAD variable 2017-09-14 22:01:29 -07:00
Lars Lehtonen 1f3bd6b8b8
Makefile use DIST and IMAGES variables 2017-09-14 22:01:29 -07:00
Lars Lehtonen b9eed7f82f
Makefile remove nodeup-gocode
Makefile nodeup-dist clean up permissions in container

Makefile install and all depend on ${NODEUP}
2017-09-14 22:01:29 -07:00
Lars Lehtonen 89611d1cd0
Makefile nodeup-dist path tweak 2017-09-11 19:29:10 -07:00
Lars Lehtonen 48f4834c49
Makefile local nodeup
Makefile install includes nodeup
2017-09-11 18:56:24 -07:00
Lars Lehtonen 4a5929ffa2
Makefile run tests individually 2017-09-11 18:44:44 -07:00
Lars Lehtonen bf4e7e7e96
Remove -it flag from Docker invocations in Makefile crossbuild-in-docker 2017-09-11 18:27:48 -07:00
Lars Lehtonen 772b3b247b
Makefile improvements
Makefile separate install directive from kops

Makefile TESTABLE_PACKAGES variable to opt-out of testing

Makefile .build/local to keep development kops and go-bindata out of PATH

Makefile fewer PHONY targets that actually generate artifacts

Makefile prevent root-owned artifacts
2017-09-11 17:52:17 -07:00
Lars Lehtonen 5f6751ba30
Prevent Docker build environments from creating root-owned artifacts 2017-09-07 20:32:01 -07:00
Lars Lehtonen 63fc774ba9
Makefile clean marked as PHONY
Makefile move gobindata-tool dependency off individual bindata.go targets and on to the existing kops-gobindata target
2017-09-06 15:22:26 -07:00
Lars Lehtonen 7092411cb7
Makefile individual recipes for ${BINDATA_TARGETS} 2017-09-02 17:51:49 -07:00
Lars Lehtonen 475e877e80
Makefile clean 2017-09-02 17:35:31 -07:00
Justin Santa Barbara 022529c470 Bump version to 1.7.1-beta.2
This also will let master work again without a custom nodeup (nodeup
changes)
2017-09-02 11:14:51 -04:00
andrewsykim 0411ba270e Create cluster requirements for DigitalOcean 2017-08-22 09:01:19 -04:00
andrewsykim 525fde3609 implement digitalocean volumes task 2017-08-21 09:50:36 -04:00
chrislovecnm ee17e6567c starting work on file assets builder 2017-08-18 13:04:12 -06:00
Justin Santa Barbara 6d554d6f1d Bump version to 1.7.1-beta.1
This also will let master work again without a custom nodeup (nodeup changes)
2017-08-16 10:04:37 -04:00
Ionut Craciunescu 14526aedea fixed white space 2017-08-01 00:35:49 +01:00
Ionut Craciunescu 847bf0c2e1 updates to support aws disks with provisioned iops 2017-08-01 00:28:21 +01:00
Justin Santa Barbara 2c118910af Mark 1.7.0 kops version 2017-07-26 23:50:19 -04:00
Kubernetes Submit Queue b462053087 Merge pull request #3004 from justinsb/openapi
Automatic merge from submit-queue

Add gen-api-docs target to makefile

Following instructions in docs/apireference/README.md
2017-07-22 05:43:14 -07:00
Justin Santa Barbara 868c3a2bfb Add gen-api-docs target to makefile 2017-07-21 10:51:33 -04:00
Justin Santa Barbara 76743e64de Copy docker images when they are redirected 2017-07-20 23:40:46 -04:00
Justin Santa Barbara 8055fe506a Mark kops 1.7.0-beta.1 2017-07-19 22:53:31 -04:00
chrislovecnm afdf0032e6 versioning kops-server container, and changing container to kubernetes default image 2017-07-17 16:18:42 -06:00
Chris Love fc7216c8ce Merge pull request #2962 from BradErz/fix-2642
Unsetting the variable in the Make file
2017-07-16 13:31:03 -06:00
Bradley b83f55ca83 Unsetting the variable in the Make file 2017-07-16 11:24:35 +01:00
Justin Santa Barbara aae256939d Add back integration tests into CI
Looks like I accidentally (rebase?) removed it in
a7c2c554e1

Fix #2070
2017-07-15 22:13:05 -04:00
Justin Santa Barbara 8bde5317c1 Bump dns-controller & kops for 1.7.0-alpha.1 2017-07-07 00:57:10 -04:00
Chris Love db8c75b12c Merge pull request #2848 from justinsb/go_versions_17
Makefile targets for go 1.8 & 1.9
2017-07-04 10:59:35 -06:00
Justin Santa Barbara c750fae232 Update makefile for 1.7 2017-07-02 13:10:28 -04:00
Justin Santa Barbara d07b0bca51 check-build Makefile targets for 1.8 & 1.9
Also runs the full ci target now
2017-07-01 12:17:43 -04:00
Justin Santa Barbara 031941cba6 Merge pull request #2814 from chrislovecnm/update-version
Setting versions for go and kubectl in protokube
2017-07-01 12:02:31 -04:00
chrislovecnm 96271b05df Setting versions for go and kubectl in protokube 2017-06-24 18:35:32 -06:00
chrislovecnm 38aae71bee updating found govet issues and adding test directory 2017-06-23 16:42:33 -06:00
Justin Santa Barbara e945322cab Support generated clientset as alternative to vfs clientset
We modelled our VFS clientset (for API objects backed by a VFS path)
after the "real" clientsets, so now it is relatively easy to add a
second implementation that will be backed by a real clientset.

The snafu here is that we weren't really using namespaces previously.
Namespaces do seem to be the primary RBAC scoping mechanism though, so
we start using them with the real clientset.

The namespace is currently inferred from the cluster name.  We map dots
to dashes, because of namespace limitations, which could yield
collisions, but we'll deal with this by simply preventing users from
creating conflicting cluster names - i.e. you simply won't be able to
create a.b.example.com and a-b.example.com
2017-06-20 22:29:37 -04:00
Justin Santa Barbara 98ae12a152 Release 1.6.2 2017-06-20 17:01:42 -04:00
Justin Santa Barbara 8571924843 Bump dns-controller version for fixes 2017-06-19 14:16:36 -04:00
Willem Mali 60ad299075 moved verify-gendocs into Makefile and tightened Makefile safety (enabled noclobber, errexit and errunset) 2017-06-12 22:25:14 +02:00
Justin Santa Barbara 22b22ccd28 Version 1.6.1 2017-06-11 17:03:13 -04:00
chrislovecnm 04a48357bf duplicate test 2017-05-29 23:41:37 -06:00
Justin Santa Barbara f69a313ce7 Update version to 1.6.0 2017-05-16 11:29:43 -04:00
Willem Mali cc7fdf91f4 Implemented a Git hook for the CI tests and related installer in the Makefile.
Funnily enough, while trying to commit the hook code it rejected my commit because the hook was missing the standardized script header.
2017-05-14 18:25:38 +02:00
Willem Mali 7f4e38ae78 Merge new master into implement-makefile-help 2017-05-13 10:49:12 +02:00
Willem Mali e43270940a added help target to Makefile and fixed a path ordering issue in the gen-cli-docs target 2017-05-12 15:27:45 +02:00
Willem Mali 07aa0ca124 marked all phony targets with .PHONY: <target> 2017-05-12 14:31:14 +02:00
chrislovecnm ad99a2e002 tweaking makefile so that KOPS_STATE_STORE is not in the build 2017-05-05 11:03:31 -06:00
chrislovecnm 7487b0d756 updating docs, adding verify-gendocs and more build tweaks 2017-05-04 18:58:10 -06:00
Justin Santa Barbara 81e8a90478 Tag 1.6.0-beta.1
Bumping dns-controller also to 1.6.1, for the gossip DNS support.
2017-05-02 10:25:33 -04:00
chrislovecnm 87d2475c23 bumping go version to 1.8.1 2017-04-26 22:35:47 -06:00
Justin Santa Barbara c8b18be9dd Gossip backed DNS 2017-04-25 01:32:21 -04:00
Justin Santa Barbara 787803f32b Merge pull request #2410 from reactiveops/cli-docs-proposal
Proposes standards for grammar for Cobra CLI Docs
2017-04-25 00:11:10 -04:00
Eric Hole 0842e737a5 Proposes standards for grammar for CLI 2017-04-22 18:55:34 -04:00
Miao Luo b15014f9a3 Address review comments and add installing instructions. 2017-04-20 23:37:41 -07:00
prashima fc8faea2c8 Fixed environment variable setting process for vSphere. (#16) 2017-04-20 23:37:19 -07:00
prashima bc3e8c3734 Added code to enable nodeup and protokube building and execution for vSphere VM (#11)
* Added code to enable nodeup and protokube building and execution for vSphere VM.

* Fixed nodeup template for vSphere.
2017-04-20 23:37:19 -07:00
prashima e51e841d0c Added vSphere volumes to protokube, updated vSphere testing doc and makefile. (#1)
* Add vSphere volumes to protokube. Update vSphere testing doc and makefile.

* Updated vsphere_volume to get correct IP. Addressed comments.
2017-04-20 23:33:20 -07:00
Justin Santa Barbara d57cedaf73 Update makefile to 1.6.0-alpha.2 2017-04-11 00:59:58 -04:00
Justin Santa Barbara a7c2c554e1 channels: support targeting kubernetes versions 2017-04-08 11:08:03 -04:00
Eric Hole 1cba0bd27f Merge pull request #2138 from kris-nova/bypass-kubeconfig
Expose options.CreateKubecfg to the CLI
2017-04-03 09:39:30 -04:00
Justin Santa Barbara 9b4707f347 Link to shipbot; fix makefile target 2017-03-30 10:52:29 -04:00
Justin Santa Barbara a4ea3ea5da Merge pull request #2238 from justinsb/release_160_alpha1
Version updates for 1.6.0-alpha.1
2017-03-30 10:38:27 -04:00
Justin Santa Barbara 5a539882b0 Version updates for kops 1.6.0-alpha.1 2017-03-30 01:08:55 -04:00
Justin Santa Barbara 2759a5fa6c Update to golang 1.7.5
Kubernetes did so in https://github.com/kubernetes/kubernetes/pull/41771

We're also starting to see failures with pulling the 1.7.4 image
2017-03-29 23:01:02 -04:00
Kris Nova 5fdee1ad1f Merge pull request #2204 from kris-nova/uas
API Server - rebased on 1.6 vendor changes, and compiling main.go
2017-03-28 15:48:36 +02:00
Justin Santa Barbara cb8ea7e043 Use repeated flags for log-opt to docker
Also add tests for the expected format
2017-03-28 00:53:31 -04:00
Kris Nova 687ff420b4 Reset server main.go and Makefile to 71e78cafc186b715a58c24788e9714abced26f85 2017-03-28 06:10:22 +02:00
Kris Nova 0497fceaec Initial commit before rebasing 2017-03-28 06:10:22 +02:00
Justin Santa Barbara 4fdded6e4b Fixes for updated apiserver/apimachinery 2017-03-28 06:10:21 +02:00
Kris Nova 3e75901e99 Getting API server running in a kubernetes cluster with helm and docker containers 2017-03-28 06:10:21 +02:00
Justin Santa Barbara 4006741a5d Update for new taints / labels names 2017-03-27 23:13:39 -04:00
andrewsykim 35afd5e354 Fix circular dependency in file node task 2017-03-27 22:24:23 -04:00
Justin Santa Barbara bdf0d04b0a Merge pull request #2104 from justinsb/container_optimized_os
Initial Container-Optimized OS support
2017-03-27 10:21:39 -04:00
Justin Santa Barbara b595a88a18 Merge pull request #2140 from justinsb/goimports
Script to call goimports
2017-03-26 00:04:03 -04:00
Kris Nova 047800a96f Adding docs and fixing Makefile 2017-03-21 13:17:43 -06:00
Justin Santa Barbara b9204e9911 Initial Container-Optimized OS support
Add initial support for google's container-optimized OS (available on
GCE).
2017-03-20 23:47:37 -04:00
Eric Hole 1336d9f5e6 Update KOPS_RELEASE_VERSION from the beta 2017-03-20 09:16:29 -04:00
Justin Santa Barbara a41e7598ca Script to call goimports
Trying out python
2017-03-16 09:42:38 -04:00
Justin Santa Barbara cb4641fea3 Code updates 2017-03-16 02:40:50 -04:00
Daniel Nelson 4cad4bd519 Fix makefile to correctly detect macOS shasum 2017-03-10 11:24:40 -08:00
Justin Santa Barbara b4b9bcb53e makefile: replace protokube.tar.gz 2017-03-02 12:14:35 -05:00
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
Justin Santa Barbara 39a1ecaec4 Initial doc for API machinery
Fix #1164
2016-12-20 10:56:27 -05:00
Justin Santa Barbara 846b7601db Configure DockerVersion in Docker Spec
And automatically choose 1.12.3 for k8s >= 1.5, 1.11.2 for < 1.5

Fix #849
2016-12-20 00:34:40 -05:00
Justin Santa Barbara fed68310fa Schema v1alpha2
* Zones are now subnets
* Utility subnet is no longer part of Zone
* Bastion InstanceGroup type added instead
* Etcd clusters defined in terms of InstanceGroups, not zones
* AdminAccess split into SSHAccess & APIAccess
* Dropped unused Multizone flag
2016-12-18 21:56:57 -05:00
Justin Santa Barbara afd0c25abe First model -> tf test 2016-12-11 17:11:10 -05:00
chrislovecnm 8f37300cbf cleaning up go versions in ci and Makefile 2016-12-04 13:13:32 -07:00
Justin Santa Barbara ae397518e3 Add verify-boilerplate target 2016-12-03 18:45:16 -05:00
chrislovecnm f39a8a6ef8 adding hack/verify-boilerplate.sh to make ci target 2016-12-03 14:45:01 -07:00
Aman 0cc6bc11f1
Add test command for dns-controller in Makefile 2016-11-30 18:41:53 +05:30
Kris Childress 72c5868966 Merge pull request #707 from DualSpark/node-validation
New feature - node validation
2016-11-29 16:47:44 -07:00
Zach Loafman 3cf2c87908 gcs-upload: Use a no-clobber copy instead 2016-11-29 09:16:42 -08:00
Zach Loafman 1263cdfa59 gcs-upload: Fix cache-control on other files as well 2016-11-29 08:33:47 -08:00
chrislovecnm 8a1934ae8b unit tests with fakes
updating docs
2016-11-28 18:17:53 -07:00
Justin Santa Barbara 35cd96f359 Apply gofmt to pkg directory
It was omitted from the makefile `make gofmt`
2016-11-28 02:11:47 -05:00
Zach Loafman 1f657990b3 Disable kubelet from starting until after volume mounts
* Change protokube to do `systemctl start kubelet` every sync round
** .. which takes a change to the systemd unit for protokube to mount in D-Bus
* Don't start kubelet in nodeup
2016-11-23 11:30:19 -08:00
Justin Santa Barbara 8c6d4def8d Add examples to CI
Issue #888
2016-11-14 09:05:42 -05:00
Justin Santa Barbara 9ae1cd308b Apply gofmt to federation directory 2016-11-13 21:12:39 -05:00
Billy Shambrook 8e979ca434 add genhelpdocs cmd to generate cli markdown docs 2016-11-05 18:41:47 +00:00
Chris Love 635f7d989d Merge pull request #698 from justinsb/update_golang
Update golang version to 1.7.1
2016-10-18 23:01:04 -06:00
Justin Santa Barbara fc4a92bc66 Update golang version to 1.7.1
It's not ideal, because golang 1.7.1 is so new, but it fixes some pretty
serious issues with MacOS Sierra, which end users are now getting
prompted to install.
2016-10-19 00:14:02 -04:00
Justin Santa Barbara 6ec5da2827 Add unit test for deleting untagged route table 2016-10-18 22:16:05 -04:00
Zach Loafman b1d6b875a8 build: Fix Cache-Control headers on latest file so it's picked up faster 2016-10-18 15:55:01 -07:00
Zach Loafman 09e4bff6c9 kops build: Log gcloud info instead of gcloud auth
Testing a theory for #664
2016-10-17 14:50:05 -07:00
Zach Loafman baacd7cbbb kops build: `gcloud auth list` prior to upload, for diagnostics
c.f. #664
2016-10-17 14:11:32 -07:00
Chris Love 6ceeb25d10 Merge pull request #654 from justinsb/govet_fixes
govet fixes; add govet makefile target
2016-10-15 21:00:36 -06:00
Justin Santa Barbara d3f69496e4 Merge pull request #649 from DualSpark/testing-improvements
Fixing code headers
2016-10-15 21:34:58 -04:00
chrislovecnm 8fa2aac99f fixing more headers 2016-10-15 19:20:56 -06:00
Justin Santa Barbara ede4f6381b Add govet to ci makefile target 2016-10-15 21:14:01 -04:00
Chris Love 715c332292 Merge pull request #656 from justinsb/doc_dependencies
Add doc for our approach to dependencies
2016-10-15 11:44:28 -06:00
Justin Santa Barbara d7a2b0ba39 Add doc for our approach to dependencies 2016-10-15 13:26:41 -04:00
Justin Santa Barbara 3f54852497 govet fixes; add govet makefile target 2016-10-15 13:25:31 -04:00
JuJu227 ec261734e6 go build '-o'(object creatation option breaks whenever you path traversal(/...). By removing the path traversal, you are able to successfully build the output file. 2016-10-14 11:21:32 -04:00
Justin Santa Barbara 58a8daf63e Experimental support for federation
Highly experimental right now, and has exposed some upstream issues (I
believe), but adding so that people can start playing.
2016-10-11 10:29:46 -04:00
Justin Santa Barbara 4bca0a37d1 Merge pull request #610 from justinsb/centos
Preliminary support for CentOS7 / RHEL7
2016-10-07 14:28:37 -04:00
Justin Santa Barbara d965f14e4b Add apply to example 2016-10-07 02:27:41 -04:00
Justin Santa Barbara a6b53875d8 Merge pull request #593 from justinsb/fix_584
Configure dns-controller with ID of hosted zones
2016-10-07 01:07:39 -04:00
Justin Santa Barbara d86390c172 CentOS7 initial experimental support 2016-10-06 23:23:30 -04:00
Justin Santa Barbara b2cd870977 Fix paths for nodeup in dev makefile targets 2016-10-06 17:13:02 -04:00
Justin Santa Barbara a529ffbb65 Configure dns-controller with ID of hosted zones
Fix #584
2016-10-06 13:12:27 -04:00
Justin Santa Barbara 146babbd27 Disable ingress DNS integration for 1.4.0
There are still some problems with the default nginx controller
2016-10-01 17:25:11 -04:00
Justin Santa Barbara 655a61588e Switch all the final switches for release 1.4
Also apply the 1.4 schema changes.
2016-10-01 13:50:19 -04:00
Justin Santa Barbara 7f26c8b9e1 Protokube: master tainting and channel creation 2016-10-01 00:16:28 -04:00
Justin Santa Barbara 732fd7c07b Simple addon management tool 2016-09-25 18:27:15 -04:00
Justin Santa Barbara 36d36408ea Add travis CI support 2016-09-25 12:21:43 -04:00
Justin Santa Barbara 40c2c443be Fix godep prefix 2016-09-24 13:24:03 -04:00
Justin Santa Barbara b80844156e Exclude files from go-bindata
This also lets us specify the whole models directory, but we ignore *.go

Fix #443
2016-09-24 13:14:29 -04:00
Justin Santa Barbara 9c6f064667 Use --delete when copying deps from _vendor -> vendor
Otherwise removed files upstream aren't removed
2016-09-24 13:07:59 -04:00
Zach Loafman f4d7b8de11 build: Prefer publishing https:// 2016-09-21 12:35:46 -07:00
Zach Loafman 8d540c4eb4 Build: Publish latest-ci.txt as well 2016-09-21 11:19:21 -07:00
Zach Loafman acb39a18c7 Build: Actually change to 1.6, docker build with curdir instead of GOPATH 2016-09-20 15:53:19 -07:00
Zach Loafman 642c68c842 Build changes: Static compile, add 1.7, add crossbuild-in-docker, etc.
* Adds support for statically building
* Adds crossbuild-in-docker
* Reworks nodeup-in-docker to just use golang image (saves time vs rebuilding image)
* Adds build rule for GCS upload
* Adds go1.7 build check
2016-09-20 14:22:01 -07:00
Justin Santa Barbara f077f47f14 Fix makefile backcompat targets, broken by gobindata 2016-09-15 09:35:56 -04:00
Justin Santa Barbara 421abdf48f Some more makefile tweaks 2016-09-08 02:02:28 -04:00
Justin Santa Barbara ef1f64f308 Start cleaning up API: optional fields should be pointers 2016-09-08 00:49:40 -04:00
Justin Santa Barbara 758bb90a7f Makefile tweaks to support binary release 2016-09-07 23:59:06 -04:00
Justin Santa Barbara 6aa4cd63d8 Merge pull request #406 from justinsb/crossbuild
Simple crossbuild support
2016-09-07 23:09:27 -04:00
Justin Santa Barbara 87f283c7d2 Improve speed of docker image build, by scoping context dir 2016-09-07 23:07:13 -04:00
Justin Santa Barbara d3ab070b0d Use go-bindata to embed our models
This allows us to have single-file deployment
2016-09-07 11:56:03 -04:00
Justin Santa Barbara d63eef50fb Simple crossbuild support 2016-09-07 00:51:04 -04:00
Justin Santa Barbara ef7dddf2af Style nits for makefile 2016-08-27 15:18:05 -04:00
chrislovecnm a243eb3f07 updates to Makefile for nodeup build in docker 2016-08-23 12:37:19 -06:00
Justin Santa Barbara 2bc5a3cd61 Add makefile target for go16 as well
We should have a target for all our supported versions
2016-08-16 09:57:30 -04:00
Justin Santa Barbara fbd703647a Create test-build command for go 1.7 2016-08-16 02:04:11 -04:00
Justin Santa Barbara 4b7adf6884 Use submodules instead of glide
Manual management of dependencies still seems easier, sadly.
2016-07-26 11:23:24 -04:00
Justin Santa Barbara bdb8e77079 Import code for new DNS controller
It uses the dnsprovider code in the k8s repo, and it looks for
annotations on pods, ingress, nodes & services.
2016-07-24 23:42:49 -04:00
Justin Santa Barbara 9a741043bc Fix build with golang 1.5
Replace big.Int Text(10) with String()

Also create a makefile target to test building with golang 1.5:
check-builds-in-go15

Fixes #163
2016-07-22 22:49:54 -04:00
Justin Santa Barbara 31892fb08d Refactor tests for cleaner separation 2016-07-22 10:19:01 -04:00
Michel Alexandre Salim 10f2753394 Support the use case where GOPATH is a colon-separated list of paths
Previously Makefile targets assume that ${GOPATH} contains a single path;
however, this is not the case esp. for Go Version Manager users.

Support this use case by defining ${GOPATH_1ST} to be the first path in
${GOPATH}, and using ${GOPATH_1ST} in the targets.
2016-07-15 13:17:03 +07:00
Justin Santa Barbara d77d6f4859 Add version command that prints compiled version
Fix #128
2016-07-12 22:30:12 -04:00
Justin Santa Barbara c956bdada5 Update & get tests working again
They're still hitting the AWS APIs, have terrible coverage and are slow.
But it's a start!
2016-07-06 00:33:07 -04:00
Justin Santa Barbara 2cf46731aa Makefile improvements
Fix some paths; don't try to push to production buckets.

Reorganize protokube into the main Makefile
2016-07-05 11:54:41 -04:00
Justin Santa Barbara 15594eb1ac Fix makefile gofmt code path 2016-07-01 10:02:04 -04:00
Justin Santa Barbara d8b661777b Merge cloudup tool into `kops create cluster` 2016-06-30 10:25:50 -04:00
Justin Santa Barbara d427858477 Rename to kops
The upup tool is now called kops, and we have moved repos
2016-06-30 09:25:25 -04:00