Commit Graph

310 Commits

Author SHA1 Message Date
Maxime Beauchemin 4b77129cc9
fix(docker): improve docker tags to be cleared and avoid conflicts (#26787) 2024-01-30 23:03:25 -08:00
Evan Rusackas 2ef03ca19b
fix(dependabot): lockfile updater won't fail when there's nothing to … (#26904) 2024-01-30 21:53:46 -07:00
Evan Rusackas fe61493a3c
fix(dependencies): adding auth for dependabot lockfile action (#26888) 2024-01-30 12:02:44 -07:00
Maxime Beauchemin b0d90c6fc8
chore(ci): make action/labeler work on fork PRs (#26900) 2024-01-30 10:58:48 -08:00
Maxime Beauchemin 1f5ae74ad9
feat(ci): add a check to make sure there's no hold label on the PR (#26877) 2024-01-30 09:30:55 -08:00
Maxime Beauchemin f4473afccd
feat: configuring an extensible PR auto-labeler (#26880) 2024-01-30 09:26:34 -08:00
Evan Rusackas 47c337ec62
chore(dependabot): auto-update lockfiles for monorepo package bumps (#26872)
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2024-01-29 18:28:58 -07:00
Evan Rusackas 5392a8c50f
chore(actions): run docs actions on Node 16 to conform with the project (#26868)
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2024-01-29 16:53:38 -07:00
Evan Rusackas 785e832e8d
chore(actions): generate FOSSA report on master, and ALWAYS check for… (#26857) 2024-01-29 16:18:50 -07:00
Evan Rusackas 8db5d13749
chore(CI): get docs building on ALL branches. (#26854) 2024-01-29 13:13:35 -07:00
Maxime Beauchemin dfc614bdc3
chore: fix GitHub 'Unchanged files with check annotations' reports in PR (#26702) 2024-01-28 14:42:49 -07:00
Evan Rusackas 3dcfbcc3a5
chore: Technical Debt Metrics (#26442) 2024-01-26 10:36:04 -07:00
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
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
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