Commit Graph

194 Commits

Author SHA1 Message Date
Jay Chung 82eeeec750
fix wrong condition (#14836) 2023-08-31 09:23:59 +08:00
Jay Chung 25e841a228
chore: Correct db upgrade and add ci avoid regression (#14620)
add atlasgo to ci
https://atlasgo.io/declarative/diff
related: https://github.com/apache/dolphinscheduler/issues/11286

BTW, it seems some ddl change only exist in 3.1.3、3.1.5、3.1.6 but do not exist in dev which will also cause an error when updating from those version
2023-08-30 11:55:05 +08:00
kezhenxu94 294a6225f1
Fix cache is overriden randomly after build and before tests (#14808)
* Fix cache is overriden randomly after build and before tests
* Update backend.yml
* Update unit-test.yml
2023-08-24 22:27:24 +08:00
Gallardot f7ba26f030
fix: kubectl version update (#14762)
Signed-off-by: Gallardot <gallardot@apache.org>
2023-08-17 17:13:18 +08:00
Wenjun Ruan 27745a8a84
Upgrade JDK17 for Sonar (#14726) 2023-08-10 11:29:11 +08:00
Gallardot 5a550dd628
[Improvement][CI] deploy to k8s (#14555)
* [Improvement][CI] deploy to k8s

Signed-off-by: Gallardot <gallardot@apache.org>

---------

Signed-off-by: Gallardot <gallardot@apache.org>
Co-authored-by: Eric Gao <ericgao.apache@gmail.com>
Co-authored-by: Aaron Wang <wangweirao16@gmail.com>
2023-07-26 17:18:04 +08:00
Wenjun Ruan 4aab0b234f
Use AdHoc datasource client in sqlTask (#14631)
* Use AdHoc datasource client in sqlTask

* Add method in DataSourceChannel to create PooledDataSourceClient and AdHocDataSourceClient
2023-07-26 08:58:50 +08:00
xiangzihao 164154488a
add e2e optional for ci (#14633) 2023-07-25 11:10:50 +08:00
Jay Chung de2d215aee
impv: Correct datax execute and python execute script name (#14523)
* impv: Correct datax execute and python execute script name

we use PYTHON_LAUNCHER for python script execute and
DATAX_LAUNCHER for datax script name

* Add pr number

* fix ut

* style

---------

Co-authored-by: xiangzihao <460888207@qq.com>
2023-07-20 09:13:55 +08:00
xiangzihao 6af361a7d6
[CI] Try to fix flaky CI (#14568)
* increase zk timeout in ci

* increase await timeout in WorkflowE2ETest
2023-07-17 19:02:55 +08:00
Eric Gao 8020c1539c
[Improvement][API Test] Add api tests for process instance (#14514)
* Add test cases for process instance apis

---------

Co-authored-by: xiangzihao <460888207@qq.com>
2023-07-14 11:07:41 +08:00
Eric Gao 3e3e859c7f
[Improvement][API-Test] Add api tests for executor controller (#14500)
* Add api tests for executor apis
2023-07-12 13:48:07 +08:00
Wenjun Ruan 406aeaf659
Use jvm_args_env.sh to set JVM args (#14487) 2023-07-10 17:39:57 +08:00
Eric Gao 7973324229
Add api test cases for scheduler page (#14480) 2023-07-07 15:34:54 +08:00
Eric Gao d4c523830d
[Improvement][API Test] Add API test cases for process definition controller (#14300)
* add api tests for process definition controller
2023-07-06 13:17:13 +08:00
Jay Chung 0f190ae3da
chore: Add new step skip for ui build and spotless (#14427) 2023-07-03 20:41:12 +08:00
Eric Gao 323129febb
[Improvement][API-Test] Add api tests for project page (#14402)
* add initial api tests for process definition controller

* Update

* Add test cases for project page

* Remove unrelated stuff

* Remove useless imports

* Add project api test case to github workflow matrix
2023-06-27 10:00:11 +08:00
Jay Chung 2124a95081
chore: roadmap should not label stale (#14103) 2023-05-15 17:45:22 +08:00
JieguangZhou a3b2cc0275
[CI] Try fix api test error (#14094)
* try fix api test error

* add workergroupapitest to ci and fix log output

* fix log output

* skip remote shell UT

---------

Co-authored-by: SbloodyS <460888207@qq.com>
2023-05-12 21:39:00 +08:00
Cheng Pan 5f94c8cd7c
Pin pnpm@7 in CI (#13899) 2023-04-10 17:31:04 +08:00
Jay Chung e61b8a3dce
fix: docker auto push tag name (#13858) 2023-04-03 18:28:26 +08:00
kezhenxu94 9668c84d30
Fix typo (#13632) 2023-02-27 10:12:14 +08:00
kezhenxu94 f937c511b1
Publish Docker images to docker hub when released (#13631) 2023-02-27 09:24:28 +08:00
kezhenxu94 e368bde7ee
Publish Helm Chart snapshot to ghcr.io (#13546) 2023-02-11 12:40:35 +08:00
Eric Gao 385d781ebc
Fix minor spelling and punctuation errors (#13452) 2023-01-29 16:51:03 +08:00
kezhenxu94 de6bc56aee
Add Terraform deploy manifests for quick setup in AWS (#13252) 2022-12-22 16:55:32 +08:00
Jay Chung db615ba284
[hotfix] Remove dead link check path filter (#12985)
Some patch not run docs ci due to not docs related change
2022-11-24 13:23:09 +08:00
Jay Chung 64a29c61e4
[ci] Require docs context before merge, and run spotless check (#12977)
Find out there are some docs formatter that will fail our CI,
due to we merge some wrong PR accidents, such as
https://github.com/apache/dolphinscheduler/pull/12940

This patch asks spotless check run in docs only check to
avoid regression too
2022-11-23 18:26:05 +08:00
Jay Chung 1347a8f94c
[chore] Separate Python API into another repository (#12779)
Currently, our Python API code is a module in apache/dolphinscheduler codebase,
each time users change Python API code, they need to run all requests CI check
for dolphinscheduler and Python API, But if the user does only change Python
code, it could be merged if Python API CI pass and do not dependent on others CI.

Besides, we release Python API as the same version of dolphinscheduler. It is
easy for user to match Python API version. But when Python API does not change
any code, but dolphinscheduler release a bugfix version, Python API has to
release the new version to match dolphinscheduler. This happened when we
released Python API 2.0.6 and 2.0.7. 2.0.6 and 2.0.7 is bugfix version, and
Python API does not change any code, so the PyPI package is the same.

Separate Python API also makes our code more sense, we will have more
distinguished code in dolphinscheduler and Python API new repository.
Have separate issue tracker and changelog for information to users.

ref PR in other repository: apache/dolphinscheduler-sdk-python#1

see more detail in mail thread: https://lists.apache.org/thread/4z7l5l54c4d81smjlk1n8nq380p9f0oo
2022-11-09 21:20:15 +08:00
Aaron Wang 08335b1032
[Improvement][Task] Improved way to collect yarn job's appIds (#12197)
* Provide aop way as an optional way to collect yarn job's applicationId, and import new module `dolphinscheduler-aop` to place the aop code.
* Add user property `appId.collect` for user to decide how to collect applicationId.
* Add new environment configuration for each type of yarn tasks to support aop in `dolphinscheduler_env.sh`
* Update docs to declare how to use aop way.
* Update `LogUtils` to support fetch applicationId in different ways based on the user property.

Co-authored-by: gabrywu <gabrywu@apache.com>
2022-10-31 16:52:53 +08:00
kezhenxu94 4ea7eec750
Use temurin Java docker images instead of deprecated ones (#12334) 2022-10-17 15:46:21 +08:00
Jiajie Zhong a973054950
[ci] Milestone and Label are required before the PR merged (#12222)
To make our release process easier, I plan to mark milestone
and label is required before the PR merged, they use for

* label: In this path we required label with at least on with
  'feature|bug|improvement|document|chore' to make our changelog
  more convenient
* milestone: For easier to cherry-pick PR, currently some of
  our milestone only exists in issue and not exists in related
  PR, it may
2022-10-10 15:20:51 +08:00
caishunfeng 40090d459e
[Improvement] remove log-server and server module (#12206)
* remove log-server module

* remove dolphinscheduler-server module
2022-09-30 16:41:41 +08:00
rickchengx 08a4c7981f
[improve] Remove the spark version of spark task (#11860) 2022-09-21 20:27:28 +08:00
Daniel Y 009cb68011
[Improvement-11834] Upgrade docker base image to support python3.9 (#11835)
* use openjdk:8-jre-slim-bullseye instead of buster to support python3.9

* use openjdk:8-jre-slim-bullseye instead of buster across all components
2022-09-14 09:29:45 +08:00
kezhenxu94 c3a8dd5ca7
Add codeql to scan codes (#11836) 2022-09-11 15:31:13 +08:00
xiangzihao 71eeab3d98
[CI] Fix cluster test abnormal (#11688)
* fix cluster test abnormal
2022-08-30 09:33:22 +08:00
xiangzihao a22b9271ff
add unit test ci timeout (#11655) 2022-08-26 11:45:49 +08:00
Jiajie Zhong 4d427ee215
[python] Add support interpreter version 310 and 311-dev (#11170)
* Change version of package
* Fix tox error
* Change dev status to beta
* py4j not work on py{10,11} OS Windows
2022-08-11 23:39:44 +08:00
Jiajie Zhong 26afd655cb
[python] Add multiple version of document (#11391)
* Using sphinx-multiversion to support multiple version
of python api document
* change python api sidebar link
* fix whitelist_externals deprecated and add git

close: #8227
2022-08-11 12:02:29 +08:00
Jiajie Zhong 93a73b1292
[ci] Make cluster test work on release branch (#11199)
When I try to release the 3.0.0 on branch `3.0.0-prepare`,
I find out cluster-test error due to version change of
tarball, I think we should make cluster test work on both
dev and prepare release branch, so I add this patch
2022-07-29 14:49:00 +08:00
Jiajie Zhong 502fbb0f1c
impv: not mark issue stale with security label (#10982) 2022-07-18 12:00:20 +08:00
Jiajie Zhong 81930e5420
[python] Fix tasks with multiple upstream and workflow query error (#10941)
* when task with more than one upstreams, mapper
   TaskDefinitionMapper method queryByName will return
   more than one record, and failed the mybatis result
   type, so we have to add `limit 1` to it to
* add multiple runs of example in integrate test
* Change from subprocess.Popen to subprocess.call_check
  in integrating test which will raise an error when failed
2022-07-14 22:06:07 +08:00
Jiajie Zhong 598290487c
[python] Integrate test run strategy change (#10825)
this patch change python integrate test strategy,
before that, only content change in dir
dolphinscheduler-python will run the test. And it
will fail our python api startter when some code
change in java gateway. So we should start the
integrate test except docs change.

and in the future, we may add python ci to
.asf.yaml to make sure it pass

close: #10488
2022-07-10 11:06:27 +08:00
xiangzihao 3af618d7a8
[CI] Try to fix label bot (#10852) 2022-07-09 10:11:56 +08:00
xiangzihao c829738e6c
[Improvement] [CI] Add label robot to pull request (#10848)
* add label robot to pull request
2022-07-08 18:29:08 +08:00
xiangzihao 5083e0be6a
add reviewdog token to enable checkstyle (#10819) 2022-07-07 11:10:51 +08:00
kezhenxu94 8320490da3
[CI] Fix checkstyle & review dog don't work (#10812) 2022-07-06 21:31:32 +08:00
xiangzihao 515b5e3ef6
[API-Test] [Checkstyle] Reformat api-test code and enable checkstyle (#10805)
* reformat api-test code

* reformat api-test code

* reformat api-test code

* reformat api-test code

* reformat api-test code

* reformat api-test code

* fix checkstyle
2022-07-06 14:24:13 +08:00
Wenjun Ruan cd62de968d
Add JDK11 on unit-test (#10364) 2022-06-28 14:21:51 +08:00