Justin Santa Barbara
14aa1dc18f
Merge pull request #343 from justinsb/custom_build
...
Make it easy to run a custom build
2016-08-19 00:35:11 -04:00
Justin Santa Barbara
9829eb8579
Make it easy to run a custom build
...
We introduce two env vars:
* NODEUP_URL url to nodeup that we want to run
* PROTOKUBE_IMAGE specifies the protokube Docker image to run
2016-08-19 00:13:56 -04:00
Justin Santa Barbara
01d9dd28d9
Merge pull request #320 from justinsb/makefile_go16
...
Add makefile target for go16 as well
2016-08-18 11:14:12 -04:00
Zach Loafman
5263248ef8
Merge pull request #339 from zmerlynn/fix-models
...
Docker build: Fix models
2016-08-17 11:41:20 -07:00
Zach Loafman
9bf3ab5617
Docker build: Fix models
...
After playing with the pulled Docker container again, we need to make
sure the models are really alongside the executed binary (kops doesn't
resolve the symlink). Simplify this a bit, too.
2016-08-17 11:38:54 -07:00
Zach Loafman
65e373ca63
Merge pull request #338 from zmerlynn/build-from-source-2
...
Build: Refine slightly how the tag is cleaned
2016-08-17 11:06:40 -07:00
Zach Loafman
f89df5d43e
Build: Refine slightly how the tag is cleaned
...
Default to cleaning up the tag regardless
2016-08-17 11:04:46 -07:00
Justin Santa Barbara
5591d8ba12
Merge pull request #337 from zmerlynn/build-from-source
...
Build: Build from source
2016-08-17 13:51:35 -04:00
Zach Loafman
0ed5ed7a7d
Build: Docker build from source
...
Send the current git tree instead of building from a specific git hash
2016-08-17 10:42:58 -07:00
Zach Loafman
e4e9a7e3e6
Docker build: Squashing kills the environment, fix the PATH up manually
2016-08-17 09:22:04 -07:00
Zach Loafman
256ff41864
Merge pull request #335 from zmerlynn/fix-build-7
...
CI: Fix another BUILD_TAG case (typo)
2016-08-16 22:07:14 -07:00
Zach Loafman
bd163594ce
CI: Fix another BUILD_TAG case (typo)
2016-08-16 22:05:26 -07:00
Zach Loafman
1545fe9668
Merge pull request #334 from zmerlynn/fix-build-6
...
CI: BUILD_TAG is used by Jenkins
2016-08-16 17:57:52 -07:00
Zach Loafman
ec4151bdb4
CI: BUILD_TAG is used by Jenkins
2016-08-16 17:56:21 -07:00
Zach Loafman
1529f634f5
Merge pull request #333 from zmerlynn/fix-build-5
...
CI: Announce what we're pushing (for diagnosis)
2016-08-16 17:53:37 -07:00
Zach Loafman
66719de85d
CI: Announce what we're pushing (for diagnosis)
2016-08-16 17:53:02 -07:00
Zach Loafman
a524a06060
Merge pull request #332 from zmerlynn/fix-build-3
...
CI: Fix relative pathing
2016-08-16 17:09:46 -07:00
Zach Loafman
c36eaf9416
CI: Fix relative pathing
...
Pretty sure I broke that in the second to last commit. :)
2016-08-16 17:07:24 -07:00
Zach Loafman
1575f00129
Merge pull request #331 from zmerlynn/fix-build-2
...
CI: Change to "git describe --always", which should just work
2016-08-16 17:04:28 -07:00
Zach Loafman
fd2fe668e5
CI: Change to "git describe --always", which should just work
2016-08-16 17:03:55 -07:00
Zach Loafman
fe1589f5e2
Merge pull request #330 from zmerlynn/fix-build
...
CI: Add an obvious failure if the GITISH can't be computed
2016-08-16 16:45:45 -07:00
Zach Loafman
39e6b85a67
CI: Add an obvious failure if the GITISH can't be computed
...
Not sure why the first build failed, but this might help.
2016-08-16 16:44:50 -07:00
Justin Santa Barbara
eea0d0140d
Merge pull request #328 from zmerlynn/container_build
...
CI: Add a simple build/squash/push script
2016-08-16 19:12:06 -04:00
Zach Loafman
39e53c9e70
CI: Add a simple build/squash/push script
2016-08-16 15:44:28 -07:00
Justin Santa Barbara
bef7faff69
Merge pull request #325 from justinsb/fix_284
...
Add force command to rolling-update
2016-08-16 12:55:24 -04:00
Justin Santa Barbara
564a8c6927
Merge pull request #324 from justinsb/docs_aug16a
...
Document cleaned up upgrade command
2016-08-16 12:54:27 -04:00
Justin Santa Barbara
4545352c00
Don't rolling-update all masters at once
...
Also add force command to rolling-update, for testing sanity.
Fix #284
2016-08-16 12:53:37 -04:00
Justin Santa Barbara
807902f167
Merge pull request #323 from justinsb/issue_91
...
Warn if KOPS_STATE_STORE is not an S3 bucket
2016-08-16 12:22:38 -04:00
Justin Santa Barbara
f3bd394008
Document cleaned up upgrade command
...
Issue #239
2016-08-16 10:27:37 -04:00
Justin Santa Barbara
fe27d8bb61
Warn if KOPS_STATE_STORE is not an S3 bucket
...
Issue #91
2016-08-16 10:16:32 -04:00
Justin Santa Barbara
686bd5ae1c
Merge pull request #322 from justinsb/nodeup_cleanups
...
A few nodeup cleanups
2016-08-16 10:13:31 -04:00
Justin Santa Barbara
9b7291ab24
A few nodeup cleanups
...
* Correctly identify user tasks as a dependency for services
* Cleaned up flag-walking
2016-08-16 10:10:44 -04:00
Justin Santa Barbara
96f0f19948
Merge pull request #321 from justinsb/fix_317
...
Add top-level retry to nodeup
2016-08-16 10:02:20 -04: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
08114a3a68
Add top-level retry to nodeup
2016-08-16 09:54:43 -04:00
Justin Santa Barbara
9320f6cd3a
Merge pull request #318 from justinsb/upgrade_for_upgrade
...
Rename old upgrade command; make new upgrade intuitive
2016-08-16 09:30:28 -04:00
Justin Santa Barbara
5d8c170360
Rename old upgrade command; make new upgrade intuitive
...
The old upgrade command (which was only called as part of a kube-up ->
kops upgrade) is now `kops toolbox convert-imported`. The docs are
updated, but this is only normally called once per import so this should
not be high impact.
The upgrade command now looks for things that need upgrading. Currently
only `upgrade cluster` is implemented; it currently only checks the
KubernetesVersion. If KubernetesVersion is out of date, it will be
printed, and if --yes is specified the cluster spec will be set to the
next value.
2016-08-16 09:28:36 -04:00
Justin Santa Barbara
230a39acbf
Merge pull request #319 from justinsb/makefile_check_go17
...
Create test-build command for go 1.7
2016-08-16 09:24:45 -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
6f52c099ef
Merge pull request #316 from justinsb/lock_k8s_version
...
Set KubernetesVersion on cluster creation
2016-08-15 23:12:05 -04:00
Justin Santa Barbara
afff47e3d4
Merge pull request #310 from justinsb/fix_46
...
Validate that the cluster name is a valid DNS name
2016-08-15 23:11:58 -04:00
Justin Santa Barbara
8bf1a565b8
Merge pull request #296 from justinsb/e2e
...
e2e test runner
2016-08-15 23:11:26 -04:00
Justin Santa Barbara
68719704ef
e2e test runner
2016-08-15 23:09:11 -04:00
Justin Santa Barbara
b5b173c0e3
Merge pull request #314 from zmerlynn/container_build
...
CI: Add container build
2016-08-15 22:07:15 -04:00
Justin Santa Barbara
201e6c05a9
Set KubernetesVersion on cluster creation
...
This is the only remaining "magic" setting, which changes externally
- when new versions of k8s are released. (The AMIs are locked in the
instance groups)
We now record the current version of KubernetesVersion in the cluster
spec. It can still easily be changed if needed, but this also means we
don't need to make "fake" changes.
2016-08-15 22:02:44 -04:00
Zach Loafman
39301f469b
CI: Add container build
...
Add a simple Dockerfile that can build kops, and a short README on how
to build it. This generates a 425M image, which is about as tight as I
could get it in a short amount of work without just busting apart the
golang:1.6-alpine image to compress the Go layer itself. It's good
enough for what I'm planning to use it for: CI builds.
Along the way: Fix-up .gitignore to include more from k8s/.gitignore
(include editor ones, and terraform output dir).
2016-08-15 17:08:11 -07:00
Justin Santa Barbara
d95a969f8d
Merge pull request #309 from justinsb/delete_cluster_message
...
Fix message when no name passed to delete cluster
2016-08-15 01:23:23 -04:00
Justin Santa Barbara
6aee9528e1
Validate that the cluster name is a valid DNS name
...
This should help users avoid the common mistake of just specifying the
name, not a fully-qualified domain name.
Fix #46
2016-08-15 01:21:12 -04:00
Justin Santa Barbara
069550fc52
Fix message when no name passed to delete cluster
2016-08-15 00:41:39 -04:00
Justin Santa Barbara
f3ff93582c
Merge pull request #308 from justinsb/docs_aug14c
...
Docs: run `kops delete cluster` even with TF, for dynamic resources
2016-08-14 23:47:02 -04:00