Commit Graph

7794 Commits

Author SHA1 Message Date
Matt Keeler 57aa738416 Update the scripting
Automated putting the source tree into release mode.
2018-06-14 21:42:47 -04:00
Matt Keeler d99ca00d74 Move some things around and add in consul version confirmation to publishing checks 2018-06-14 11:20:27 -04:00
Matt Keeler 237c78d4a4 Add more functionality related to verifying a build and publishing 2018-06-13 17:03:18 -04:00
Matt Keeler 351841c7b2 Redo the build system
Improvements:
   - More modular
   - Building within docker doesn’t use volumes so can be run on a remote docker host
   - Build containers include only minimal context so they only rarely need to be rebuilt and most of the time can be used from the cache.
   - 3 build containers instead of 1. One based off of the upstream golang containers for building go stuff with all our required GOTOOLS installed. One like the old container based off ubuntu bionic for building the old UI (didn’t bother creating a much better container as this shouldn’t be needed once we completely remove the legacy UI). One for building the new UI. Its alpine based with all the node, ember, yarn stuff installed.
   - Top level makefile has the ability to do a container based build without running make dist
   - Can build for arbitrary platforms at the top level using: make consul-docker XC_OS=… XC_ARCH=…
   - overridable functionality to allow for customizations to the enterprise build (like to generate multiple binaries)
   - unified how we compile our go. always use gox even for dev-builds or rather always use the tooling around our scripts which will make sure things get copied to the correct places throughout the filesystem.
2018-06-12 16:55:52 -04:00
Matt Keeler d587a60662 Merge remote-tracking branch 'origin/master' into release-build-updates 2018-06-08 10:21:07 -04:00
Matt Keeler d7a0d61e7d Initial progress on build system updates 2018-06-08 10:20:54 -04:00
Paul Banks 2973dd6a68
Merge pull request #4194 from hashicorp/fix-kv-del-validation
Fix KV del command validation error
2018-06-05 16:58:14 +01:00
Matt Keeler e043621dd3
Merge pull request #4156 from hashicorp/enterprise-coexistence
Enterprise/Licensing Cleanup
2018-06-05 10:50:32 -04:00
Paul Banks 0b9ff5c2b9
Fix KV del command validation error
This has an explcit unit test already which somehow passes at least some of the time. I suspect it passes because under some conditions the actual KV delete fails and returns non-zero as well as printing the warning which is what is being checked for in the test.

For some reason despite working for quite some time like this, I now have a branch in which this test fails consistently. It may be a timing/env issue where another process running an agent causes the delete to be successful so the command returns a 0 by chance. Either way this is clearly wrong and fixing it stops the test being flaky in my branch.
2018-06-05 13:18:16 +01:00
Matt Keeler 4ad143939e
Update CHANGELOG.md 2018-06-04 16:41:29 -04:00
Matt Keeler 0a55a5f480
Merge pull request #4193 from hashicorp/bugfix/gh-3040
Update yamux vendoring
2018-06-04 16:40:03 -04:00
Matt Keeler 33148f482d Remove bogus second yamux vendoring 2018-06-04 16:28:33 -04:00
Matt Keeler 1e485ed727 Update yamux vendoring
Pulls in logging fixes.
2018-06-04 16:02:50 -04:00
Jack Pearkes 711241b5fa
Update CHANGELOG.md 2018-06-01 11:33:52 -07:00
Jack Pearkes 78ef912427
Merge pull request #4169 from rskrishnar/adds-a-link-to-agent-config-options
adds link to agent config options from basic.html
2018-06-01 09:25:58 -07:00
Matt Keeler 9b9ad25a5e
Merge pull request #4154 from hashicorp/licensing-docs
Add licensing documentation.
2018-06-01 12:20:47 -04:00
Jack Pearkes c4112f2b9a
Merge pull request #4013 from sethvargo/sethvargo/user_agent
Add a helper for generating Consul's user-agent string
2018-06-01 09:13:38 -07:00
Jack Pearkes f9fec514a9
Merge pull request #4164 from hashicorp/raft-default-docs
website: add raft snapshot setting defaults
2018-06-01 09:06:00 -07:00
Matt Keeler 5e1deaf961
Update CHANGELOG.md 2018-06-01 10:43:27 -04:00
Matt Keeler 1c577b2012
Merge pull request #4131 from pierresouchay/enable_full_dns_compression
Enable full dns compression
2018-06-01 10:42:03 -04:00
Matt Keeler ed0821369e
Update CHANGELOG.md 2018-06-01 08:57:00 -04:00
Matt Keeler 12d06e8d8f
Merge pull request #4184 from hashicorp/bugfix/gh-4076
Fix #4076 - Agent configured Watches now work with HTTPS only agents
2018-06-01 08:55:34 -04:00
Kyle Havlovitz f7bd3b38e3
Update CHANGELOG.md 2018-05-31 20:42:45 -07:00
Kyle Havlovitz 582f8d40dc
Merge pull request #4185 from hashicorp/reload-fix
command/agent: don't re-parse the flags on reload
2018-05-31 20:40:28 -07:00
Siva Prasad cabafe87b5
Merge pull request #4181 from Qonfucius/fix/scaleway-autojoin-doc
[Doc][Scaleway autoJoin] Fix given + mandatory fields
2018-05-31 20:50:21 -04:00
Matt Keeler 4858aa6be4 Add RunWithConfig and put Run signature back to normal 2018-05-31 20:22:14 -04:00
Kyle Havlovitz 1e47c757c2
command/agent: don't re-parse the flags on reload 2018-05-31 16:59:51 -07:00
Matt Keeler f300d7bc65 Update unit tests to reflect change to func signature 2018-05-31 17:20:16 -04:00
Matt Keeler 365e8d11ee Allow passing in a config to the watch plan to use when creating the API client
This allows watches from consul agent config (rather than consul watch command) to be able to utilize HTTPs
2018-05-31 17:07:36 -04:00
Matt Keeler 71e384e0b2 Update docs to describe the 30 minute temp license 2018-05-31 13:58:28 -04:00
Pierre Souchay 544acdf04e Fixed comments for max DNS records returned as requested by @mkeeler 2018-05-31 18:15:52 +02:00
Nainterceptor 096c112d06
Fix given + mandatory fields 2018-05-30 23:03:40 +02:00
RoopSai Krishna 7f1c139639 adds link to agent config options from basic.html 2018-05-28 12:47:14 +05:30
Kyle Havlovitz d3c4d2c495
website: add raft snapshot setting defaults 2018-05-25 16:17:43 -07:00
Seth Vargo 303b56e07b
Use new discover and useragent libs 2018-05-25 15:52:05 -04:00
Seth Vargo 5911fd5344
Update vendor for go-discover 2018-05-25 15:52:05 -04:00
Seth Vargo 523bcd5c1e
Add a helper for generating Consul's user-agent string 2018-05-25 15:50:18 -04:00
Jack Pearkes 34be4e21d2
Merge pull request #4117 from eduardev/patch-1
Update downloads_tools.html.erb
2018-05-25 09:26:34 -07:00
Jack Pearkes 701c00ca8f
Merge pull request #4133 from rskrishnar/add-missing-telemetry
add missing metrics to telemetry documentation
2018-05-25 09:25:19 -07:00
Jack Pearkes 09c10662cb
Merge pull request #4075 from j-collier/patch-1
Update index.html.md build instuctions
2018-05-25 09:16:19 -07:00
Matt Keeler 14661a417b Allow for easy enterprise/oss coexistence
Uses struct/interface embedding with the embedded structs/interfaces being empty for oss. Also methods on the server/client types are defaulted to do nothing for OSS
2018-05-24 10:36:42 -04:00
Matt Keeler 971c38f537 Update .gitignore - ignore some macos fs event notification stuff 2018-05-24 10:34:23 -04:00
Matt Keeler 34c84aabb5 Move data source loading into a command helpers function 2018-05-24 10:34:08 -04:00
Matt Keeler 170fa10c85 Add BadRequestError handling 2018-05-24 10:34:01 -04:00
Matt Keeler 83d07bdde8 Add licensing documentation. 2018-05-24 10:10:00 -04:00
Matt Keeler 1bfb4c865f
Merge pull request #4146 from phaer/patch-1
doc fix: put "Near" into "Service" in prepared_queries
2018-05-23 10:23:20 -04:00
phaer 55d2ad813d
prepared_queryes: put "Near" into "Service" 2018-05-23 10:32:09 +00:00
Matt Keeler 9d3003cee9
Put version.go back in dev mode 2018-05-22 10:16:59 -04:00
Matt Keeler 1e97777f88
Update CHANGELOG.md - PR-4083 2018-05-22 10:16:07 -04:00
Matt Keeler bc62dff1a5
Merge pull request #4083 from 42wim/serviceptr
DNS: Add support for reverse lookup of services
2018-05-22 10:13:11 -04:00