Commit Graph

263 Commits

Author SHA1 Message Date
Amit Miran 37f648c41b
chore: rename docker image in build_docker_image.sh, docker-compose.yml and helm values.yaml (#12337) 2021-01-10 09:29:17 -08:00
Daniel Vaz Gaspar f642aea683
ci(docker): fix release published event checkout tag-sha (#12096)
* release: push 0.38.0 image and fix

* fix

* remove manual action
2021-01-08 14:59:59 -08:00
Jesse Yang f48284909d
build: try to speed up Github workflows (#12090) 2021-01-07 00:47:00 -08:00
Amit Miran b221417e19
chore: remove harmless incubator refs (#12289)
* chore: migrate all harmless incubator refs like comments and documentation files

* chore: migrate all superset.incubator.apache.org to superset.apache.org to

* chore: migrate dist.apache.org refs

* chore: removing incubating and Disclaimer

* fix: linting issues
2021-01-06 13:45:19 +02:00
Jesse Yang 4149ab4e5e
build: remove parallelization for E2E tests (#12290) 2021-01-05 15:46:52 -08:00
Jesse Yang a3bbbf8ea3
build: inline external Github Actions to unblock CI (#12241)
* build: inline cached-dependencies to unblock CI

* Run E2E on pull_request on;y

* Inline all external actions

* Checkout needed for internal actions

Also fixes pre-commit

* Add missing files
2021-01-04 14:16:07 +02:00
Elizabeth Thompson 895fa19d8d
chore: add latest tag action (#11148)
* add latest tag action

* update documentation with latest tag info

* Python in docs doesn't need v3 reference

* add check that latest tag is truly a later version

* remove rc from acceptable tags

* move tag script to seperate file

* add a check that the tag exists
2020-12-17 20:50:44 +02:00
Rob DiCiuccio 148a0017b7
Remove e2e pull_request event trigger (#12076) 2020-12-16 11:38:55 -08:00
Rob DiCiuccio 8fe9ee04c8
build(cypress): Use pull_request_target event to run cypress (#11750)
* Use pull_request_target event to run cypress in order to access repo secrets

* Summary job for branch protection requirements

* Restore pull_request trigger

* Use merge base for e2e tests

* Restore push trigger for all branches
2020-12-16 10:45:21 -08:00
Jesse Yang 8164aeafb1
build: cancel previous github action runs (#11940) 2020-12-08 15:27:08 -08:00
Beto Dealmeida 66cd565bff
feat: add Postgres SQL validator (#11538)
* Add Postgres SQL validator

* Strip line number from message

* Add unit tests

* Run tests only with postgres backend

* Add dep

* Add dep to bashlib
2020-12-04 19:17:23 -08:00
Craig Rueda 8adc8b8866
Quick fix for branch names in tags (#11930) 2020-12-04 14:27:25 -08:00
Daniel Vaz Gaspar f121107bbe
ci(docker): build image on release (#11828)
* feat(docker): build image on release

* separate trigger separate handling

* fix triggers

* less states for docker build on PR's
2020-11-27 09:38:38 +00:00
Erik Ritter 67c44479b5
build: split python CI jobs (#11794)
* build: split python CI jobs

* Rename superset-python.yml to superset-python-misc.yml
2020-11-24 11:40:16 -08:00
Craig Rueda 68693c7c0a
feat: Helm improvements (#11700)
* Adding docker build/push

* Adding build script

* Trying username

* Updating build script

* Fixing script path?

* Lising envvars

* Pulling HEAD

* Actually pushing

* Fixing build / SHA

* Logout before login

* updating docker login

* Fixing docker login

* Trying stdin pwd

* Adding check for forks

* Fixing tagging

* Fixing refspec

* Updating Dockerfile-dev

* Adding license to script

* Fixing Cypress tests

* Adding Helm hooks and force reload option

* Adding worker pod

* Removing head SHA checkout in docker.yml
2020-11-13 15:17:52 -08:00
Craig Rueda 95246e8812
feat: Adding docker build/push (#11616)
* Adding docker build/push

* Adding build script

* Trying username

* Updating build script

* Fixing script path?

* Lising envvars

* Pulling HEAD

* Actually pushing

* Fixing build / SHA

* Logout before login

* updating docker login

* Fixing docker login

* Trying stdin pwd

* Adding check for forks

* Fixing tagging

* Fixing refspec

* Updating Dockerfile-dev

* Adding license to script

* Fixing Cypress tests
2020-11-13 11:32:18 -08:00
Jesse Yang 7cbf21c39f
build: set actions/setup-python to v2 (#11644)
This upgrades the `setup-python` action and pins it to the latest v2,
which suppresses the warnings about set-env and add-path:

    Error: The `set-env` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-11 13:15:05 -08:00
adam-stasiak-polidea 777a84cdbf
Enabled artifacts for failing tests (#11584) 2020-11-10 12:42:54 -08:00
ʈᵃᵢ 8a2ca84775
build: disable pr reviews for pr-lint action (#11433) 2020-10-26 16:32:54 -07:00
ʈᵃᵢ 3a2ae6454a
build: bump pr-lint-action (#11403) 2020-10-22 18:00:11 -07:00
Jesse Yang 6d8541e3b6
test: add admin to the owners of birth_names slices (#11228) 2020-10-13 10:31:49 -07:00
Maxime Beauchemin 071c81f82e
fix: 📜 `/docs/api` won't render (#11168)
* fix: docs/api won't render

    fix: docs/api won't render

    It's unclear to me exactly why, but docz is flimsy with the way
    things are named and runs into odd collision and error messages.

    Somehow renaming the route seem to help. Jut rolling with it after many
    `gatsby clean`

* kill paths-ignore on github-actions

* trigger
2020-10-06 13:51:40 -07:00
henryyeh e9f4fcb4d9
fix: fixing CI workflow (#11145)
* dummy commit to trigger jenkins pipeline

* removing unused workflow

Co-authored-by: Henry Yeh <henry@preset.io>
2020-10-02 17:33:40 -07:00
Erik Ritter a491b6db41
fix: unbreak ci (#11003) 2020-09-22 14:41:15 -07:00
ʈᵃᵢ 96a61e327e
build: add PR lint action (#10990) 2020-09-21 21:21:04 -07:00
Evan Rusackas d4f33cc9de
Ignore '/docs' on some GH actions, give docs its own action (#10949)
* ignore docs on several actions, give docs its own action

* Random doc change to see if the new action runs.

* umm... not paths-ignore, paths!

* eof fix

* enabling typescript checking on docs
2020-09-18 12:23:48 -07:00
Jesse Yang 4f607371e5
fix: typo in prefer typescript (#10959)
Prefer TypeScript has stopped working since #10170 because of a [typo](https://github.com/apache/incubator-superset/pull/10170/files#diff-0f1a9bbd1316e385c51f8aba1583bd99R24) in `jq` script.

Also fix the `trilom/file-changes-action` GH Action version so the process can be more predictable.
2020-09-18 12:02:09 -07:00
Rob DiCiuccio d74044c2e6
Update FOSSA configuration for new requirements layout (#10848)
* Update FOSSA configuration

* test FOSSA failure

* Update FOSSA files changed regex

* Revert "test FOSSA failure"

This reverts commit a97213db78.

* pre-commit linting

* remove docker.txt check
2020-09-16 13:28:04 -07:00
Elizabeth Thompson 0d90bc9920
chore: update port that cypress runs on for local vs test (#10847) 2020-09-16 12:31:03 -07:00
Elizabeth Thompson 13cc1a3d2d
fix: front end CI tests and test runner (#10897) 2020-09-16 11:35:18 -07:00
ʈᵃᵢ fe9f6148d8
fix(cypress): prevent CI failure on codecov failure (#10892) 2020-09-15 14:31:43 -07:00
Phillip Kelley-Dotson 85a916036c
docs(new docs site): removes old sphinx doc site with gatsby (#10784)
* Remove old apache sphinx doc site with refreshed gatsby

* remove rando

* add licenses

* excluing .mdx files from license checks

* fixes

* Clean up sphinx references

* Addressed comments

* colors and tweaks

* more fixes

* add dummy docs/requirements.txt to satisfy stupid fossa

* cp .prettierrc

* more licenses

* minor touchups

* reqs

* removing old videos

* add github buttons

* prettier

* tweaks

* Eugenia/Fix some of the images and modified some of database pages

* add subheadernav

* add side headers nav and more responsive design for docs

* update resources page and other styling updates

* linting

* tweaks

* removing windows and align:center

* update resources

* remove links and and card hearder

* lots of styling tweaks

* Tweaks and minor improvements

* lint

* fix CI

* trigger pre-comimt

* rererefix CI

Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
Co-authored-by: Eugenia Moreno <eugenia@Eugenias-MBP.fios-router.home>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-09-11 22:59:12 -07:00
Jesse Yang dd7f3d5402
build: split hive and presto tests to separate jobs (#10821)
* build: split hive and presto tests to separate jobs

* Must install doc dependencies, too
2020-09-10 13:12:00 -07:00
Ville Brofeldt 9a6697141d
chore: deprecate python 3.6 support (#10803) 2020-09-09 08:51:55 +03:00
Maxime Beauchemin 3d8857ecc8
style: rename 'Source' top nav item to 'Data' (#10715)
* style: rename 'Source' top nav item to 'Data'

* Fix tests

* tables -> datasets

* rename datasource -> dataset

* lint

* more renaming

* use npm ci
2020-08-29 18:09:47 -07:00
Bogdan 19a9bcc9c5
chore: ci Initial hive support (#10593)
* Initial hive support

* Clone hive setup

* Make hive tests work locally

* Debugging presto failure

* sleep in dataset test

* Address comments

* Address comments

* Pin ipython, exclude new pylint rules

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-27 09:49:18 -07:00
Lily Kuang bb92c1f84d
feat: chart and dashboard card list view e2e cypress test (#10669)
* card view cypress tests

* update test config

* chart filter cypress test

* move setting to superset test config

* update test description card view
2020-08-27 09:38:12 -07:00
Craig Rueda 5a908d4513
fix: Updating Dockerfile to work with updated python requirements. (#10550)
* Updating Dockerfile to work with updated python requirements.

* Adding a Docker build step to CI workflow

* Trying docker build-push

* Linting Dockerfile-dev

* Switching to dev dockerfile
2020-08-08 18:56:20 -07:00
Ville Brofeldt 96b9ba3364
ci: bump pre-commit py36 to py37 (#10541)
* ci: bump pre-commit py36 to py37

* add 3rd party for py37

* lint

* yet more lint
2020-08-07 06:54:22 +03:00
Bogdan 62b873e3da
feat: welcome presto to the suite of tested databases (#10498)
* Add presto to the CI

Sample test data

Datetime conversion

Sample test data

Fix tests

* TODO to switch to timestamps

* Address feedback

* Update requirements

* Add TODOs

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-06 12:07:22 -07:00
Ville Brofeldt 3983fff084
ci: bump tests to 3.7 and add support for 3.8 (#10110) 2020-08-05 13:29:07 +03:00
John Bodley cda764fd4b
chore: Adding pip-compile-multi et al. (#10499)
* chore: Adding pip-compile-multi et al

* Specify requirements.txt path for fossa

* [ci] Fixing CI

Co-authored-by: John Bodley <john.bodley@airbnb.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2020-08-04 19:31:52 -07:00
John Bodley 821916a681
chore: pre-commit run --all-files (#10500)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-02 14:32:17 -07:00
Jesse Yang 7ff1757448
build: optimize GitHub Actions for building speed and stability (#10485) 2020-07-30 22:28:56 -07:00
Jesse Yang 538f7e0f73
build: enable Cypress tests for visualizations (#10206) 2020-06-30 17:10:17 -07:00
Jesse Yang 4342c33d0e
build: enable typescript for cypress (#10170) 2020-06-29 10:53:33 -07:00
Jesse Yang ffefcd9ad4
build: dont prefer ts for cypress tests (#10161) 2020-06-25 16:24:05 -07:00
Erik Ritter 334bd6e989
Update prefer_typescript.yml (#10069) 2020-06-16 10:00:30 -07:00
Craig Rueda 2a3305e7dd
Quick fix for bad regex in GH Workflow (#10015) 2020-06-08 15:02:48 -07:00
Erik Ritter c7618ee54b
build: add workflow preferring TypeScript files (#9901)
* Add workflow preventing non TypeScript Files

* Create comment_preferring_typescript.md

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Delete comment_preferring_typescript.md

* Create comment_preferring_typescript.md

* Delete comment_preferring_typescript.md

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Update prevent_non_typescript_files.yml

* Create test.js

* Delete test.js

* Update prevent_non_typescript_files.yml

* Rename prevent_non_typescript_files.yml to prefer_typescript.yml

* Update prefer_typescript.yml
2020-06-01 09:31:31 -07:00
ʈᵃᵢ ef6af935fc
only skip fossa on PRs (#9865) 2020-05-20 14:21:14 -07:00
ʈᵃᵢ 68832d2fa5
build: conditionally run fossa check if dependency files change (#9814) 2020-05-19 10:03:59 -07:00
Erik Ritter c7c76c6a99
build: Add python 3.8 to the build matrix (#9827) 2020-05-17 14:49:51 -07:00
Daniel Vaz Gaspar ea9b7f2dc4
fix(babel): broken babel extract (#9790)
* fix(babel): broken babel extract

* remove unnecessary f strings
2020-05-15 19:05:24 +01:00
Ville Brofeldt ed1d030667
fix: invalid JSON in FR and DE translations (#9803)
* fix: invalid JSON in FR translation

* fix: broken or misformatted translations and add unit test for JSON validty

* Move translation lint test to CI task
2020-05-14 15:26:12 -07:00
Daniel Vaz Gaspar 4427d65717
tests(celery): improve celery tests infra (#9775) 2020-05-14 16:58:30 +01:00
Ville Brofeldt c3307fa7aa
fix: move docs image symlink to _static (#9592)
* fix: move docs image symlink to _static

* Remove unneeded copy statements from build script

* Remove copy statement from CI conf
2020-04-22 19:11:20 +03:00
Will Barrett 132d774953
Add documentation build to Github Actions (#9569)
* Add documentation build to Github Actions

* Update requirements for documentation builds

* Minor optimization - only install requirements for documentation in documentation job
2020-04-20 15:48:50 -07:00
ʈᵃᵢ cb51d7833f
[Build] moves prettier check to separate script (#9591)
* [Build] moves prettier check to separate script

* rename step: eslint -> lint
2020-04-20 15:06:33 -07:00
Jesse Yang d8de540e0c
[Build] Collect frontend code coverage from Cypress tests (#9555)
* build: collect code coverage from Cypress

Collect frontend code coverage reports from Cypress tests and add
proper tagging for all tests.

* Fix bash script lint error from shellcheck

* Revert Cypress to 4.3.0 to see if it fixes a failing test
2020-04-16 23:35:01 -07:00
Craig Rueda fd89900dc5
Run CI on all pushes / PR's (#9538) 2020-04-14 21:16:16 -07:00
Craig Rueda 1d7900ade3
Disabling recording in Cypress tests (#9535)
* Disabling recording in Cypress tests

* Removing --group --ci-build-id
2020-04-14 15:56:35 -07:00
Jianchao Yang 7b4b0d1c61
[Build] Add Github workflows (#9517)
As an replacement to Travis CI.
2020-04-14 13:38:09 -07:00