Commit Graph

248 Commits

Author SHA1 Message Date
Maxime Beauchemin
845bcc9bea
fix: docker should always run, even in forks (#26801) 2024-01-25 11:33:51 -08:00
Elizabeth Thompson
8f8e7c2aa6
fix: add user to latest-release-tag workflow (#26752) 2024-01-24 17:19:59 -08:00
Maxime Beauchemin
73c6abde5e
fix(docker): credentials issues around superset-cache in forks (#26772) 2024-01-24 12:27:48 -08:00
Maxime Beauchemin
0f590799b2
chore: improve/decouple eslint and tsc 'npm run' commands (#26704) 2024-01-24 08:51:08 -08:00
Maxime Beauchemin
c6772b6c78
chore: prevent CI double runs on push + pull_request (#26766) 2024-01-23 20:30:53 -08:00
Maxime Beauchemin
363a8e6b07
build: Parallelize the CI image builds (continued) (#26698) 2024-01-23 13:44:07 -08:00
Elizabeth Thompson
14c3e2bf70
chore: do not mark helm releases as github latest (#26753) 2024-01-23 10:09:42 -08:00
Daniel Vaz Gaspar
74f953ddd2
fix: docker ephemeral environment, push only on testenv comment (#26473)
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2024-01-23 15:46:46 +00:00
Maxime Beauchemin
75a98af64b
feat: auto-label PRs that contain db migrations (#26745) 2024-01-22 16:24:07 -08:00
Evan Rusackas
ffc357c6a1
chore(dependencies): loosen constraints on dependency checker (#26708) 2024-01-22 13:50:16 -07:00
Daniel Vaz Gaspar
6a4043d0f0
fix: unnecessary logic on CI ephemeral (#26644) 2024-01-17 12:49:28 +00:00
John Bodley
77bd7cf1c6
chore: Reenable SQLite tests which leverage foreign key constraints et al. (#24605) 2024-01-09 06:33:47 +13:00
Elizabeth Thompson
26498fc099
chore: add latest-official docker tag (#25322) 2023-10-18 16:59:30 -07:00
Josh Soref
5054b9fade
build(ci): Provide diff for pre-commit failures (#25638)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-10-13 11:00:09 -07:00
Multazim Deshmukh
050543ae1b
feat: migrate to docker compose v2 (#25565) 2023-10-10 14:38:40 -07:00
Josh Soref
3e0c70d018
chore(misc): Spelling (#25456)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:34:04 -07:00
Aleksey Karpov
e1a91e2228
feat(docker): Use docker buildx and Add ARM builds for dockerize and websocket (#25377) 2023-09-25 13:08:21 -07:00
Sebastian Liebscher
c17accc0b4
chore: bump postgresql in docker-compose and github workflows (#24147) 2023-07-24 11:09:41 -06:00
Elizabeth Thompson
1a9724582f
chore: turn off talisman for ephemeral environments in ci (#24627) 2023-07-19 14:22:32 -07:00
John Bodley
cbf39650d0
chore: Re-enable some GitHub action workflows in draft mode (#24626) 2023-07-11 10:50:14 -06:00
Maxime Beauchemin
6a8f60f9fd
chore: deprecate FLASK_ENV and improve conf.ENVIRONMENT_TAG_CONFIG (#24404) 2023-06-29 12:04:32 -07:00
Aleksey Karpov
46159fd190
build(docker): add dockerize image (#24534)
Co-authored-by: Aleksey Karpov <al.karpov@okko.tv>
2023-06-29 12:03:59 -07:00
Aleksey Karpov
ba3bdc077c
build(docker): simplification of assembly to facilitate further support (#24504) 2023-06-24 11:41:57 -07:00
boenshao
e6f7c73f54
build(docker): pin the underlying debain base image (#24497) 2023-06-23 10:23:51 -07:00
Aleksey Karpov
291a10fefe
feat(docker): Add support LDAP/AD authorization (#24277) 2023-06-23 09:15:57 -07:00
Elizabeth Thompson
b68de27dc6
fix: force data load on import examples (#24410)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-06-16 12:55:35 -07:00
Maxime Beauchemin
01689b4c94
chore(ci): make eslint and jest run in --quiet mode (#24430) 2023-06-16 12:00:46 -06:00
Sebastian Liebscher
e3719a1b07
feat: bump to Python3.9 (#23890)
Co-authored-by: EugeneTorap <evgenykrutpro@gmail.com>
2023-05-10 20:21:56 +03:00
Evan Rusackas
33da642d26
chore(deps): Add dependency-review action (#23951) 2023-05-10 08:08:30 -06:00
Evan Rusackas
20d439ac01
chore(actions): adding JavaScript to CodeQL config (#23974) 2023-05-10 08:08:21 -06:00
Daniel Vaz Gaspar
2a63b39f33
chore: add codeQL to CI (#23949) 2023-05-05 19:39:57 +01:00
Sebastian Liebscher
3c381c5361
chore(ci): bump actions (#23895) 2023-05-02 08:59:00 +03:00
Craig Rueda
33bb27bc0f
fix(ephemerals): Quick fix for ephemeral spin-up (#23857) 2023-04-27 15:51:53 -06:00
Kamil Gabryjelski
40ae074ff0
chore: Upgrade Cypress to 10.11.0 (#23813) 2023-04-26 16:17:59 +02:00
Michael S. Molina
6d559559cc
fix: Clean up docker-ephemeral-env secrets command (#23819) 2023-04-25 15:43:24 -03:00
Michael S. Molina
c536d92ade
fix: Docker ephemeral env (#23786) 2023-04-24 13:04:47 -03:00
Evan Rusackas
295975d16b
chore(actions): Fix for Chromatic action using actions/checkout@v3 (#23759) 2023-04-20 21:47:52 -06:00
Josh Soref
47fd73255e
fix(ci): Fix GitHub workflow behavior for forks (#23117) 2023-04-14 09:23:00 -06:00
Elizabeth Thompson
a8d5cb89a8
chore: use util test env for init check (#23325) 2023-03-10 16:07:50 -08:00
tison
f4ffed24ba
chore: Improve greeting message (#23077) 2023-02-16 08:58:48 -07:00
Daniel Draper
931b01ee85
feat(docker): Build multiple python version images (#22770)
Co-authored-by: Daniel Draper <daniel.draper@understand.ai>
2023-01-23 10:29:41 -08:00
Daniel Vaz Gaspar
6d37e66cd1
chore: Use redis 7 on tests and pin on local dev and non-dev (#22742) 2023-01-16 15:45:32 +00:00
Ville Brofeldt
7df1d70a95
fix(websocket): bump ts-node to fix startup error (#22563) 2023-01-02 17:11:55 +00:00
Craig Rueda
2bdf22b215
fix(docker): Fixing ws docker push (#22303) 2022-12-01 11:11:04 -05:00
Yann Jouanique
7408676019
build(docker): Push websocket image (#22181) 2022-11-24 08:10:57 -08:00
Yann Jouanique
9832bbd469
build: Mutli-stage build and slim image for websocket container (#21954) 2022-11-04 09:10:06 -07:00
Yann Jouanique
ae9a30b37c
build(helm): Helm-docs + fix Helm chart release (#21963) 2022-10-29 16:29:54 -07:00
Yann Jouanique
06da7bf65c
feat(helm): Support for flower and websocket containers (#21806) 2022-10-27 13:03:21 -07:00
Stephen Liu
389fa31b89
fix: new welcome new users action (#21662) 2022-09-30 19:36:25 +08:00
Eric Briscoe
dc539087c7
chore: Remove chromatic job per PR as it has errors (#21553) 2022-09-22 18:25:45 -03:00
Ville Brofeldt
05b97fff4d
fix(cache): respect default cache timeout on v1 chart data requests (#21441) 2022-09-13 15:56:04 +02:00
Eric Briscoe
5f76ac9001
fix: Fixes error caused by step id placed in wrong location (#21226)
* Update chromatic PR action to have access to Job outputs

Adjusting to follow docs at: https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs

* Fixes error where step ID was incorrect location
2022-08-28 14:44:54 -07:00
Eric Briscoe
e2ab966910
Update chromatic PR action to have access to Job outputs (#21224)
Adjusting to follow docs at: https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs
2022-08-26 16:21:22 -07:00
Eric Briscoe
092460a1f1
Removes if statement causing comment not to run (#21222) 2022-08-26 15:42:26 -07:00
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
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
Jesse Yang
ea708162a5
feat(CI): clean up Python tests output (#19489) 2022-04-03 16:27:43 -07: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
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
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