Commit Graph

229 Commits

Author SHA1 Message Date
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
xiangzihao
473319c40d
[CI] [Chore] Add label 4.0.0 to mergeable check (#12921)
* add label 4.0.0 to mergeable check
2022-11-16 21:01:23 +08:00
Eric Gao
2ba5bd47dd
Update github mergeable label regex (#12815) 2022-11-12 23:37:01 +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
caishunfeng
a055cf5791
[Release][Doc] add 3.1.0 release (#12227)
* [Release] add 3.1.0 release to doc
2022-09-30 12:14:29 +08:00
Kerwin
4269fa7ea7
[release][doc] Add release 3.0.1 (#12139)
* add release 3.0.1
* add 30x version in the github bug report
2022-09-26 16:18:31 +08:00
rickchengx
08a4c7981f
[improve] Remove the spark version of spark task (#11860) 2022-09-21 20:27:28 +08:00
Eric Gao
a44817fc46
[Doc][Style] Fix doc format once for all (#12006) 2022-09-17 11:33:32 +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
5983e41f4b
[fix] Database change not sync (#11258)
* [fix] Database change not sync

* Make del sql upgrade same as release version
* Correct data quality dml sql
* Upgrade database DDL to avoid log path too long error

* Add missing if exists
2022-08-17 10:50:34 +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
2865b17ed4
[release] New release version 3.0.0 (#11356) 2022-08-09 09:47:15 +08:00
Eric Gao
6a02870926
[Feature][style] Add spotless maven plugin for automatic style fix. (#11272)
* [Feature][style] Add spotless maven plugin for automatic style fix (#10963)

* Fix spotless ratchet configuration

* Remove license-check and decrease line length threshold value

* Update related docs

* Remove checkstyle and add pre-commit hook

* Test updated pre-commit hook

* Replace checkstyle with spotless in CI

* Remove reviewdog
2022-08-06 19:29:23 +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
9e692f919a
[python] Add directly install without clone source code (#11179)
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2022-07-28 21:40:20 +08:00
Jiajie Zhong
de5c22b276
[doc] Add new page incompatible change (#11153)
Add incompatibles and give some hint to user when then
want to upgrade to specific version.

ref: #10607
2022-07-27 11:15:09 +08:00
Eric Gao
a5b3144e53
Add EricGao888 to help review docs, tools, etc. (#11047) 2022-07-19 17:08:53 +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
424722e2ab
fix label bot again (#10859) 2022-07-09 11:23:04 +08:00
Jiajie Zhong
9ab1a0cfc4
[ci] Fix mergeable will get mad add/remove label sometimes (#10856)
ref: https://github.com/mergeability/mergeable/issues/643
2022-07-09 10:19:09 +08:00
xiangzihao
3af618d7a8
[CI] Try to fix label bot (#10852) 2022-07-09 10:11:56 +08:00
Jiajie Zhong
d29592da1d
New version release 2.0.6 (#10851)
* New version release 2.0.6

* remove verison 1.3.8 and 1.3.9
2022-07-08 20:34:14 +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
Jiajie Zhong
1485c6fba2
Add doc issue template (#10804)
close: #8201
2022-07-06 11:52:55 +08:00
Wenjun Ruan
7c740da242
Add improvement template (#10764) 2022-07-04 15:29:02 +08:00
Devosend
4f0a02eb43
[chore] update by release version (#10742)
* update 3.0.0-beta-2 doc

* update history-versions doc
2022-07-04 10:05:29 +08:00
Wenjun Ruan
cd62de968d
Add JDK11 on unit-test (#10364) 2022-06-28 14:21:51 +08:00
Jiajie Zhong
bbc1e052ab
[ci] mergable do not handle label (#10638)
mergable some time will become crazy and adding
or deleting labels in the PR. This affects the
user experience. I try to solve it in #7099 but
it is seems not affect and we should remove the
label and comment operation and only should the
result in check result.
2022-06-27 20:22:58 +08:00
xiangzihao
6396fa9965
add codeowner (#10537) 2022-06-22 10:12:46 +08:00
Wenjun Ruan
00f86da1da
Open checkstyle, change checkstyle severity from info to warning (#10492)
* Open checkstyle, change checkstyle severity from info to warning
2022-06-17 19:01:54 +08:00
xiangzihao
720a10a21e
add_some_code_owners (#10462) 2022-06-15 18:54:36 +08:00
xiangzihao
eecc49e70c
add codeowner (#10457) 2022-06-15 17:46:19 +08:00
xiangzihao
e50739465d
[Feature-10411] Add tenant api test (#10442)
* add feature_10411

* add feature_10411

* update README.md

* fix README.md deadlink

* fix error log output

* fix comment
2022-06-15 16:29:36 +08:00
qianli2022
ff065d8e5b
[Feature][Improvement] Support multi cluster environments - k8s type (#10096)
* service code

* [Feature][UI] Add front-end for cluster manage

* fix e2e

* remove comment on cluster controller

* doc

* img

* setting e2e.yaml

* test

* rerun e2e

* fix bug from comment

* Update index.tsx

use Nspace instead of css.

* Update index.tsx

Remove the style.

* Delete index.module.scss

Remove the useless file.

Co-authored-by: qianl4 <qianl4@cicso.com>
Co-authored-by: William Tong <weitong@cisco.com>
Co-authored-by: Amy0104 <97265214+Amy0104@users.noreply.github.com>
2022-06-15 13:39:20 +08:00
Kirs
190f253083
[CI] Add OWASP Dependency Check (#10058) 2022-06-13 14:26:59 +08:00
xiangzihao
997f0d4bfd
[CI] Add some codeowner (#10385)
* add some codeowner

* add some codeowner
2022-06-09 17:06:27 +08:00