Commit Graph

266 Commits

Author SHA1 Message Date
Kubernetes Submit Queue f6d11b5594 Merge pull request #3434 from justinsb/makefile_test_tests
Automatic merge from submit-queue. .

Makefile: was not exiting on test failures
2017-09-23 17:28:04 -07:00
Kubernetes Submit Queue 606821edaf Merge pull request #3431 from justinsb/makefile_add_deps_to_gobindata
Automatic merge from submit-queue. .

Makefile: add missing deps to gobindata
2017-09-23 16:53:50 -07:00
Justin Santa Barbara 94cca9be61 Makefile: was not exiting on test failures
bash loops don't exit on error.
2017-09-23 16:23:07 -04:00
Justin Santa Barbara 2a867e1b7e Makefile: add missing deps to gobindata 2017-09-22 23:22:30 -04:00
Justin Santa Barbara 3aa89c8ed3 Makefile: use go install
Have make scan all the deps seems much slower than having go do it.
2017-09-22 23:21:36 -04:00
Lars Lehtonen b98e7f8b0f
Makefile govet depends on ${BINDATA_TARGETS} 2017-09-21 01:26:44 -07:00
Lars Lehtonen 4862f16fda
Makefile kops-install default
Makefile binary targets depend on SOURCES
2017-09-21 01:06:53 -07:00
Kubernetes Submit Queue a4171cd5aa Merge pull request #3400 from justinsb/makefile_use_hack_packages
Automatic merge from submit-queue. .

Makefile: use hack/.packages instead of go list
2017-09-20 20:39:15 -07:00
Justin Santa Barbara 8a02cf4065 Makefile: build kops in dev-mode by default
The default makefile target should do a standard go install of kops
so we don't break existing workflows.
2017-09-16 23:55:38 -04:00
Justin Santa Barbara 752a9b79f1 Makefile: use hack/.packages instead of go list
go list is slow, so we memoize the list of packages in hack/.packages.
2017-09-16 23:46:30 -04:00
Lars Lehtonen 9e3b1d7f34
Makefile remove redundant logic 2017-09-15 14:36:37 -07:00
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