1. 10 Jul, 2020 6 commits
    • Drone: Disable enterprise build for PRs (#26241) · 396ff9f4
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      Arve Knudsen committed
    • Elastic: Fix error "e.buckets[Symbol.iterator] is not a function" when using filter (#26217) · 6d8545da
      * Add bucket to array if it is not in array
      
      * Fix issue one level above
      
      * Rename variable
      
      * Move array check to processAggregationDocs
      Ivana Huckova committed
    • Chore: Enable PR testing in Drone (#26189) · d28d4952
      * Add Drone configuration
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add more steps
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add more steps
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Build front-end before testing it
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Upgrade grafana/build-container
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add packaging step
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Trigger on push
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove some steps
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Enable steps
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Install Dockerize
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use node image for test-frontend
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Increase number of test workers
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Make plugin installation depend on frontend tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Make integration tests depend on frontend tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use grafana/build-container also for front-end tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Upgrade dependencies in order to fix front-end tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Depend on es-check
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Dont' depend on tests before building front-end
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add more steps
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix packaging
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Simplify
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Try to build images
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix e2e tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove steps
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Install netcat
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Include golangci-lint with grafana/build-container
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Build storybook and docs website
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix e2e tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use build image with root user
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drop CircleCI dependencies
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix e2e tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix e2e under Drone
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Execute e2e server separately
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use own plugin for building Docker images
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use Starlark to configure Drone
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add enterprise steps to pipeline
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add more enterprise steps to pipeline
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Maintain Yarn cache
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Build enterprise Docker images
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Build Ubuntu Docker images
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Refactor
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add Postgres integration test
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Add MySQL integration test
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix integration tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Parameterize integration test DB connections
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Categorize integration tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use grabpl integration-tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove unintended change
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drone: Disable Ubuntu Docker images for PR pipeline
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Regenerate yarn.lock
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Upgrade grabpl
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Restore Yarn cache before installing in grafana-enterprise
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Use separate pipelines for OSS and enterprise
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Let OSS builds depend on tests
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Restore Go cache before building back-end
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Reduce number of variants built for PRs
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix building of Docker images
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drone: Simplify logic
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drone: Use Starlark
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drone: Fix syntax error
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Convert .drone.star to YAML
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Upgrade AWS Go SDK
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Drone: Fix Go linting
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Undo irrelevant changes
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Revert "Undo irrelevant changes"
      
      This reverts commit 5152f65972fc24f579f065beb43c2df929da1f19.
      
      * Undo irrelevant changes
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * e2e: Support Circle
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove unused script
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * TypeScript fixes
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * TypeScript fixes
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove unused script
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * More Drone support
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove unused script
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Fix build on Circle
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * Remove TODO comment
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      Arve Knudsen committed
    • Grafana-UI: Add time range input (#26158) · 718d6fb2
      * Grafana UI: Do not submit form on range change
      
      * Grafana UI: Add TimeRangeInput
      
      * Grafana UI: Style input
      
      * Grafana UI: Customize content
      
      * Grafana UI: Adjust caret style
      
      * Grafana UI: Add mdx
      
      * Grafana UI: Fix caret styles
      
      * Grafana UI: Fix typo
      
      * Grafana UI: Do not reload page on timerange change
      
      * Grafana UI: Sync TimeRangeForm state with external value
      
      * Grafana UI: Close overlay on apply
      
      * Grafana UI: Remove unused props
      
      * Grafana UI: Fix story
      
      * Grafana-UI: Make time zone optional
      
      * Grafana-UI: Update styles
      
      * Grafana-UI: Extract button label props
      
      * Grafana-UI: hideHistory => showHistory
      
      * Grafana-UI: Fix caret styles
      Alex Khomenko committed
    • Chore: Fix all Typescript strict null errors (#26204) · 8f78b0e7
      * Chore: Fix typescript strict null errors
      
      * Added new limit
      
      * Fixed ts issue
      
      * fixed tests
      
      * trying to fix type inference
      
      * Fixing more ts errors
      
      * Revert tsconfig option
      
      * Fix
      
      * Fixed code
      
      * More fixes
      
      * fix tests
      
      * Updated snapshot
      
      * Chore: More ts strict null fixes
      
      * More fixes in some really messed up azure config components
      
      * More fixes, current count: 441
      
      * 419
      
      * More fixes
      
      * Fixed invalid initial state in explore
      
      * Fixing tests
      
      * Fixed tests
      
      * Explore fix
      
      * More fixes
      
      * Progress
      
      * Sub 300
      
      * Now at 218
      
      * Progress
      
      * Update
      
      * Progress
      
      * Updated tests
      
      * at 159
      
      * fixed tests
      
      * Progress
      
      * YAy blow 100! at 94
      
      * 10,9,8,7,6,5,4,3,2,1... lift off
      
      * Fixed tests
      
      * Fixed more type errors
      
      Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
      Torkel Ödegaard committed
  2. 09 Jul, 2020 20 commits
  3. 08 Jul, 2020 14 commits