Amit Miran
4954d52329
ci: make presto hive tests to cover only chartData and sqljson ( #17782 )
...
* chore: make presto hive tests to cover only chartData and sqljson
* fix: single quote
* fix: add eval for arguments
* fix: add double quotes on args
* chore: add @pytest.mark.sql_json_flow
* fix: pre-commit
2021-12-31 07:17:54 +02:00
ofekisr
ef57bd1902
fix: failed mypy ( #17886 )
2021-12-29 16:05:53 +02:00
Yongjie Zhao
9840fbf49b
refactor(monorepo): update plugin dependencies ( #17837 )
...
* refactor(monorepo): use local dependencies in packages.json
* add prettier ignore
* update commit message
* fix release workflow
* refine release script
2021-12-22 16:26:12 +08:00
Yongjie Zhao
8fe2f5ffff
refactor(monorepo): migrate plugins release workflow ( #17827 )
2021-12-20 21:58:10 +08:00
Bogdan
bcd698d999
chore: print test runtime ( #17770 )
...
* Print test runtime
* revert me
* duration for unit tests as well
* Revert "revert me"
This reverts commit b82d701d65f97ba617c4fc89e0ff56eee74885f2.
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 10:33:15 -08:00
Yongjie Zhao
12f1d914bd
chore: update babel doc ( #17679 )
...
* chore: update babel doc
* update .po file
* update translation workflow
2021-12-08 16:36:57 +08:00
Yongjie Zhao
3c41ff68a4
refactor(monorepo): move superset-ui to superset(stage 2) ( #17552 )
2021-11-30 08:29:57 +08:00
Karthikeyan Singaravelan
11cf15f8dc
chore: Fix deprecated unittest aliases for Python 3.11 compatibility. ( #17562 )
...
* chore: Fix deprecated unittest aliases for Python 3.11 compatibility.
* chore: Cache pip dependencies.
* chore: Cache more pip dependencies.
2021-11-26 18:21:01 +02:00
Hugh A. Miles II
cd9e99402d
feat: Add prettier to pre-commit workflow ( #17134 )
...
* save
* fix
* fix pre-commit
2021-10-20 20:53:52 -04:00
Ville Brofeldt
9e980b6f2b
ci: fix broken test skips ( #17005 )
2021-10-08 09:13:01 +03:00
Ville Brofeldt
82601abe17
feat: upgrade docker image to py38 and add support for py39 ( #16889 )
...
* feat: upgrade docker image to py38 and add support for py39
* update required tests
2021-10-05 11:35:14 +03:00
Ville Brofeldt
77e7d162d2
ci: check npm lockfile version ( #16916 )
2021-09-30 10:43:38 +02:00
Ville Brofeldt
a3413197de
chore: upgrade to Node 16 ( #16809 )
...
* chore: upgrade to Node 16
* add docs
* fix test
2021-09-25 07:26:35 +02:00
Kamil Gabryjelski
486e0d412c
chore: Upgrade Webpack to v5 ( #16701 )
...
* Upgrade Webpack to v5
* Remove mapbox hack
* Replace url-loaders and file-loaders with asset modules
* Remove 1 rule
* Change --colors to --color
* Remove invalid option (--no-progress)
* Remove url-loader, bump plugin
* Fix AnnotationLayer formula check
* Remove redundant tests
* Bump cypress packages
* Remove old comment
* Fix tests
* Remove checks for number of scripts in markdown test
* Cosmetic changes
* Add tests
* Fix test
* Fix test
* Fixes test warnings
* disable flaky test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com>
2021-09-22 14:24:54 +03:00
Ville Brofeldt
b92358b5b8
ci: bump npm to version 7 ( #16748 )
2021-09-20 15:01:47 +03:00
Amit Miran
62a8f2e193
chore(python-testing): move memoized tests to unit tests ( #15507 )
...
* chore: move memoized test into a separated file
create integration test workflow
* chore: create unit test workflow to run purely pytest
* fix: bad reference
* fix: remove pip requirements bc there aren't any yet
* temp: install unit dependencies directly
* fix: --rootdir=
* fix: try to run only unit test
* chore: decouple memoized as separated module
* fix: bring back dependencies bc superset top-level module is coupled to flask and others so no reason no to do it
* fix: reference
* fix: pre-commit
* fix: pylint
2021-07-12 10:00:18 +03:00
ofekisr
b5119b8dff
refactor(tests): decouple unittests from integration tests ( #15473 )
...
* refactor move all tests to be under integration_tests package
* refactor decouple unittests from integration tests - commands
* add unit_tests package
* fix celery_tests.py
* fix wrong FIXTURES_DIR value
2021-07-01 18:03:07 +03:00
Rob DiCiuccio
7a21f9afa7
chore: Disable comment logging for ephemeral envs ( #15156 )
...
* Disable comment logging
* Update CODEOWNERS
2021-06-14 14:31:36 -07:00
Ke Zhu
9967a5f640
refactor: adopt --app as celery global option ( #15053 )
2021-06-08 20:18:55 -07:00
ʈᵃᵢ
e913ef3261
docs: add publish step ( #14304 )
2021-04-23 10:43:58 -06:00
jawabuu
61325635da
ci: use git submodules for Chart Actions ( #14211 )
...
* Add chart-action submodules
* use local github actions for chart actions
* Run actions checkout for local checkout
* Run lint when PR is edited
* Remove path filter and dummy value
* Fix fetch-depth
* Test chart version bump
* Update maintainer to pass validation
* Update maintainer to pass validation
2021-04-17 19:13:36 +03:00
Craig Rueda
8db7be16da
fix: Switching to local codecov script ( #14170 )
...
* Switching to local codecov script
* Adding license / update instructions
* Fixing FE build
* Fixing FE codecov test
2021-04-16 09:26:50 -07:00
jawabuu
c3e89d53c2
feat: publish superset helm chart ( #14163 )
...
* Create initial helm-release action for superset
* Add lintconf to ensure chart passes validation
* Add lint-test job
* Add apache licence headers
* Run job for master only
* Move helm-lint to separate workflow
* Helm release for master & helm dir changes only
* Dummy change to test linter
2021-04-16 09:13:43 -07:00
Rob DiCiuccio
806fb73d25
feat(SIP-39): Websocket sidecar app ( #11498 )
...
* WIP node.js websocket app
* Load testing
* Multi-stream publish with blocking reads
* Use JWT for auth and channel ID
* Update ws jwt cookie name
* Typescript
* Frontend WebSocket transport support
* ws server ping/pong and GC logic
* ws server unit tests
* GC interval config, debug logging
* Cleanup JWT cookie logic
* Refactor asyncEvents.ts to support non-Redux use cases
* Update tests for refactored asyncEvents
* Add eslint, write READMEs, reorg files
* CI workflow
* Moar Apache license headers
* pylint found something
* adjust GH actions workflow
* Improve documentation & comments
* Prettier
* Add configurable logging via Winston
* Add SSL support for Redis connections
* Fix incompatible logger statements
* Apply suggestions from code review
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
* rename streamPrefix config
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2021-04-08 11:12:03 -07:00
Rob DiCiuccio
6a81a7961c
feat: Support feature flag overrides in ephemeral test envs ( #14008 )
...
* Add support for feature flag overrides in ephemeral env cmd
* update docs to reference correct config
* Update ephemeral env docs
2021-04-08 11:05:59 -07:00
Jesse Yang
e61f5a924b
chore(CI): dont run Hive tests on Py 3.7 ( #13757 )
2021-03-25 23:03:58 -07:00
Jesse Yang
9773aba522
fix(CI): use presto docker image from starburst ( #13756 )
2021-03-23 20:11:58 -07:00
Jesse Yang
5fca19da56
build: check potential db migration conflict for open PRs ( #13498 )
2021-03-10 16:02:52 -08:00
Rob DiCiuccio
b21d2cfcac
build(test env): Shutdown test environments on PR close ( #13452 )
...
* Ephemeral env PR close cleanup action
* Add documentation for test envs
2021-03-09 10:19:43 -08:00
Jesse Yang
d39bc14a0b
test: optimize codecov config ( #13329 )
...
* test: optimize codecov config to let GitHub checks always pass
* Run tests on workflow changes, too
2021-02-25 05:22:34 -08:00
Rob DiCiuccio
27f7d1157f
build: Ephemeral environments for PRs via slash command ( #13189 )
...
* First pass at ephemeral env, new Docker ci target
* Add service checks, get public IP
* Separate issue_comment and workflow_run jobs
* Refactor workflows
* Adjust comment author association
* Checkout code
* Fix image name, manage service desired task count
* Use merge commit sha
* Fix IP output, add failure comment
* Refactor comment parsing & env spinup
* Check container image publish status
* Parse AWS account ID from registry URL
* Use PR number rather than variable merge commit SHA for image tag
* Fix docker push conditional
* Push multiple tags to ECR
* Fix comment author check
* Refactor comment body check
* Provision service with active task to get correct IP
* /testenv up
* Add @mentions to PR comments, env var cleanup
2021-02-24 10:50:52 -08:00
Erik Ritter
beee11de0f
fix: misspelling Erik Ritter ( #13120 )
...
* fix: misspelling Erik Ritter
* Add --all-tags to docker push to account for new default behavior
Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
2021-02-16 11:20:23 -08:00
Daniel Vaz Gaspar
fa4c118e2d
fix: API tests, make them possible to run independently again ( #13076 )
...
* fix: API tests, possible to run independently
* fix workflow name
2021-02-11 18:19:41 +00:00
Daniel Vaz Gaspar
0cf57756f0
fix: add config to disable dataset ownership on the old api ( #13051 )
...
* fix: add config to disable dataset ownership on the old api
* fix CI docker build
* fix logic
* add deprecation comment on the config
2021-02-11 18:18:27 +00:00
Ville Brofeldt
b12e8024b3
ci: skip cypress if no code changes ( #12982 )
2021-02-09 13:58:50 +02:00
Elizabeth Thompson
1bb305323e
chore: rename action to docker-build ( #12980 )
2021-02-06 14:25:46 -10:00
Jesse Yang
2799894221
chore: cleanup no-op Cypress (chrome) job ( #12972 )
2021-02-05 13:05:48 -08:00
Elizabeth Thompson
0d1b59eb86
chore: change name of python lint action ( #12968 )
2021-02-05 12:54:37 -08:00
Ville Brofeldt
5d55c4367c
ci: conditionally skip python and frontend tests ( #12583 )
...
* ci: conditionally skip python tests
* parametrize check script and implement for frontend
* add missing script
* fix incorrect check
* move CHECKS to ARGS and fix typo
* fix SC2086 nit
2021-02-05 17:40:08 +02:00
Elizabeth Thompson
94b6b29362
chore: rename duplicate build jobs ( #12921 )
2021-02-03 16:40:38 -08:00
Jesse Yang
9c5ec3d72a
fix(CI): properly configure cancel duplicates ( #12625 )
...
Updating the "Cancel Duplicates" job to use our own Python script, which will try to cancel all duplicate jobs of all workflows:
For each workflow, we keep only the latest run for a given branch + event type (pull_request or push).
Older runs will be cancelled even if they are already running.
2021-01-29 12:29:46 -08:00
Elizabeth Thompson
41b990f72d
chore: add breaking change to title regex ( #12754 )
2021-01-27 18:48:11 -08:00
Elizabeth Thompson
80deb4ed7c
fix: update latest tag action to use set-output ( #12706 )
2021-01-24 16:40:52 -08:00
Tobiasz Kędzierski
1f27b62d51
ci: use git submodules for (securely) using third party Github Actions ( #12709 )
...
* Use git submodules for (securely) using third party Github Actions
List of repositories added as submodules:
EndBug/latest-tag@latest
morrisoncole/pr-lint-action@v1.4.1
trilom/file-changes-action@v1.2.4
styfle/cancel-workflow-action@0.6.0
apache-superset/cached-dependencies@b90713b
unsplash/comment-on-pr@v1.2.0
2021-01-23 23:10:16 -08:00
Amit Miran
d80c2ed72a
chore: skip CI on draft PR ( #12666 )
2021-01-21 16:10:17 -08:00
Jesse Yang
c68cec77a5
fix(CI): remove duplicate hive and presto tests ( #12638 )
2021-01-20 18:50:08 -08:00
Jesse Yang
438be9a75e
chore: upgrade CI runner to Ubuntu 20.04 ( #12563 )
...
This should fix a broken CI error where apt fails to update:
E: The repository 'https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04 Release' no longer has a Release file.
2021-01-15 16:14:33 -08:00
Rob DiCiuccio
b1fcd61b73
build: add Cypress parallelization with obfuscated record key ( #12534 )
2021-01-15 12:18:18 -08:00
Daniel Vaz Gaspar
2d10a2c089
ci: remove refs/tags from docker tags on a release ( #12518 )
...
* ci: remove refs/tags from docker tags on a release
* wider head
2021-01-15 09:23:59 +02:00
Jesse Yang
5fe4173a5d
build: add cancel-workflow-runs action locally ( #12394 )
2021-01-12 22:11:51 -08:00