Commit Graph

331 Commits

Author SHA1 Message Date
Eric Briscoe f09c4327f8
Splitting into two separate chromatic jobs to reduce conditional logic causing run issues (#21219) 2022-08-26 14:56:19 -07:00
Hugh A. Miles II cda7d70565
feat: print comment for chromatic storybook link (#21170)
* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* Update chromatic.yml

* working

* plz work

* plzzzzz

* one more time

* one one more time

* this works

* lit

* last one
2022-08-23 19:31:05 -04:00
Eric Briscoe 6a0b7e5598
feat: Add Chromatic publishing to superset-frontend storybook (#21095)
* Work in progress to add Chromatic publishing to superset-fronted storybook

Adds new Github action to publish storybook builds to chromatic
Adjusts configuration to support MDX story format
Updates Alert stories to take advantage of MDX format for example in storybook that will publish to Chromatic
Fixes issue in ListViewCard stories that make the story build fail

* Adjust Chromatic Github action

* Adjust action so Gtihub Secret is read into env

Github secrets are not accessible in conditional blocks so this change moves the access of the github secret into an env variable which is accessible in conditional logic

* Removes unneccesary projectToken from package json

* Using a temp key to debug no access to value from github secret

* Refining skipping if no changes to superset-frontend

* Remove typos from Action component story, consolidate on folder check in Chromatic action

* Fix error in Chromatic action event

* Testing action with pul_request_target

* adjustments to Chromatic action triggers

* lint fix

* Testing if pull_request_target is disabled

* More adjustments to Chromatic action

* UI Change to trigger action

* Change to story text to test action

* update package-lock after merge conflicts from master

* Changes to test chromatic action

* Finalize Chromatic actions, fix lint errors

* Backs out addition of @storybook/addon-docs which is included in addon-essentials

* Lint error in package.json
2022-08-23 16:16:28 -04:00
Evan Rusackas 755f654cc6
chore: make dependabot upgrade package.json + add more package.json files (#20920)
* chore: make dependabot upgrade package.json, and add more package.json files to the mix.

* trailing newline
2022-08-04 11:52:01 -06:00
Elizabeth Thompson 34ad80c642
add cypress codeowners to e2e tests (#20921) 2022-08-01 17:35:35 -07:00
Geido 76f573a4ea
chore: Ignore Applitools by default when running Cypress tests (#20789)
* Exclude applitools by default

* Remove unnecessary check

* Trim
2022-07-26 16:57:45 +03:00
Yongjie Zhao 9c7bcfcead
fix: core coverage and add a coverage step in workflow (#20784)
* fix: core coverage

* add step in workflow
2022-07-20 08:56:03 -03:00
David Aaron Suddjian 7f70de30fb
one action, one file (#20554) 2022-07-01 11:18:04 -07:00
Yongjie Zhao b870a21eaa
refactor: remove unused flatten function (#20582) 2022-07-01 19:17:55 +08:00
Elizabeth Thompson ddcef70fbd
change permissions on action (#20496) 2022-06-27 15:22:43 -07:00
Elizabeth Thompson b66a617ed9
remove label for new user (#20429) 2022-06-22 10:21:53 -07:00
Elizabeth Thompson ccba5b2f69
chore: add action to welcome new users (#20401)
* add action to welcome new users

* fix typo
2022-06-15 16:27:55 -07:00
Geido 67d4318784
chore: Fix and enhance Applitools workflows (#20071)
* Enhance workflow

* Fix failing workflow

* Enhance storybook with cached-dependencies
2022-05-16 14:26:38 +02:00
Jesse Yang 6139057dcf
test: make tabbed dashboard a little more complex (#19966) 2022-05-13 17:31:23 -07:00
Jesse Yang 99830703b1
chore: add doc link for db migration conflict warning (#19962) 2022-05-12 11:37:43 -07:00
Geido ee178f47e1
Run Applitools + Cypress nightly (#20031) 2022-05-12 15:59:55 +02:00
Geido 62e1c34ffb
Use pull_request_target (#19996) 2022-05-09 17:58:09 +02:00
Geido d0b8b1e97d
feat: Applitools Cypress workflow (#19956)
* WIP

* Attempt Github Actions integration

* Add completion notification to workflow

* Update env

* Add new line

* Add license

* Fix whitespaces

* Fix Yaml indentation

* Fix afterEach

* Add initial tests

* Update config

* Use test secret

* Clean up

* Add batchName

* Disable logs - add secret

* Create separate workflow

* Clean up

* Update workflow

* Exclude applitools tests

* Update jobs name

* Run applitools tests separetely

* Fix path pattern

* Run once

* Add more initial tests

* Enhance tests

* Add dashboard edit mode test

* Move env

* Exclude applitools from sqllab test run

* Attempt pull_request_target

* Catch Applitools failures

* Clean up tests

* Add test step

* Add test step

* Remove step

* Fix SqlLab test

* Update CURL request

* Fix Yaml

* Add empty data to batch completion
2022-05-09 15:42:20 +02:00
Geido c3ba86ecc5
feat: Run Applitools on public Storybook (#19852)
* Test storybook workflow

* Add test workflow

* Fix eof

* Update workflow

* Install apt dependencies

* Schedule nightly

* Enhance workflow

* Add secret Applitools key

* Update config

* Add batchName
2022-05-09 14:17:22 +02:00
Daniel Vaz Gaspar 3db4a1cb80
chore: bump postgres from 10 to 14 (#19790)
* chore: bump postgres from 10 to 14

* update helm chart

* adding docs

* fix docs

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* improve docs

* improve docs

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-21 10:16:00 +01:00
Michael S. Molina 82c47f32a0
chore: Updates the Select codeowners (#19736) 2022-04-15 14:37:52 -03:00
Srini Kadamati 2f41ed0940
1. Removed duplicate security vulnerability issue template. 2. Modified feature request template to encourage people to post in Discussions instead (#19617) 2022-04-12 19:31:35 -04:00
Jesse Yang ea708162a5
feat(CI): clean up Python tests output (#19489) 2022-04-03 16:27:43 -07:00
Daniel Vaz Gaspar ff6ee3766c
ci: add more code owners to helm chart source (#19322) 2022-03-23 10:12:44 +00:00
David Aaron Suddjian 97abc28a1f
chore!: remove `ENABLE_REACT_CRUD_VIEWS` feature flag (permanently enable) (#19231)
* remove ENABLE_REACT_CRUD_VIEWS feature flag

* docs

* deal with problematic tests

* empty test suite

* skip test

* test conditions changed

* removing the tests instead of skipping
2022-03-18 14:00:23 -07:00
Jesse Yang f6291545fb
chore: turn on SQLLAB_BACKEND_PERSISTENCE by default (#19107)
* chore: turn on SQLLAB_BACKEND_PERSISTENCE by default

* Rewrite SQL tabs test to make it more rerunnable
2022-03-17 21:51:47 -07:00
David Aaron Suddjian 54b60ded8e
chore(embedded): refresh the guest token (#19132)
* refresh the guest token

* put back the date logic

* version

* fix time hijinks

* test

* Update superset-embedded-sdk/src/guestTokenRefresh.ts
2022-03-14 09:32:25 -07:00
Ville Brofeldt 5752372dd2
refactor(docs): clean up deploy of static files (#18923) 2022-02-24 14:01:26 +02:00
Ville Brofeldt 16380906d1
fix(docs): add missing static files to build (#18920) 2022-02-24 13:17:50 +02:00
Adam Dobrawy 31d363716d
Add craig-rueda as owner of Helm Chart (#18621) 2022-02-11 16:48:19 +02:00
David Aaron Suddjian 1c2936ba7b
feat: Embedded SDK (#18250)
* feat: embedded sdk

* correct values

* better version

* readme stuff

* release script

* doc

* oops

* better package description

* license

* that was invalid json

* Apply suggestions from code review

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* Update superset-embedded-sdk/README.md

* a github workflow to make sure the build succeeds

* fix github workflows

* writing

* try a different trigger

* no point in a single unit matrix

* Revert "no point in a single unit matrix"

This reverts commit 90f78bfc98.

* workflow changes

* fix some scripts

* pull request types

* slight rename

* test list

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-02-03 14:01:45 -08:00
Hugh A. Miles II f3c393f305
Update superset-docs.yml (#18575) 2022-02-03 10:35:08 -08:00
Hugh A. Miles II 9c3205b573
feat: 🚀 Docs V2 CI Script (#18560)
* switch to v2

* promote docv2

* remove on triggers
2022-02-02 13:02:51 -08:00
Adam Dobrawy f212f884e5
chore: add ci for docs-v2 (#18231) 2022-02-02 12:06:10 -08:00
Hugh A. Miles II 5da3c45fc6
Revert "Update superset-e2e.yml (#18041)" (#18051)
This reverts commit b5652739c9.
2022-01-14 14:40:02 -05:00
Hugh A. Miles II b5652739c9
Update superset-e2e.yml (#18041) 2022-01-14 13:32:39 -05:00
ofekisr 7fc6a2f36c
refactor: examples data loading for tests (#17893)
* refactor: replace the way the birth_names data is generated

* refactor: replace the way the birth_names data is generated

* refactor structure
add tests for common
2022-01-11 14:16:09 +02:00
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 34d7f0a860
chore: Ignore docs directory for dependabot (#17451)
* Ignore docs directory

* fix
2021-11-16 15:18:37 -05: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
Michael S. Molina 69604c316f
chore: Include codeowners for the Select component (#17102) 2021-10-15 07:29:35 -03: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
Junlin Chen 6daf37bf40
move repro steps to front (#16819) 2021-09-27 09:43:44 -07: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
Junlin Chen a8d5342953
chore: add browser info to template (#16732)
* add browser info to template

issue report with browser info

* Update .github/ISSUE_TEMPLATE/bug_report.md

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
2021-09-21 08:24:02 +08:00
Ville Brofeldt b92358b5b8
ci: bump npm to version 7 (#16748) 2021-09-20 15:01:47 +03:00
David Aaron Suddjian a4f60010a1
add semantic title to the pull request template (#16693) 2021-09-17 13:23:39 +08:00
Will Barrett 8aa24e50d9
chore: remove myself from codeowners on Preset integration (#16470) 2021-08-30 15:14:46 -07:00
Junlin Chen 16a9d219ed
chore: Add feature flags to PR template (#16215)
* chore:Add feature flags to bug PR template

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-08-12 07:38:03 -10:00
David Aaron Suddjian 7e691f9849
Update bug_report.md (#15987) 2021-07-30 13:27:34 -07: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
John Bodley f53b2c6587
docs: Update SIP template (#14278)
* [SIP] Update SIP template

* Update sip.md

* Update .github/ISSUE_TEMPLATE/sip.md

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
2021-06-28 07:28:16 +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
David Aaron Suddjian 32622c5081
chore: Update pull request template (#14723)
* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md
2021-05-20 14:35:33 -07:00
Daniel Vaz Gaspar 437be4b689
ci: set remote URL to https and bump sha (#14350)
* ci: set remote URL to https and bump sha

* update gitmodules
2021-04-26 17:43:32 +01:00
ʈᵃᵢ e913ef3261
docs: add publish step (#14304) 2021-04-23 10:43:58 -06:00
Rob DiCiuccio 25922e341f
Add Preset code owners for ephemeral test env workflows (#14238) 2021-04-19 22:19:18 -07: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
Rob DiCiuccio f81b746556
chore: Update PR template for SIP-59 DB migrations process (#13855) 2021-03-30 08:54:26 -07:00
Rob DiCiuccio 2a4e4b320c
Add CODEOWNERS (#13759) 2021-03-30 08:54:08 -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
adam-stasiak-polidea 3235d918aa
test: Added some Cypress tests for Native Filters (#12180) 2021-02-04 22:54:00 -08: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
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 cf1c57a6d4
build: ignore github actions from dependabot (#12291) 2021-01-05 22:45:44 -08:00
Jesse Yang 4149ab4e5e
build: remove parallelization for E2E tests (#12290) 2021-01-05 15:46:52 -08:00
dependabot[bot] 95296df507
build(deps): bump node-fetch in /.github/actions/file-changes-action (#12248)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-04 14:40:01 -08:00
dependabot[bot] e853c16a3d
build(deps): bump @actions/core in /.github/actions/file-changes-action (#12246)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.4 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-04 14:08:53 -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
Maxime Beauchemin 2d61d684d1
chore: add dependabot.yml config file (#11510) 2020-10-31 15:21:13 -07:00
David Aaron Suddjian 074f8c2e8c
other: Improvements to bug report template (#11307)
* Update bug_report.md

* more detail!

* Update bug_report.md
2020-10-29 15:44:03 -07: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 fb8320f7fe
fix: cosmetic issue template (#11176) 2020-10-06 16:26:48 -07:00
Maxime Beauchemin ad250637eb
chore: add issue template for 'Cosmetic Issue' (#11174)
* chore: add issue template for 'Cosmetic Issue'

* addressing comment
2020-10-06 14:17:34 -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
Rob DiCiuccio 8b683783cc
docs: add security vulnerability GH issue template (#11023)
* Add security vulnerability issue template

* Louder title
2020-09-23 11:13:13 -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
Erik Ritter 9edfc8f68d
chore(ts): convert base js files to typescript (#9826) 2020-05-24 19:50:08 -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
Maxime Beauchemin 65d185f153
chore: add support for prlint: a commit msg linter (#9655)
Sets up [PRLint](https://github.com/apps/prlint), with a single rule
matching [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/)

Also modifying the PR template to remove redundant annoying checkbox
section.

Once we adopt, I'm hoping we can modify our bot to auto-label based on
the commit type.
2020-05-12 10:23:43 -07: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
Maxime Beauchemin cf6422caf3
chore: auto label issues based on the template chosen (#9507)
* chore: auto label issues based on the template chosen

* quoted stuffs
2020-04-13 16:31:21 -07:00
John Bodley c82a7f42e1
Update bug_report.md (#7583) 2019-05-31 13:47:30 -07:00
Hamel Husain 845218dd88 Create issue_label_bot.yaml (#7341) 2019-04-22 14:11:35 -07:00
Krist Wongsuphasawat 80070d0eaf
fix: make the bot more descriptive (#7279) 2019-04-10 11:02:10 -07:00
Krist Wongsuphasawat f9db605e0d
fix: make SIPs exempt from stale bots (#7278)
* fix: make SIPs exempt from stale bots

* update pr template
2019-04-10 09:24:45 -07:00
Krist Wongsuphasawat 6c38cb1a09
chore: add bot config files and update issue templates (#7249)
* chore: add bot config files and update issue templates

* fix: exclude SIP
2019-04-09 22:45:58 -07:00