Stephanie Closson
336ab8990e
Toolkit: Update slim debian image for e2e testing ( #23629 )
...
* Because alpine uses musl instead of libc, the e2e/cypress was not compatible
So:
- Created new VM based on debian-slim
- Could also be used as a build VM
Fixes:
- ginstall issue with merge somewhere.
- Trimmed down the alpine VM since we don't need the extra libraries for cypress
* Fix: Don't need cp on debian
Fix: Don't use /bin/sh on debian. Only for alpine. Use /bin/bash on debian
Fix: Missing dependencies to e2e tests
2020-04-17 14:29:10 -06:00
Alex Khomenko
89c8855f9d
Search: migrate manage dashboards ( #23530 )
...
* Search: add search wrapper
* Search: add DashboardSearch.tsx
* Search: enable search
* Search: update types
* Search: useReducer for saving search results
* Search: use default query
* Search: add toggle custom action
* Search: add onQueryChange
* Search: debounce search
* Search: pas dispatch as a prop
* Search: add tag filter
* Search: Fix types
* Search: revert changes
* Search: close overlay on esc
* Search: enable tag filtering
* Search: clear query
* Search: add autofocus to search field
* Search: Rename close to closeSearch
* Search: Add no results message
* Search: Add loading state
* Search: Remove Select from Forms namespace
* Remove Add selectedIndex
* Remove Add getFlattenedSections
* Remove Enable selecting items
* Search: add hasId
* Search: preselect first item
* Search: Add utils tests
* Search: Fix moving selection down
* Search: Add findSelected
* Search: Add type to section
* Search: Handle Enter key press on item highlight
* Search: Move reducer et al. to separate files
* Search: Remove redundant render check
* Search: Close overlay on Esc and ArrowLeft press
* Search: Add close button
* Search: Document utils
* Search: use Icon for remove icon
* Search: Add DashboardSearch.test.tsx
* Search: Move test data to a separate file
* Search: Finalise DashboardSearch.test.tsx
* Add search reducer tests
* Search: Add search results loading indicator
* Search: Remove inline function
* Search: Do not mutate item
* Search: Tweak utils
* Search: Do not clear query on tag clear
* Search: Fix folder:current search
* Search: Fix results scroll
* Search: Update tests
* Search: Close overlay on cog icon click
* Add mobile styles for close button
* Search: Use CustomScrollbar
* Search: Memoize TagList.tsx
* Search: Fix type errors
* Search: More strictNullChecks fixes
* Search: Add ManageDashboards.tsx
* Search: Add mergeReducers
* Search: Use mergeReducers
* Search: remove default state from reducers
* Search: Fix recent and starred icons
* Search: Enable search
* Search: Add markup
* Search: Separate manageDashboardsReducer
* Search: Add DashboardActions.tsx
* Use new Select for TagFilter
* Search: Use TagFilter for search filters
* Search: Use TagList
* Search: Add toggleSection
* Search: Add more actions
* Search add manageDashboards.test.ts
* Search: Add getCheckedUids
* Search: Add modify and toggle checked actions
* Search: Update tests
* Search: Update component template
* Search: Enable section toggle
* Search: Derive canMove and canDelete
* Search: Handle delete items
* Search: Fix tests
* Search: Enable toggle items
* Search: Add confirm modal subtitle
* Search: Use theme vars
* Search: Add getCheckedDashboardsUids
* Search: Add MoveToFolderModal
* Search: Enable moving dashboards
* Search: Fix strict null checks errors
* Search: Fix strict null checks errors[2]
* Search: Enable filters
* Search: Add useSearchQuery.ts
* Search: Toggle items when toggling all
* Search: Update useSearchQuery to accept custom params
* Search: Add useSearchQuery to dashboard search
* Search: use SearchField for manage dashboards
* Search: Remove event param from query change
* Search: Add base search hooks
* Search: refactor useSearch to accept reducer
* Search: use useDashboardSearch hook
* Search: Fix useSearchQuery params
* Search: Enable folder search
* Search: Update tests
* Search: Pass the props to manage-dashboards
* Search: Add search filters margin
* Search: Remove search-field-wrapper class and hide logic for it
* Search: Adjust SearchField styles
* Search: Move search-results-container inside SearchResults
* Search: Fix type errors
* Search: Add EmptyListCTA
* Search: Update move message
* Search: Cleanup
* Search: Add todo
* Search: Fix action type
* Search: Use React wrapper vs FolderDashboardsCtrl and DashboardListCtrl
* Search: DashboardList => DashboardListPage
* Search: Remove ManageDashboards from angular_wrappers
* Minor style tweaks
* Search: Use LinkButton
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-17 15:29:20 +03:00
Stephanie Closson
2de79a4d8c
Because alpine uses musl instead of libc, the e2e/cypress was not compatible ( #23602 )
...
So:
- Created new VM based on debian-slim
- Could also be used as a build VM
Fixes:
- ginstall issue with merge somewhere.
- Trimmed down the alpine VM since we don't need the extra libraries for cypress
2020-04-16 05:38:56 -06:00
Agnès Toulet
c796f70a3b
Toolkit: Update node_modules path to fix Windows error ( #23582 )
2020-04-15 12:32:22 +02:00
Stephanie Closson
52575ff03f
Toolkit: Copy config files to dist for plugin use/Fix circleci build errors ( #23575 )
...
* replaced run
* consolidated dist and toolkit
* Solved a few more issues
1. Need to explicitly copy circleci config to dist
so that it's published
2. Detect build directory, and use "local" or "linked"
mode for local builds.
* Reverted change used only for testing
* grafana-toolkit.js always required now. Copy to dist
* removed grafana-toolkit.dist.js, no longer required
* feedback from code review
* Code review comments 2.
2020-04-14 15:05:18 -06:00
Stephanie Closson
a28dfaf177
Toolkit: Fix error for running in linked mode vs non-linked mode ( #23571 )
...
* replaced run
* consolidated dist and toolkit
2020-04-14 10:46:29 -06:00
Stephanie Closson
c5f21bdae9
Toolkit: Provide update plugin to allow plugins configuration to normalize ( #23540 )
...
* Toolkit: Update plugin added
- To normalize an bring a plugins "managed" config up to date
* Added changes for filter only release
* changed name
* updated test for checking files in manifest
2020-04-13 17:10:33 -06:00
Stephanie Closson
ae95287d1e
New alpine based plugin ci image ( #23533 )
...
* New alpine based plugin ci image
- smaller, based on alpine (downloads in 7 to 10 seconds)
- Has updated gget that uses tar.gz
- Unpacks to /opt/grafana
- Compatible cp with toolkit
* needed build tools for go lint
* added built vm to test tool
* add circleci plugin config
* added openssh to image
* fix for gget & renamed to ginstall
2020-04-13 11:53:16 -06:00
Ryan McKinley
afec54d257
Tookit: set verison from info.version ( #23511 )
2020-04-10 22:49:25 -07:00
Ryan McKinley
fc55c8d017
Toolkit: more logging while signging ( #23509 )
2020-04-10 21:09:06 -07:00
Ryan McKinley
8ed6ab2bc9
Toolkit: add CI to the signing URL ( #23507 )
2020-04-10 16:11:20 -07:00
Stephanie Closson
7f61f3cc43
Fix: 404 is returned as an exception. Catch and if 404, don't worry about it ( #23505 )
2020-04-10 11:18:44 -06:00
Alex Khomenko
f458da4d7f
React generator ( #23150 )
...
* Toolkit: Setup templates
* Toolkit: Add plop
* Toolkit: Setup createComponent task
* Toolkit: Use lodash templates
* Toolkit: Generate story and mdx file
* Toolkit: Add story type
* Toolkit: Fix types
* Toolkit: Add test template
* Toolkit: Remove plop
* Toolkit: Tweak types
* Toolkit: Minor fixes
* Toolkit: Add internal story option
* Toolkit: Fix test
* Toolkit: Clarify prompt
* Toolkit: add prompt list for component group
* Toolkit: make generator script internal
* Toolkit: add description
* Toolkit: add missing when condition
2020-04-10 11:32:49 +03:00
Ryan McKinley
b710f21a06
Toolkit: catch errors from signing service ( #23486 )
2020-04-09 13:30:34 -07:00
Ryan McKinley
227b233aaa
Toolkit: save a json manifest file for signing ( #23446 )
2020-04-09 08:28:30 -07:00
Stephanie Closson
242db64158
Learnings from latest automated git publish. Small tweaks ( #23440 )
2020-04-08 09:22:36 -06:00
Ryan McKinley
67e45a1d43
Plugins: do not publish bundled plugins to npm ( #23401 )
2020-04-07 08:01:06 -07:00
Ryan McKinley
03e3ddcbdb
Plugins: add a bundle plugins folder ( #20850 )
2020-04-07 00:04:24 -07:00
Stephanie Closson
139753358d
Fixes for toolkit ( #23379 )
...
1. Typo in the default email address
2. Nested promises causing problems in some situations. Return a promise
and resolve in the outer function
3. If extension still have '.' in front remove it prior to matching.
2020-04-06 17:28:48 -06:00
Stephanie Closson
20d3a9a00e
Circle ci fixes automated build ( #23373 )
...
* Lessons learned from using circle-ci
1. Make it clearer that GITHUB_TOKEN or GITHUB_ACCESS_TOKEN
are required for a release. Don't build without them.
2. Default gracefully to an reasonable email address.
(It does not have to actually exist, but the api needs it to publish)
* template for testing
* Wrote a basic test.
* Simple test
* Slight fix to brackets
* Code review changes
* Fix for test. Setup environment properly
2020-04-06 10:22:53 -06:00
Stephanie Closson
c5252f1b64
Toolkit: simplify the plugin ci docker image ( #23267 )
...
* removing src dir on publish
* Moved from binary to native typescript
1. Moved to a native typescrpt github publish using the existing
github client.
2. Change dist.js to detect running in a linked environment.
Todo: Optimize docker image for build size.
* Optimized build of docker container
Much smaller. From 5.47 gb to 2.88
* Feedback from discussion with Ryan
- Added gget for getting grafana versions
- Added infrastructure for testing
- Uploaded new docker image
* Fixed typo... Not sure what happened there :)
* Added command to download canary
* small fix for displaying versions in help
* Removed --dev option
Should really just rename version to (ex: 1.2.0-dev)
* removing src dir on publish
* Moved from binary to native typescript
1. Moved to a native typescrpt github publish using the existing
github client.
2. Change dist.js to detect running in a linked environment.
Todo: Optimize docker image for build size.
* Optimized build of docker container
Much smaller. From 5.47 gb to 2.88
* Feedback from discussion with Ryan
- Added gget for getting grafana versions
- Added infrastructure for testing
- Uploaded new docker image
* Fixed typo... Not sure what happened there :)
* Added command to download canary
* small fix for displaying versions in help
* Removed --dev option
Should really just rename version to (ex: 1.2.0-dev)
2020-04-02 13:57:33 -06:00
Ryan McKinley
7bb6ff30c3
Toolkit: use src/README.md if it exists ( #23271 )
2020-04-01 22:06:01 -07:00
Stephanie Closson
b6c1a063be
must publish a dist folder as well ( #23152 )
2020-03-27 09:44:55 -06:00
Ryan McKinley
1ff736b4b3
e2e: remove old toolkit e2e implementation ( #23091 )
2020-03-26 07:31:44 -07:00
Lukas Siatka
01d4cb9e37
DevEnv: update frontend dependencies - mixed 3/4 ( #22995 )
...
* DevEnv: updates pixelmatch 4.0.2 -> 5.1.0
* DevEnv: updates pixelmatch 5.0.2 -> 5.1.0 in grafana-toolkit package
* DevEnv: updates postcss-flexbugs-fixes 4.1.0 -> 4.2.0 in grafana-toolkit package
* DevEnv: updates postcss-preset-env 6.6.0 -> 6.7.0 in grafana-toolkit package
* DevEnv: updates less 3.10.3 -> 3.11.1 in grafana-toolkit package
* DevEnv: updates ora 3.4.0 -> 4.0.3 in grafana-toolkit package
* DevEnv: updates semver 6.1.1 -> 7.1.3 in grafana-toolkit package
* DevEnv: updates simple-git 1.112.0 -> 1.132.0 in grafana-toolkit package
* DevEnv: updates ora import to commonjs after its update
2020-03-26 12:46:46 +01:00
Lukas Siatka
3f08a789d7
DevEnv: update frontend dependencies - apache arrow, bizcharts, commander ( #22994 )
...
* DevEnv: updates bizcharts 3.5.5 -> 3.5.8 in grafana-ui package
* DevEnv: updates apache-arrow 0.15.1 -> 0.16.0 in grafana-data package
* DevEnv: updates commander 2.20.0 -> 5.0.0 in grafana-toolkit package
* DevEnv: updates commander 4.1.1 -> 5.0.0 in grafana-e2e package
2020-03-25 11:01:02 +01:00
Lukas Siatka
e2f7f85222
DevEnv: update frontend dependencies - eslint ( #22990 )
...
* DevEnv: updates eslint-plugin-jsdoc 21.0.0 -> 22.1.0
* DevEnv: updates @typescript-eslint/eslint-plugin 2.19.2 -> 2.24.0 in grafana-toolkit package
* DevEnv: updates @typescript-eslint/parser 2.19.2 -> 2.24.0 in grafana-toolkit package
* DevEnv: updates eslint 6.7.2 -> 6.8.0 in grafana-toolkit package
* DevEnv: updates eslint-config-prettier 6.7.0 -> 6.10.0 in grafana-toolkit package
* DevEnv: updates eslint-plugin-prettier 3.1.1 -> 3.1.2 in grafana-toolkit package
* DevEnv: updates eslint-plugin-jsdoc 18.4.1 -> 22.1.0 in grafana-toolkit package
2020-03-24 08:25:57 +01:00
Lukas Siatka
d4d3874a38
DevEnv: update frontend dependencies - react-dev-utils ( #23007 )
...
* DevEnv: updates @types/react-dev-utils 9.0.1 -> 9.0.4 in grafana-toolkit package
* DevEnv: updates react-dev-utils 9.0.1 -> 10.2.1 in grafana-toolkit package
2020-03-24 08:25:12 +01:00
Lukas Siatka
18f4e3ce47
DevEnv: update frontend dependencies - ts-node & node-sass ( #22988 )
...
* DevEnv: updates ts-node 8.6.2 -> 8.8.1
* DevEnv: updates ts-node 8.5.0 -> 8.8.1 in grafana-e2e package
* DevEnv: updates node-sass 4.12.0 -> 4.13.1 in grafana-toolkit package
* DevEnv: updates ts-node 8.5.0 -> 8.8.1 in grafana-toolkit package
2020-03-24 06:56:58 +01:00
Steven Vachon
d8b346f441
Fix mysterious Babel plugin errors ( #22974 )
2020-03-23 12:32:04 -04:00
Stephanie Closson
6310aaff55
Toolkit: docker image for plugin CI process ( #22790 )
...
* Adding dockerfile for builds
* Adding standardized bashrc
* Updated dockerfile
* removed bashrc. Not required
* WIP: Updates to dockerfile for e2e and readme
* Storybook: Add relative logo url (#22786 )
* DevEnv: update frontend dependencies - rollup (#22794 )
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-data package
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-e2e package
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-runtime package
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-ui package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-data package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-e2e package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-runtime package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-ui package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-data package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-e2e package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-runtime package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-ui package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-data package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-e2e package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-runtime package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-ui package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-data package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-e2e package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-runtime package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-ui package
* DevEnv: updates rollup config import in grafana-data package
* DevEnv: updates rollup config import in grafana-e2e package
* DevEnv: updates rollup config import in grafana-ui package
* DevEnv: updates rollup config import in grafana-runtime package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-data package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-e2e package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-runtime package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-ui package
* DevEnv: updates lockfile
* DevEnv: updates rollup config plugin-node-resolve import in grafana-data package
* DevEnv: updates rollup config plugin-node-resolve import in grafana-ui package
* DevEnv: updates rollup config plugin-node-resolve import in grafana-e2e package
* DevEnv: updates rollup config plugin-node-resolve import in grafana-runtime package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-data package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-e2e package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-runtime package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-ui package
* Fronted: Fixed webpack chunk syntax error
* Fix: fixes issue with headers property with different casing (#22778 )
Fixes #22756
* Variables: migrates data source variable type to React/Redux (#22770 )
* Refactor: moves all the newVariables part to features/variables directory
* Feature: adds datasource type
* Tests: adds reducer tests
* Tests: covers data source actions with tests
* Chore: reduces strict null errors
* AngularPanels: Fixed inner height calculation (#22796 )
* Chore: migrate admin/users from angular to react + redux (#22759 )
* Start adding admin users list page to redux/react.
* removed unused code.
* added pagination.
* changed so we use the new form styles.
* added tooltip.
* using tagbadge for authlabels.
* remove unused code.
* removed old code.
* Fixed the last feedback on PR.
* DevEnv: update frontend dependencies - webpack (#22144 )
* DevEnv: updates webpack 4.29.6 -> 4.41.5
* DevEnv: updates webpack-cli 3.2.3 -> 3.3.10
* DevEnv: updates webpack-dev-server 3.2.1 -> 3.10.3
* DevEnv: updates terser-webpack-plugin 1.2.3 -> 2.3.4
* DevEnv: updates webpack-bundle-analyzer 3.3.2 -> 3.6.0
* DevEnv updates webpack-merge 4.2.1 -> 4.2.2
* DevEnv: updates clean-webpack-plugin 2.0.0 -> 3.0.0
* DevEnv: updates file-loader 3.0.1 -> 5.0.2
* DevEnv: updates css-loader 2.1.1 -> 3.4.2
* DevEnv: updates sass-loader 7.1.0 -> 8.0.2
* DevEnv: updates style-loader 0.23.1 -> 1.1.3
* DevEnv: updates fork-ts-checker-webpack-plugin 1.0.0 -> 4.0.3
* DevEnv: updates optimize-css-assets-webpack-plugin 5.0.1 -> 5.0.3
* DevEnv: updates mini-css-extract-plugin 0.5.0 -> 0.9.0
* DevEnv: updates @cypress/webpack-preprocessor 4.1.1 -> 4.1.3 in grafana-e2e package
* DevEnv: updates @types/webpack 4.4.34 -> 4.41.7 in grafana-toolkit package
* DevEnv: updates copy-webpack-plugin 5.0.3 -> 5.1.1 in grafana-toolkit package
* DevEnv: updates terser-webpack-plugin 1.3.0 -> 2.3.4 in grafana-toolkit package
* DevEnv: updates webpack 4.35.0 -> 4.41.5 in grafana-toolkit package
* DevEnv: updates import of CleanWebpackPlugin to named import (#22800 )
* Build: Migrate PR pipeline (#22788 )
Implement new PR pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* DevEnv: update frontend dependencies - mixed 1/2 (#22147 )
* DevEnv: updates @emotion/core 10.0.10 -> 10.0.27
* DevEnv: updates autoprefixer 9.5.0 -> 9.7.4
* DevEnv: updates axios 0.19.0 -> 0.19.2
* DevEnv: updates es6-promise 3.3.1 -> 4.2.8
* DevEnv: updates glob 7.1.3 -> 7.1.6
* DevEnv: updates husky 1.3.1 -> 4.2.1
* DevEnv: updates lerna 3.15.0 -> 3.20.2
* DevEnv: updates lint-staged 8.1.5 -> 10.0.7
* DevEnv: updates module-alias 2.2.0 -> 2.2.2
* DevEnv: updates monaco-editor 0.15.6 -> 0.19.3
* DevEnv: updates postcss-browser-reporter 0.5.0 -> 0.6.0
* DevEnv: updates rimraf 2.6.3 -> 3.0.1
* Revert "DevEnv: updates monaco-editor 0.15.6 -> 0.19.3"
* DevEnv: updates axios 0.19.0 -> 0.19.2 in grafana-toolkit package
* DevEnv: updates lockfile
* DevEnv: update frontend dependencies - mixed 2/2 (#22148 )
* DevEnv: updates sinon 1.17.6 -> 8.1.1
* DevEnv: updates zone.js 0.7.8 -> 0.10.2
* DevEnv: updates brace 0.10.0 -> 0.11.1
* DevEnv: updates eventemitter3 2.0.3 -> 4.0.0
* DevEnv: updates file-saver 1.3.8 -> 2.0.2
* DevEnv: updates is-hotkey 0.1.4 -> 0.1.6
* DevEnv: updates mousetrap 1.6.3 -> 1.6.5
* DevEnv: updates prismjs 1.16.0 -> 1.19.0
* DevEnv: updates search-query-parser 1.5.2 -> 1.5.4
* DevEnv: updates tether 1.4.5 -> 1.4.7
* DevEnv: updates xss 1.0.3 -> 1.0.6
* Revert "DevEnv: updates zone.js 0.7.8 -> 0.10.2"
* DevEnv: updates sinon 1.17.6 -> 8.1.1 in grafana-data package
* DevEnv: updates @types/sinon 7.0.11 -> 7.5.2 in grafana-data package
* DevEnv: updates eventemitter import
* DevEnv: updates lockfile
* Variables: migrates interval variable type to React/Redux (#22797 )
* Feature: migrates interval variable type to React/Redux
* Forms: Fix input suffix position (#22780 )
* Forms: Fix input suffix position
* Update
* FieldOverrides: Apply field overrides in PanelQueryRunner (#22439 )
* Apply field overrides in PanelChrome
* Move applyFieldOverrides to panel query runner
* Review updates
* Make sure overrides are applied back on souce panel when exiting the new edit mode
* TS ignores in est
* Make field display work in viz repeater
* Review updates
* Review and test updates
* Change the way overrides and trransformations are retrieved in PQR
* Minor updates after review
* Fix null checks
* E2E: Add new run modes for e2e tests (#22795 )
* WIP: started e2e tests for bar gauge
* Updated
* Updated
* Updated cypress from 3.7 -> 4.1
* reverted cypress upgrade
* Updated test
* Update e2e docs
* Updated docs
* DevEnv: update frontend dependencies - npm, nodemon, typescript (#22145 )
* DevEnv: updates npm 6.13.4 -> 6.13.7
* DevEnv: updates nodemon 1.18.10 -> 2.0.2
* DevEnv: updates typescript 3.7.2 -> 3.7.5
* DevEnv: removes npm from dev dependencies
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-data package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-e2e package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-toolkit package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-ui package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-runtime package
* SaveDashboard: Updated modal design/layout a bit (#22810 )
* DevEnv: updates build-ci-deploy dockerfile and CI config to include yarn (#22809 )
* DevEnv: updates build-ci-deploy dockerfile
* DevEnv: updates build-ci-deploy dockerfile version in circleci config
* Plugins: Hide plugins page from viewers, and limit /api/plugins to only core plugins when called by viewer role (#21901 )
* Hide plugins list from viewers
* Made /api/plugins only return core plugins for users with viewer role
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Webpack: Add relative node_modules path (#22806 )
* DevEnv: updates lockfile to fix breaking builds on CI (#22811 )
* DevEnv: updates lockfile
* DevEnv: updates lockfile
* Added readme, and review feedback
* Renamed README
* fixed error in path for docs
* Added updatedb
* Set grafana checkout to latest stable
* Variables: fixes so single value picker closes dropdown on select (#22823 )
* FieldOverrides: Remove console warn from processFieldConfigValue (#22824 )
* Grafana-UI: Add invalid state to Forms.Textarea (#22775 )
* Storybook: Bring back theme switch (#22826 )
* TestData: New dashboard that tests variables that update on time range change (#22829 )
* CircleCI: Download grabpl from GCS (#22828 )
* CircleCI: Download grabpl from GCS
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CircleCI: Fix installation of grabpl
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix dashboard picker's props (#22815 )
* TablePanel: Enable new units picker (#22833 )
* CircleCI: Install build pipeline tool from GitHub repo (#22837 )
* Variables: fixes so order in list is preserved after save (#22805 )
* Storybook: Deploy on PR, master and release (#22827 )
* Update CircleCI deployment
* Add GCP auth
* Change master to latest dir
* Variables: adds onTimeRangeUpdated to newVariables (#22821 )
* Feature: adds onTimeRangeUpdated to newVariables
* Refactor: removes VariableWithRefresh and unused func
* Refactor: adds console output when something throws as well
* Storybook: add canary deploy from master (#22843 )
* Canary from master latest from release
* Fix logo URL
* Adding dockerfile for builds
* Adding standardized bashrc
* Updated dockerfile
* removed bashrc. Not required
* WIP: Updates to dockerfile for e2e and readme
* Added readme, and review feedback
* Renamed README
* fixed error in path for docs
* Added updatedb
* Set grafana checkout to latest stable
* Feedback from code review
* Update packages/grafana-toolkit/docker/grafana-plugin-ci/README.md
Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
* recommended changes from code review
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: Lukas Siatka <lukasz.siatka@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-03-17 13:36:35 -06:00
Lukas Siatka
a3037e363f
DevEnv: update frontend dependencies - npm, nodemon, typescript ( #22145 )
...
* DevEnv: updates npm 6.13.4 -> 6.13.7
* DevEnv: updates nodemon 1.18.10 -> 2.0.2
* DevEnv: updates typescript 3.7.2 -> 3.7.5
* DevEnv: removes npm from dev dependencies
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-data package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-e2e package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-toolkit package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-ui package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-runtime package
2020-03-16 15:04:02 +01:00
Lukas Siatka
f44399abdb
DevEnv: update frontend dependencies - mixed 1/2 ( #22147 )
...
* DevEnv: updates @emotion/core 10.0.10 -> 10.0.27
* DevEnv: updates autoprefixer 9.5.0 -> 9.7.4
* DevEnv: updates axios 0.19.0 -> 0.19.2
* DevEnv: updates es6-promise 3.3.1 -> 4.2.8
* DevEnv: updates glob 7.1.3 -> 7.1.6
* DevEnv: updates husky 1.3.1 -> 4.2.1
* DevEnv: updates lerna 3.15.0 -> 3.20.2
* DevEnv: updates lint-staged 8.1.5 -> 10.0.7
* DevEnv: updates module-alias 2.2.0 -> 2.2.2
* DevEnv: updates monaco-editor 0.15.6 -> 0.19.3
* DevEnv: updates postcss-browser-reporter 0.5.0 -> 0.6.0
* DevEnv: updates rimraf 2.6.3 -> 3.0.1
* Revert "DevEnv: updates monaco-editor 0.15.6 -> 0.19.3"
* DevEnv: updates axios 0.19.0 -> 0.19.2 in grafana-toolkit package
* DevEnv: updates lockfile
2020-03-16 13:10:42 +01:00
Lukas Siatka
d1837ea132
DevEnv: update frontend dependencies - webpack ( #22144 )
...
* DevEnv: updates webpack 4.29.6 -> 4.41.5
* DevEnv: updates webpack-cli 3.2.3 -> 3.3.10
* DevEnv: updates webpack-dev-server 3.2.1 -> 3.10.3
* DevEnv: updates terser-webpack-plugin 1.2.3 -> 2.3.4
* DevEnv: updates webpack-bundle-analyzer 3.3.2 -> 3.6.0
* DevEnv updates webpack-merge 4.2.1 -> 4.2.2
* DevEnv: updates clean-webpack-plugin 2.0.0 -> 3.0.0
* DevEnv: updates file-loader 3.0.1 -> 5.0.2
* DevEnv: updates css-loader 2.1.1 -> 3.4.2
* DevEnv: updates sass-loader 7.1.0 -> 8.0.2
* DevEnv: updates style-loader 0.23.1 -> 1.1.3
* DevEnv: updates fork-ts-checker-webpack-plugin 1.0.0 -> 4.0.3
* DevEnv: updates optimize-css-assets-webpack-plugin 5.0.1 -> 5.0.3
* DevEnv: updates mini-css-extract-plugin 0.5.0 -> 0.9.0
* DevEnv: updates @cypress/webpack-preprocessor 4.1.1 -> 4.1.3 in grafana-e2e package
* DevEnv: updates @types/webpack 4.4.34 -> 4.41.7 in grafana-toolkit package
* DevEnv: updates copy-webpack-plugin 5.0.3 -> 5.1.1 in grafana-toolkit package
* DevEnv: updates terser-webpack-plugin 1.3.0 -> 2.3.4 in grafana-toolkit package
* DevEnv: updates webpack 4.35.0 -> 4.41.5 in grafana-toolkit package
2020-03-16 09:57:35 +01:00
Arve Knudsen
9c5020d53f
Increment Grafana version ( #22728 )
...
* Increment Grafana version to 7.0.0-pre
2020-03-11 17:20:56 +01:00
Martin Brenner
6b61c65b58
Toolkit: use fs-extra instead of fs ( #22723 )
...
* use fs-extra instead of fs
* use moveSync instead of renameSync
2020-03-11 07:37:31 -07:00
Ryan McKinley
46fcf9bf08
Toolkit: wrap plugin signing stub with error checking ( #22626 )
2020-03-06 10:51:48 -08:00
Stephanie Closson
3745cccde6
Toolkit: include a github release utility ( #22520 )
...
* Adding git publish to toolkit
* grafana-toolkit new feature plugin:github-release
* Feedback from code review
1. Used async await and exec for executing commands
2. Using dist folder to get plugin information
* Reverting change to plugin.json back to original value.
* reverted changes to yarn.lock
* reverted changes to yarn.lock
* feedback from code review
* feedback from code review 2
* moved constants to recommended functions
* styling changes and reverting yarn.lock
* removing changes to package.json
* replced execLine with execa
* better error detection around the publish token
* made simpler with commitHash from build
* Testing showed a number of required changes:
- Make the sha configurable
or through environment variable
or through git config.
- Allow a release to be recreated
- Set name and repo from git config as this is what
ghr is expecting anyway.
- Appropriate errors if the user
tries to run a release without
doing a ci-build and ci-package first.
* Using spinner.
Took out extra dependencies out of project.json
wrote tests manually.
* Updated tests. Now passing
* Adding git publish to toolkit
* grafana-toolkit new feature plugin:github-release
* Feedback from code review
1. Used async await and exec for executing commands
2. Using dist folder to get plugin information
* Reverting change to plugin.json back to original value.
* reverted changes to yarn.lock
* reverted changes to yarn.lock
* feedback from code review
* feedback from code review 2
* moved constants to recommended functions
* styling changes and reverting yarn.lock
* removing changes to package.json
* replced execLine with execa
* better error detection around the publish token
* made simpler with commitHash from build
* Testing showed a number of required changes:
- Make the sha configurable
or through environment variable
or through git config.
- Allow a release to be recreated
- Set name and repo from git config as this is what
ghr is expecting anyway.
- Appropriate errors if the user
tries to run a release without
doing a ci-build and ci-package first.
* Using spinner.
Took out extra dependencies out of project.json
wrote tests manually.
* Updated tests. Now passing
* updated test for reducers, from master
* package.json and yarn.lock from master
2020-03-06 10:15:04 -07:00
Ryan McKinley
e688f13535
Toolkit: plugin ci needs to cooperate better with make/mage ( #22588 )
...
* cleanup
* cleanup
2020-03-05 06:06:06 -08:00
Ryan McKinley
cc638e81f4
Toolkit: don't clean dist folder before build ( #22521 )
2020-03-02 11:29:09 -08:00
Shavonn Brown
0c020f222e
canary 404 previous versions ( #22495 )
2020-02-28 11:27:45 -05:00
Steven Vachon
2b6a88bf59
Optimized package.json files ( #22475 )
...
* Used repository shortcut syntax where possible
* Added repository directories for monorepo packages
* Alphabetically sorted npm scripts
2020-02-27 12:00:36 -05:00
Ryan McKinley
63c6fc5f4e
Toolkit: add junit reporting and jest.config.js to plugin build ( #22450 )
2020-02-27 08:53:59 -08:00
Steven Vachon
3de625ef8e
@grafana/toolkit: completed support for source maps in plugin builds ( #22379 )
2020-02-22 18:54:02 -05:00
Steven Vachon
c35dc9a0f5
@grafana/toolkit: lint fix option now writes changes to disk ( #22278 )
2020-02-18 15:55:42 -05:00
Jacky
a743a1cc12
Toolkit: support sass style for plugins ( #22235 )
2020-02-16 16:47:31 -08:00
Ryan McKinley
21b53b7d79
Toolkit: don't create declaration files for plugins (by default) ( #22228 )
2020-02-15 09:05:07 -08:00
Ryan McKinley
34e4f182bc
Toolkit: add a warning about tslint migration ( #22089 )
2020-02-11 13:27:26 +01:00
Ryan McKinley
0ff19e9414
Toolkit: create manifest files for plugins ( #22056 )
2020-02-10 19:39:24 +01:00
Steven Vachon
f48169633c
TSLint → ESLint ( #21006 )
...
* Alphabetized tslint and tsconfig files
* Optimized tsconfig files
* Optimized editorconfig & prettier config files
… to reduce redundancy
* Switched to @grafana/tsconfig
… and:
* de-duped options
* removed options with default values
* Fixed nasty issue with types for nested slate-react
* Replaced TSLint with ESLint
* TSLint disables → ESLint disables
… also JSHint removals, which haven’t had an affect since it was replaced with TSLint.
* Compliances for ESLint, Prettier and TypeScript
* Updated lockfile
2020-02-08 02:40:04 +01:00