spalger
00204a3df2
[npm/clean] rename to sterilize
2016-02-12 12:56:50 -07:00
spalger
4e9e30c7d3
Merge branch 'master' of github.com:elastic/kibana into implement/npmCleanTask
2016-02-12 12:53:04 -07:00
spalger
2722f42d30
[grunt/run] support passing arbitrary commands to underlying kibana started via grunt-run
2016-02-12 09:37:37 -07:00
Khalah Jones-Golden
180aacd470
Merge remote-tracking branch 'upstream/feature/design' into fix/nav-details
2016-02-10 19:06:26 -04:00
spalger
636bc7d9ce
Merge branch 'master' of github.com:elastic/kibana into implement/npmCleanTask
2016-02-08 15:20:48 -07:00
spalger
10e97a4d75
Merge branch 'fix/failTestOnBadBulk' into upgrade/elasticsearch/master
2016-02-08 14:05:52 -07:00
Jonathan Budzenski
93b891b5de
Merge pull request #6133 from jbudz/issues/6117
...
[packages] Set metadata
2016-02-08 10:49:34 -06:00
Jonathan Budzenski
d64ca9c35b
[packages] Add www to metadata url
2016-02-08 09:17:59 -06:00
spalger
6ee704772d
[java] use jdk8 on jenkins
2016-02-05 17:31:32 -07:00
Jonathan Budzenski
f59443316e
[packages] Set deb-priority to optional
2016-02-05 12:32:16 -06:00
spalger
da5acc499b
[es] upgrade to master
2016-02-05 10:22:26 -07:00
Jonathan Budzenski
ad2f9b4ba6
Merge pull request #6114 from jbudz/snapshots
...
[build] Set os-packages flag on jenkins
2016-02-04 15:03:52 -06:00
Jonathan Budzenski
41d3333316
[packages] Add url, maintainer, vendor, license metadata
2016-02-04 13:39:04 -06:00
Jonathan Budzenski
a2b99c44f3
[packaging] Escape spaces instead of quoting description
2016-02-04 09:30:56 -06:00
Jonathan Budzenski
cca8c1a919
[build] Set os-packages flag on jenkins
2016-02-03 20:42:59 -06:00
Jonathan Budzenski
34b9a7379a
[packaging] Add description
2016-02-03 19:20:17 -06:00
Spencer
c54b9ca6b7
Merge pull request #5891 from spalger/implement/mochaSetup
...
formalize mocha setup
2016-02-01 15:31:42 -07:00
Spencer
94a10efaa3
Merge pull request #5951 from jbudz/issues/5799
...
[build] Create os packages on jenkins
2016-02-01 15:30:20 -07:00
spalger
758c59710d
[eslint] avoid https://github.com/babel/babel-eslint/issues/245
2016-02-01 13:16:59 -07:00
spalger
1b85822e26
[cli/serve] allow disabling the base path proxy if needed
2016-01-21 16:52:25 -07:00
Jonathan Budzenski
4f827c83fa
[build] Only build on core
2016-01-20 12:21:35 -06:00
Jonathan Budzenski
24749258db
[build] Create os packages on jenkins
2016-01-20 12:04:50 -06:00
Spencer
006333fd99
Merge pull request #5671 from spalger/implement/esvmConfigForShield
...
Implement esvm config for shield
2016-01-15 17:54:29 -07:00
Spencer
9537d680dc
[esvm] rename config name
2016-01-15 17:53:44 -07:00
spalger
7773625690
[simplemocha] always perform mocha setup if grunt task is loaded
2016-01-14 10:32:28 -07:00
spalger
7b15ee05d1
[mochaSetup] added notes to explain the purpose for the workarounds in place
2016-01-13 16:50:55 -07:00
spalger
c87aec3dae
[mocha] move setup work into module
...
with https://github.com/elastic/kibana/pull/5553 we added command line flags the told mocha it was supposed to use babel. This changes the strategy here and instead uses mocha's -r option (and it's mocha.opts file to specify it). This means that using mocha directly from the command line still works, and that we have a place where we can do other setup work.
2016-01-12 16:26:42 -07:00
Rashid Khan
1043884a48
Merge pull request #5213 from Bargs/indexPatternApi
...
Create an Ingest API
2016-01-11 14:26:30 -07:00
spalger
247ad41583
[npm] added "clean" script
...
"npm run clean" will now find all excess files, confirm they should be deleted, and then delete them. To exclude a file pass it as the --ignore argument
2016-01-11 03:04:12 -07:00
Matthew Bargar
a5178be0a7
avoid repetition
2016-01-07 17:25:33 -05:00
Matthew Bargar
b4ef144ae0
Created more robust defaults and removed support for overriding them
2016-01-06 12:40:37 -05:00
Matthew Bargar
fe296b4b36
First pass at adding support for fields that are part of an object
2016-01-05 16:45:08 -05:00
spalger
102f6bf0a4
Merge branch 'master' of github.com:elastic/kibana into implement/esvmConfigForShield
2016-01-05 13:18:09 -07:00
Jonathan Budzenski
64a0375f56
[build] Update node download path for Windows
2016-01-05 12:51:56 -06:00
Rashid Khan
99b7db7106
Merge pull request #5778 from jbudz/packages
...
Build package fixes
2015-12-29 16:15:10 -07:00
Jonathan Budzenski
4bbee0a88b
[packages] Add args for deb and rpm, remove pkg
2015-12-29 15:35:19 -06:00
Jonathan Budzenski
04f886e852
[packges] Remove osx package
2015-12-29 14:25:58 -06:00
Matthew Bargar
83bbcb6c14
Convert index-pattern keys to snakeCase before sending to ES for the sake of backwards compatibility
2015-12-29 13:37:50 -05:00
Matthew Bargar
c5565d72c6
Give API tests their own intern config
...
Adding a 'suites' property to the existing intern configuration caused
an error to be thrown at the beginning of the functional test run. Even
if the value of 'suites' was just an empty array. The existence of the
property seemed to enabled execution of the config file in the selenium
browser because it complained about not having the node require
function. To fix this, I created a separate api test config file without
the node require and removed the 'suites' property from intern.js.
2015-12-29 13:37:50 -05:00
Matthew Bargar
07e3a33b55
disable xsrf protection when running api tests
2015-12-29 13:37:50 -05:00
Matthew Bargar
e6100c2f4e
First API test
2015-12-29 13:37:50 -05:00
Court Ewing
300b1e6404
Use grunt root path when collecting git files
...
No reason to reinvent the wheel here. We already determine the root path
of the project in our grunt config, so we just use that instead.
2015-12-29 10:46:22 -05:00
Court Ewing
86d958ae97
Consolidate git file logic in lintStagedFiles task
...
We limit the amount of moving parts when it comes to parsing our staged
files in git by reusing the files_to_commit utility rather than the
now-defunct collectStagedFiles task.
2015-12-28 17:31:36 -05:00
Court Ewing
acded081fa
Check that all new files are snake cased
...
We removed the snake case check during precommit because it was
interfering with us getting features merged when dealing with legacy
files, but we do want to verify that any new files added have snake
cased names.
2015-12-28 16:53:39 -05:00
Jonathan Budzenski
ed25f879ae
Remove snake case check
2015-12-28 15:03:07 -06:00
Jonathan Budzenski
9a19b978ba
[packages] Copy files when making os packages
2015-12-28 11:51:45 -06:00
Jonathan Budzenski
3b992d66c5
[packages] Change optimize folder owner to kibana after install
2015-12-28 11:51:08 -06:00
stdweird
8aac131aee
pleaserun: use the userScriptsDir grunt config variable (as defined/used in osPackages)
...
Fixes #5322
2015-12-28 17:28:25 +00:00
stdweird
eb919f77a8
osPackage: let fpm handle systemd units
...
Fixes #5322
2015-12-28 17:28:25 +00:00
LeeDr
ab7fc81f90
Manually revert the test task change.
...
Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
b5897c2c3a
Revert "Revert "Rename test:ui to test:browser so will run on Jenkins.""
...
This reverts commit b7935865dc
.
Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
0a67efb52b
Revert "Rename test:ui to test:browser so will run on Jenkins."
...
This reverts commit 5d9d695268
.
Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
4f5b641580
Rename test:ui to test:browser so will run on Jenkins.
...
Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr
2a8c79d350
Bump Selenium version from 2.47.1 to 2.48.2 to work with latest Firefox 43. Add more debug logging around get url.
...
Fixes #5750
2015-12-22 16:45:05 +00:00
spalger
88bb904dd5
check for use of kebab-case as well
...
Fixes #5597
2015-12-14 19:58:43 +00:00
spalger
45478a3d5f
[esvm] added admin role with full access to es
2015-12-14 11:56:01 -07:00
spalger
8e9cb6927c
[esvm] add config to start es with shield
2015-12-14 11:10:56 -07:00
Court Ewing
ea23878435
More conservative glob against dep tests
...
When creating builds, we were using a glob that was too liberal in its
matching to identify and clean test files in our dependencies in order
to shave some bytes off of our final build. We now only remove files or
directories that outright match either "test" or "tests" rather than any
file or directory that even includes the word "test" in it.
Fixes #5636
2015-12-10 19:05:36 +00:00
Spencer
e73212fcd3
Merge pull request #5477 from spalger/implement/snake_case_check
...
[grunt/precommit] added check for snake_case filenames
2015-12-07 13:47:55 -07:00
Chris Cowan
447adb7218
Removing travis from the project
2015-12-07 12:50:12 -07:00
spalger
29308a8b2a
[grunt] actually fail
2015-12-07 08:58:08 -07:00
LeeDr
e6f713ae59
Don't run functional UI tests on Travis (add eslint:source).
...
Fixes #5569
2015-12-04 20:00:12 +00:00
LeeDr
fe02d66835
Don't run functional UI tests on Travis (add eslint:source).
...
Fixes #5569
2015-12-04 20:00:12 +00:00
LeeDr
394c82ce2a
Don't run functional UI tests on Travis, the resources are insufficient.
...
Fixes #5569
2015-12-04 20:00:12 +00:00
Court Ewing
38d5fc5051
Isolate esvm clusters by purpose
...
Attempting to run multiple elasticsearch clusters on the same host
without specifying different cluster names actually triggers the
discovery behaviors of elasticsearch, which adds the second es process
as another node of the original cluster. This means that despite running
on different ports, our test setups of elasticsearch actually attempt to
modify the main dev setup.
Fixes #5529
2015-12-02 21:20:56 +00:00
Court Ewing
af6175e81a
Run server tests on port 9210
...
The UI tests were already running against a non-default port (ie 9200),
so there is already precedent for this.
Fixes #5529
2015-12-02 21:20:55 +00:00
spalger
ecb773b120
[grunt/precommit] added check for snake_case filenames
2015-11-23 14:16:54 -06:00
Joe Fleming
e7fdbd11ae
Merge branch 'master' into test-rebuild
...
Conflicts:
tasks/config/run.js
2015-11-11 11:48:47 -07:00
Joe Fleming
1431d28852
Merge pull request #5292 from w33ble/functional-tests-settings
...
Initial Kibana functional UI tests - settings app
2015-11-10 15:41:30 -07:00
Joe Fleming
beec996a2d
make testUIServer run in dev env
...
force optimize step to run every time
2015-11-10 13:52:07 -07:00
spalger
5a72e17299
Merge branch 'preventHomeDirAccess'
2015-11-06 16:56:12 -06:00
Court Ewing
d5025bb853
Include node engine version in build manifests
2015-11-06 12:02:22 -05:00
Joe Fleming
2d04ec4afa
change serverConfig servers path
2015-11-04 16:08:00 -07:00
spalger
ed99db7ada
[build] babel requires the directory containing the cache exist
2015-11-04 11:10:39 -06:00
Court Ewing
73804e6647
Elasticsearch 2.1 branch for esvm
...
Kibana 4.3 should be developed against the 2.1 branch of elasticsearch.
2015-11-03 13:01:05 -05:00
spalger
9bfa6ef3e2
add text replacement for git info
2015-10-27 17:27:52 -05:00
spalger
6e84678d3f
added linting
2015-10-26 22:53:05 -05:00
spalger
f864dd0aa8
[npm] added release task
2015-10-26 16:28:17 -05:00
Jonathan Budzenski
8af41458ae
[functional testing] Centralize server configs
2015-10-26 13:11:28 -05:00
Jonathan Budzenski
90969d9308
[functional testing] Add url configs and util to get pages
2015-10-21 14:26:42 -05:00
Jonathan Budzenski
db8f7cdf22
[functional testing] Load scenarios
2015-10-14 15:33:25 -05:00
Jonathan Budzenski
d6aed640a2
Merge branch 'master' into functional-testing
2015-10-13 08:59:34 -05:00
Jonathan Budzenski
f74eafe5f7
Merge pull request #5025 from w33ble/farewell-zeroclipboard-and-thanks-for-all-the-fish
...
Remove ng-clip and zeroclipboard
2015-09-23 15:58:51 -05:00
Tim Sullivan
145464138f
Merge pull request #5017 from spalger/chore/eslintMocha
...
[eslint] update and add mocha plugin
2015-09-23 13:43:25 -07:00
Joe Fleming
d75bd51171
purge kibana of ng-clip and zeroclipboard
2015-09-23 13:24:26 -07:00
spalger
292a490730
[grunt/eslint] correct comment
2015-09-23 13:15:21 -07:00
Jim Unger
ae0f624b2d
[unit tests] Fixes generated paths to support windows
2015-09-23 14:50:32 -05:00
spalger
3510336077
[npm] added lint and lintroller scripts
2015-09-22 18:58:14 -07:00
Matt Bargar
67e7c5f578
Merge pull request #4982 from spalger/dev/ensureEsOn9200
...
[esvm] when starting es, ensure it runs on 9200 or fails
2015-09-21 11:09:09 -04:00
spalger
86454764af
[esvm] when starting es, ensure it runs on 9200 or fails
2015-09-18 16:12:56 -07:00
Jonathan Budzenski
611ebf9381
Merge pull request #4978 from spalger/fix/testOutputOnCi
...
[tests] log with dots on travis/jenkins
2015-09-18 14:57:12 -05:00
spalger
aa42cf786d
[tests] log with dots on travis/jenkins
2015-09-18 11:58:12 -07:00
Court Ewing
e2dd40e965
Remove package.json dependencies during build
...
The kibana app itself requires that package.json exist, so removing it
entirely from distributions is a no go. Instead, we remove only the
dependencies themselves from the package.json so people do not try to
reinstall dependencies on an official distribution.
2015-09-18 14:23:24 -04:00
Jonathan Budzenski
bb85a6c244
Merge branch 'master' into functional-testing
2015-09-18 09:09:14 -05:00
Boaz Leskes
bf59783a4b
remove some unused files
2015-09-18 13:12:38 +02:00
Spencer
1bcd867f49
Merge pull request #4916 from Bargs/esvmForAllTests
...
Use esvm to start and stop elasticsearch for all tests that need it
2015-09-17 15:40:39 -07:00
Court Ewing
8161788eac
Remove npm shrinkwrap tasks
...
We're not maintaining the shrinkwrap as part of the repo, and it doesn't
add any value when being generated automatically as part of our build
process. In its current form, it actually makes it so we cannot
successfully create new builds without manually setting up a local
shrinkwrap first.
2015-09-17 17:57:46 -04:00
Court Ewing
690d204b28
Create shrinkwrap from build
...
The npm shrinkwrap that we generate during build in order to package
with distributions is now properly created based on the built
dependencies rather than the local dev install.
2015-09-17 16:28:27 -04:00
Jonathan Budzenski
15f6275bd3
[functional testing] Always check selenium hash
2015-09-17 11:56:36 -05:00
Jonathan Budzenski
f611c44af4
[functional testing] Cleanup before going to next task
2015-09-17 11:23:32 -05:00