Daniel Nephin
09d0876b6c
command: remove unused logOutput field
2020-03-30 14:11:27 -04:00
Daniel Nephin
dd40a1535e
testing: reduce verbosity of output log
...
Previously the log output included the test name twice and a long date
format. The test output is already grouped by test, so adding the test
name did not add any new information. The date and time are only useful
to understand elapsed time, so using a short format should provide
succident detail.
Also fixed a bug in NewTestAgentWithFields where nil was returned
instead of the test agent.
2020-03-30 13:23:13 -04:00
John Cowen
31b9b90bc3
ui: Ensure blocking query configuration is passed through to findInstanceBySlug ( #7543 )
...
* ui: Ensure configuration is passed through to findInstanceBySlug
Due to the addition of namespace support, this arguments passed to this
method have been increased. Whilst the nspace support continues ot work
here, the configuration for blocking queries is never passed through.
This results in a 2 second poll rather than a blocking query.
This commit fixes that
* ui: Add a basic test to check the number of arguments passed through
2020-03-30 15:23:06 +01:00
Pierre Souchay
952b60abaa
Proper detection of ephemeral ports on Mac OS ( #7539 )
...
Use systemctl to properly detect ephemeral ports on Mac OS (aka darwin) by fetching
systemctl values:
* net.inet.ip.portrange.first
* net.inet.ip.portrange.last
This will avoid the message:
`[INFO] freeport: ephemeral port range detection not configured for GOOS="darwin"`
and properly detect the correct port range
2020-03-30 09:13:03 -04:00
Alvin Huang
494faca279
rebuild UI for master/ui-staging dev docker image ( #7530 )
2020-03-27 15:33:49 -04:00
Matt Keeler
028654410c
Ensure server requirements checks are done against ALL known se… ( #7491 )
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-03-27 12:31:43 -04:00
Matt Keeler
74a665afc3
Add information about which services are proxied to ui services… ( #7417 )
2020-03-27 10:57:46 -04:00
Matt Keeler
e368837472
Add docs for v1/acl/policy/name endpoint ( #7501 )
2020-03-27 10:20:09 -04:00
Alvin Huang
170b2ab8ee
add ssh package and push to branch before notifying ( #7517 )
2020-03-26 15:23:31 -04:00
Cody De Arkland
2693894b2d
Merge pull request #7495 from hashicorp/3242020-ent-docs-update
...
updating enterprise documentation with additional clarity
2020-03-26 11:56:56 -07:00
Daniel Nephin
b5c7d292e4
Merge pull request #7516 from hashicorp/dnephin/remove-unused-method
...
agent: Remove unused method Encrypted from delegate interface
2020-03-26 14:17:58 -04:00
Matt Keeler
3a9509e84d
Update CHANGELOG.md
2020-03-26 13:17:34 -04:00
Matt Keeler
37694bbb9c
Add optional JSON format to the ACL CLI commands output ( #7198 )
...
* Add ACL CLI commands output format option.
Add command level formatter, that incapsulates command output printing
logiс that depends on the command `-format` option.
Move Print* functions from acl_helpers to prettyFormatter. Add jsonFormatter.
* Return error code in case of formatting failure.
* Add acl commands -format option to doc.
2020-03-26 13:16:21 -04:00
Freddy
9412f3fed2
Exposing paths isn't an upstream configuration ( #7515 )
2020-03-26 11:15:01 -06:00
Daniel Nephin
bb8833a2d5
agent: Remove unused Encrypted from interface
...
It appears to be unused. It looks like it has been around a while,
I geuss at some point we stopped using this method.
2020-03-26 12:34:31 -04:00
Freddy
18d356899c
Enable CLI to register terminating gateways ( #7500 )
...
* Enable CLI to register terminating gateways
* Centralize gateway proxy configuration
2020-03-26 10:20:56 -06:00
Artur Mullakhmetov
0396340e2c
Add acl commands -format option to doc.
2020-03-26 19:05:11 +03:00
Artur Mullakhmetov
845b9c23fe
Return error code in case of formatting failure.
2020-03-26 19:05:10 +03:00
Artur Mullakhmetov
eab5b81d91
Add ACL CLI commands output format option.
...
Add command level formatter, that incapsulates command output printing
logiс that depends on the command `-format` option.
Move Print* functions from acl_helpers to prettyFormatter. Add jsonFormatter.
2020-03-26 19:05:10 +03:00
Daniel Nephin
2026ea77cf
Merge pull request #7496 from hashicorp/dnephin/add-lint-to-makefile
...
Add lint to makefile
2020-03-26 10:48:21 -04:00
Daniel Nephin
e5d6273a48
command/envoy: Refactor flag parsing/validation ( #7504 )
2020-03-26 08:19:21 -06:00
Daniel Nephin
33c7894123
Merge pull request #7498 from hashicorp/dnephin/small-cleanup
...
envoy: small cleanup in cmd and server
2020-03-25 13:24:44 -04:00
Daniel Nephin
fe706a54b0
Merge pull request #7502 from hashicorp/dnephin/fix-cherry-picker-2
...
ci: Move shebang to first line of cherry pick script
2020-03-25 12:00:17 -04:00
Daniel Nephin
b298249a14
ci: Move shebang to first line of cherry pick script
...
Also ran shellcheck against the script and fixed the other errors
2020-03-25 11:57:56 -04:00
Matt Keeler
0d105ef23b
Update CHANGELOG.md
2020-03-25 10:43:37 -04:00
Alejandro Baez
bafa69bb69
Add PolicyReadByName for API ( #6615 )
2020-03-25 10:34:24 -04:00
Chris Piraino
136099d834
Fix flakey health check reload test ( #7490 )
...
This test would occasionally fail because we checked for a status of
"critical" initially. This races with the actual healthcheck being run
and declared passing.
We instead use a ttl health check so that we don't rely on timing at all.
2020-03-25 09:09:13 -05:00
Cody De Arkland
4e6d8bef15
updating enterprise documentation with additional clarity
...
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/namespaces/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/backups/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/namespaces/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/network-segments/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/read-scale/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/upgrades/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/upgrades/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/network-segments/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/read-scale/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/read-scale/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/read-scale/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/read-scale/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
Update website/source/docs/enterprise/redundancy/index.html.md
Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
updating capitalization of namespaces
2020-03-24 21:49:47 -07:00
Iryna Shustava
77c52ac2a8
Add missing Helm docs ( #7492 )
2020-03-24 16:06:57 -07:00
Daniel Nephin
a95974cf79
Remove unnecessary methods
...
They call only a single method and add no additional functionality
2020-03-24 18:35:07 -04:00
Daniel Nephin
8df3746927
cmd: use env vars as defaults
...
Insted of setting them afterward in Run.
This change required a small re-ordering of the test to patch the
environment before calling New()
2020-03-24 18:34:46 -04:00
Daniel Nephin
266bdf7465
agent: Remove xdsServer field
...
The field is only referenced from a single method, it can be a local var
2020-03-24 18:05:14 -04:00
Daniel Nephin
8029daa444
Add lint to makefile
...
And support for setting build tags in CI lint job.
Removed the unused 'test-ci' target.
2020-03-24 16:34:02 -04:00
Daniel Nephin
0665c56c26
Merge pull request #7481 from hashicorp/dnephin/go1.14
...
ci: Upgrade Go to 1.14.1
2020-03-24 16:23:53 -04:00
Daniel Nephin
c765780cf1
Merge pull request #7440 from hashicorp/dnephin/golangci-lint
...
ci: Use golangci-lint for linting
2020-03-24 16:00:59 -04:00
Daniel Nephin
c5b7c072fd
ci: Upgrade Go to 1.14.1
2020-03-24 15:55:47 -04:00
Daniel Nephin
2468affcf8
Merge pull request #7482 from hashicorp/dnephin/fix-cherry-pick-job
...
ci: fix cherry-pick job by using newer git
2020-03-24 14:12:21 -04:00
Daniel Nephin
9f46759ba2
Merge pull request #7484 from hashicorp/dnephin/fix-envoy-tests
...
Fix tests failing on master
2020-03-23 17:15:49 -04:00
Daniel Nephin
6e10616b13
Fix tests failing on master
...
The default version was changed in https://github.com/hashicorp/consul/pull/7452
which caused these tests to fail.
2020-03-23 16:38:14 -04:00
Daniel Nephin
3418835677
ci: fix cherry-pick job by using newer git
...
37897bfc27
made it possible to use
the -m flag with cherry-pick, even when the target is not a merge commit.
This commit changes the image used to run the cherry-pick job to alpine so that we get
a more recent version of git.
The alpine image will also download much faster when the CI node does not have the image cached.
2020-03-23 14:30:32 -04:00
kaitlincarter-hc
98a2d5a798
Add link to Learn to the top, move service mesh higher up on list of features. ( #7474 )
2020-03-23 12:10:42 -05:00
Daniel Nephin
a103c62f33
Merge pull request #7466 from hashicorp/dnephin/support-cherry-pick-merge-PRs
...
ci: support cherry-picking of merge PRs
2020-03-18 13:12:42 -04:00
Daniel Nephin
887e410cd6
ci: support cherry-picking of merge PRs
...
This change assumes that it is always safe to use the first commit
parent as the mainline. I believe this assumption is safe with a
github merge workflow.
2020-03-18 12:38:04 -04:00
Daniel Nephin
1ff9b748ae
Merge pull request #7458 from hashicorp/dnephin/small-doc-improvements
...
website/docs: small doc improvements to CLI reference
2020-03-17 18:35:44 -04:00
Hans Hasselberg
d5f4b8c3a3
envoy: default to 1.13.1 ( #7452 )
2020-03-17 22:23:42 +01:00
Kim Ngo
5f9029c65c
Update CHANGELOG.md
2020-03-17 15:02:56 -05:00
Hans Hasselberg
bf6a91af94
docs: fix filenames ( #7453 )
2020-03-17 21:00:45 +01:00
Kim Ngo
bef693df9c
agent/xds: Update mesh gateway to use service router timeout ( #7444 )
...
* website/connect/proxy/envoy: specify timeout precedence for services behind mesh gateway
2020-03-17 14:50:14 -05:00
Daniel Nephin
3f8578f1e1
ci: Use golangci-lint for linting
...
Using golangci-lint has a number of advantages:
- adding new linters becomes much easier, its a couple lines of yaml config
instead of more bash scripting
- it enables whitelisting of issues using inline comments or regex
- when running multiple linters less work is done. The parsed source can be reused
by multiple linters
- linters are run in parallel to reduce CI runtime.
2020-03-17 13:43:40 -04:00
Chris Piraino
5c7b3762e3
Update CHANGELOG.md
2020-03-17 09:56:20 -05:00