Commit Graph

56 Commits

Author SHA1 Message Date
Zoltán Bedi
ae30482465
Chore: MEGA - Make Eslint Great Again 💅 (#26094)
* Fix lint error in types.ts

* Bump eslint and its deps to latest

* Add eslintignore and remove not needed eslintrcs

* Change webpack configs eslint config

* Update package.jsons and removed unused eslintrc files

* Chore yarn lint --fix 💅

* Add devenv to eslintignore

* Remove eslint disable comments for rules that are not used

* Remaining eslint fixes 💅

* Bump grafana/eslint-config 💥

* Modify package.json

No need for duplicate checks.

* Modify eslintignore to ignore data and dist folders

* Revert removing .eslintrc to make sure not to use certain packages

* Modify package.json to remove not needed command

* Use gitignore for ignoring paths
2020-08-11 17:52:44 +02:00
Marcus Efraimsson
6e313e7d37
Image Rendering: Remove PhantomJS support (#23460)
Removes all references and usage of PhantomJS #23375.
Remove direct link rendered image e2e smoke test for now.
Docker: Fix installing chrome in ubuntu custom docker image.
Improve handling of image renderer not available/installed #23593.
Add PhantomJS breaking change and upgrading notes.
Use grabpl v0.2.10.

Closes #13802

Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-04-15 22:17:41 +02:00
Arve Knudsen
b3c00e4c32
Docker: Build and use musl-based binaries in alpine images to resolve glibc incompatibility issues (#19798)
* build: Install musl cross compilers as part of build Docker image
* build: Build also musl packages in scripts/build/build.sh
* scripts/build/build-all.sh: Build musl Linux targets
* build: Upgrade build-container to 1.2.11
* build.go: De-duplicate code
* build: Base Docker images on musl binaries
2019-10-24 14:34:14 +02:00
Leonard Gram
30cb28df55
build: correctly adds enterprise to the filename. (#13831) 2018-10-25 16:55:27 +02:00
bergquist
63ed02e626 removes codedov refs 2018-09-18 11:44:31 +02:00
Torkel Ödegaard
c521f51780
tech: removed js related stuff now that 99% is typescript (#12905) 2018-08-13 15:56:11 +02:00
Leonard Gram
9123e0fca8 build: crossplatform build with packages.
Big thanks to @fg2it who created a POC as
well as the build container that this work
is based on.
2018-05-18 14:38:04 +02:00
Carl Bergquist
b6b152d9ea
Revert "removes codecov from frontend tests" 2018-04-17 09:00:39 +02:00
bergquist
6c6b74fc39 removes codecov from front-end tests 2018-04-16 11:39:09 +02:00
Torkel Ödegaard
4aa227dd84 [Tech]: Start migrating to Jest for tests (#9610)
* tech: investigating karma + jest mix

* tech: migrating tests to jest

* tech: moved anoter test file to jest

* test: migrated two more test files to jest

* test: updated readme and made test fail to verify that it causes CI build failure

* tech: added code coverage for jest tests

* tech: testing codecov coverage

* tech: migrated more tests

* tech: migrated template srv to typescript and the tests to jest

* tech: minor build fix

* tech: build fixes

* build: another attempt at fixing go test with coverage
2017-10-22 07:03:26 +02:00
Torkel Ödegaard
0c86241c5b Webpack (#9391)
* webpack poc, this is not going to work for plugins, dam

* tech: webpack and systemjs for plugins starting to work

* tech: webpack and systemjs combo starting to work

* tech: webpack + karma tests progress

* tech: webpack + karma progress

* tech: working on tests

* tech: webpack

* tech: webpack + karma, all tests pass

* tech: webpack + karma, all tests pass

* tech: webpack all tests pass

* webpack: getting closer

* tech: webpack progress

* webpack: further build refinements

* webpack: ng annotate fixes

* webpack: optimized build fix

* tech: minor fix for elasticsearch

* tech: webpack + ace editor

* tech: restored lodash move mixin compatability

* tech: added enzyme react test and upgraded to react v16

* tech: package version fix

* tech: added testdata to built in bundle

* webpack: sass progress

* tech: prod & dev build is working for the sass

* tech: clean up unused grunt stuff and moved to scripts folder

* tech: added vendor and manifest chunks, updated readme and docs

* tech: webpack finishing touches
2017-10-01 20:02:25 +02:00
bergquist
97008f90c4 tech(build): semicölöns 2016-10-17 15:19:00 +02:00
bergquist
75a1ff1037 tech(build): dont override arch for windows 2016-10-17 15:09:35 +02:00
fg2it
62a2f80f10 add option for grunt release 2016-09-18 09:13:00 +00:00
Torkel Ödegaard
953f9da3b5 build(): build fix 2016-03-30 12:02:44 -07:00
Torkel Ödegaard
abac8bccc6 tech(typescript): its looking good 2015-09-10 11:26:40 +02:00
Torkel Odegaard
5bddf79d09 Correctly determine arch for windows builds 2015-04-21 08:56:32 +02:00
Torkel Odegaard
c9a28ddd38 Windows build: updates to build stuff to create better windows packages 2015-04-20 08:10:23 +02:00
Torkel Ödegaard
fde11be279 Renamed src directory to public 2015-03-29 12:57:28 +02:00
Torkel Ödegaard
4b3224702c Fixed asset revving issue with css files 2015-03-13 11:11:31 +01:00
Torkel Ödegaard
d89c77af54 Small changes to build scripts 2015-03-04 07:09:59 +01:00
Torkel Ödegaard
0db55b6194 Work on deb and rpm packages, both seem to work now, #1476 2015-03-03 17:14:58 +01:00
Torkel Ödegaard
7e0f1a57af Progress on deb and rpm packaging, renamed config files, added file logging, #1476 2015-03-03 10:18:37 +01:00
Torkel Ödegaard
102c896046 Updated build and wercker file for new repo structure 2015-02-05 12:27:58 +01:00
Torkel Ödegaard
344812f1e0 fix in grunt build script 2015-01-05 11:04:58 +01:00
Torkel Ödegaard
d1b31bb3d6 moved stuff around, trying to get rid of the pro folders and fixing some issues 2015-01-05 08:47:29 +01:00
Torkel Ödegaard
5a3d3f5098 updated build and release tasks 2015-01-04 17:51:48 +01:00
Torkel Ödegaard
9c3cd87bee more work on two grunt build modes, backend/standalone modes 2014-12-31 16:19:45 +01:00
Torkel Ödegaard
8699dec571 fixed jshint issues 2014-08-11 16:37:31 +02:00
Rashid Khan
aec9a42ee1 Skeleton API docs 2013-12-02 12:43:39 -07:00
Rashid Khan
22993c46a5 Added scratchy tasks and config.js docs 2013-11-26 07:38:16 -07:00
Rashid Khan
4c7f52797f fixing build with subfolders 2013-11-15 09:44:06 -07:00
Rashid Khan
92a485bd29 Add baseDir variable 2013-11-14 21:29:41 -07:00
Rashid Khan
07f1571563 Update loadConfig to allow duplicates 2013-11-14 20:30:28 -07:00
Rashid Khan
ec964a13b9 Modularize grunt tasks 2013-11-14 16:07:14 -07:00
Rashid Khan
d21e1c35e1 remove execute bit re: @shatlovsky 2013-10-25 07:47:54 -07:00
Rashid Khan
18ee2fabcf added release task to gruntfile 2013-10-17 15:33:43 -07:00
Rashid Khan
f2e6d4409b drag and drop panels, lots of visual tweaks 2013-09-26 15:42:43 -07:00
Spencer Alger
3b14e3e226 switched up the build process a bit more, so most of the build occurs in-place, meaning the src and dest options are the same. This allows us to simple copy everthing at once and not need to specify all the edge cases like I did previously in copy:everything_left_in_src 2013-09-20 13:48:28 -07:00
spenceralger
dcafb85706 Merge pull request #518 from spenceralger/gruntfile-cleanup
fix the path to the leaflet image directory
2013-09-20 11:15:49 -07:00
Spencer Alger
d53f4fd276 fixed the path to the leaflet image directory 2013-09-20 11:14:45 -07:00
Rashid Khan
bfd6ea5913 Switched to grunt-contrib-compress, added tar.gz archive 2013-09-19 13:45:09 -07:00
Spencer Alger
412cefed78 Cleaned up the Grunt config a bit, removed an unneeded dep 2013-09-19 10:17:42 -07:00
Spencer Alger
c767ae6645 moved the aws config out of the general gruntfile setup, and into a task that is only run when needed. 2013-09-19 08:09:04 -07:00
Rashid Khan
608b66f3ce Updated download links 2013-09-16 16:28:18 -07:00
Spencer Alger
f414400a5a merged master 2013-09-16 15:16:01 -07:00
Spencer Alger
259562136f - Removed the "dist" directory
- Created a grunt task to build, compress, and upload the build to s3
 - Updated the README to point users to downloads.elasticsearch.org
2013-09-16 15:14:20 -07:00
Rashid Khan
63fbbc9c21 Added seperate grunt task for LESS default build 2013-09-16 13:21:29 -07:00
Spencer Alger
ab93bcecb2 Added a cache busting config option to RequireJS that will add the latest commit sha to urls (only in dist build). 2013-09-13 19:14:14 -07:00
Spencer Alger
6c07338782 - Moved the config.js file into the root of the src and dist.
- prevented the config file from being minified.
 - offloaded the js minification to a dedicated uglify task, which accepts more options than the require-js wrapper does.
 - Addded the banner to the top of the minified files.
2013-09-13 16:02:08 -07:00