Commit Graph

297 Commits

Author SHA1 Message Date
Eric Gao
7973324229
Add api test cases for scheduler page (#14480) 2023-07-07 15:34:54 +08:00
kezhenxu94
61ec5e33b1
Remove code owner (#14461) 2023-07-06 15:00:39 +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
dd55de4429
chore: Remove EOL issue version and add prepare one (#14270)
* due to we release the last version of 2.0.x and 3.0.x, we do not
  accept bug report for them now.
* Add new version 3.2.0-prepare for testing the incoming verison
  3.2.0-prepare
2023-06-04 17:12:40 +08:00
Aaron Wang
708086c8fe
fix: PULL_REQUEST_TEMPLATE.md dead link (#14163) 2023-05-23 09:44:04 +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
Jay Chung
f9f88cb505
doc: Add hyperlink for pydolphinscheduler doc (#13907)
* doc: Add hyperlink for pydolphinscheduler doc

* style

* remove Tianqi-Dotes for docs code owner
2023-04-11 14:42:09 +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
1192720ddc
[ci] Update skywalking-eye and fix block CI (#13076) 2022-12-02 17:54:00 +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
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
Kirs
0c25d4a3ce
[Docs]Update Slack Invite Link (#10362) 2022-06-04 23:55:23 +08:00
Jiajie Zhong
12fdd9bbd9
[doc] Use related path for img (#10325)
Use related path in our docs for imgs, previous
can not use because website need the absolute path
from root directory, and after we merged
apache/dolphinscheduler-website#789 we have covert
function to do that

close: #9426
2022-06-02 23:28:53 +08:00
xiangzihao
35155cde9a
[CI] Add code owner of .github (#10347)
* add code owner

* add code owner

* add code owner
2022-06-02 18:34:03 +08:00
xiangzihao
50e9f2916a
[CI] bumping actions/cache to v3 to fix ci error (#10345)
* bumping actions/cache to v3

* fix JSONUtilsTest.java unit test error
2022-06-02 17:26:52 +08:00
Jiajie Zhong
0ff34b8730
[ci] Fix mergeable for ddl change and remove label unexpect (#7099) 2022-06-01 09:32:50 +08:00
Jiajie Zhong
a241135cbc
[chore] update by release version (#10299) 2022-05-30 23:09:01 +08:00
旺阳
87d9ec1dee
[doc] Delete SPRING_DATASOURCE_DRIVER_CLASS_NAME in doc (#10228) 2022-05-25 11:45:16 +08:00
ChunFu Wu
cd1dcf1eba
[Feature][CI] Schedule Dead Link Checker (#10000) 2022-05-21 10:41:34 +08:00
xiangzihao
8fab224e0d
add_alert_server_cluster_test (#10125) 2022-05-19 18:14:11 +08:00
旺阳
537c206c2d
[Fix][Docker] Support Multi-Architecture Docker Images (#10052)
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2022-05-18 10:20:24 +08:00
xiangzihao
2423fa50f7
[Feature-10034][CI] Add postgresql cluster test in CI (#10035)
* add postgresql cluster test

* add postgresql cluster test

* add postgresql cluster test

* add postgresql cluster test
2022-05-15 13:04:48 +08:00
xiangzihao
baf654cb47
[Feature-9474] [CI] Add cluster test script verify on shell script (#9997)
* cluster test

* fix init db failed

* fix init db failed

* fix init db failed

* fix init db failed

* fix init db failed

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add sudo

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* add github actions

* remove cluster-test workflows

* add github actions

* add github actions

* refactor test to docker mode

* refactor test to docker mode

* refactor test to docker mode

* refactor test to docker mode

* remove create schema logic

* remove create schema logic

* remove create schema logic

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* fix runnint cluster test error

* add github actions

* add github actions

* add github actions

* add cluster test timeout

* add cluster start test loop check

* add cluster start test loop check

* optimize cluster start test loop check
2022-05-14 12:30:57 +08:00
Jiajie Zhong
8d17fd20f9
[ci] Dead link check all markdown file (#10004)
there are 162 markdown files in dir `docs`
and all file in project is 175 files, so I
think check all file will not add too much
load for our ci, but it could discovered
the dead link in time to avoid some thing
like #9998
2022-05-12 11:30:01 +08:00
Jiajie Zhong
1efa2c7b18
[ci] Correct CODEOWNERS and add new pom.xml owner (#9954) 2022-05-09 20:19:49 +08:00
songjianet
7a7807e520
[Feature] Remove old ui. (#9909)
* [Feature] Remove old ui.

* [Docs] Add license file for screenfull.
2022-05-06 14:04:35 +08:00
Jiajie Zhong
d188f49b0e
[doc] Dir development should not ref other dirs content (#9812)
For now, development dir deploy in other place instead
of docs dir https://dolphinscheduler.apache.org/en-us/development/development-environment-setup.html
so could not ref markdown doc from other docs dir
2022-04-27 20:02:34 +08:00
xiangzihao
d18cf184c6
[CI] Improve CI (#9436)
* test

* test

* test

* test

* test

* test

* test

* test

* test

* improve ci

* improve ci

* improve ci
2022-04-12 14:43:15 +08:00
kezhenxu94
14d71d1462
[UI] Migrate NPM to PNPM in CI builds (#9431) 2022-04-11 14:16:23 +08:00
Jiajie Zhong
a8f6bf3831
Add new code owner of docs module (#9388) 2022-04-08 13:04:50 +08:00
Jiajie Zhong
c828809b46
[doc] Change get help from dev mail list to slack (#9377)
* Change all get help from dev mailing list to slack, because
  we find out mailing list have many users ask for subscribe
  and they maybe subscribe by accident.
* remove join dev mailing list in faq.md because we already
  have it in https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html
2022-04-08 10:56:35 +08:00
xiangzihao
80ea8049e0
[CI] try to fix ci (#9366)
* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci

* try to fix ci
2022-04-06 21:57:52 +08:00
xiangzihao
40b73f7962
[Improve][CI] improve ci checking (#9325) 2022-04-06 09:33:41 +08:00
Jiajie Zhong
9f84dbbda0
[doc] Migrate dev doc from website repository (#9291)
* [doc] Migrate dev doc from website repository

* Correct release language

* Fix license issue

* Add all images from website

* Delete unused images

* Add CI

* Fix ci

* fix ci

* Remove no need file

* Add latest commit from website

* correct img_utils.py script

* Remove unused imgs
2022-04-02 10:43:34 +08:00
lidongdai
c6e0882113
[Improve] no need to subscribe the dev mailing list when asking questions (#9175)
* no need to subscribe the dev mailing list when asking questions 

there is no need to subscribe the dev mailing list when users only ask usage questions

* Update bug-report.yml
2022-03-25 15:55:52 +08:00
Jiajie Zhong
30746d9762
[python] Add integrated test to python gateway server (#8966)
* [python] Add integrated test to python gateway server

* Build java code and create standalone server image in GA
* Add component start docker in python
* Run example to make sure it work to it

close: #8035

* Fix build docker image working directory

* Fix working directory
2022-03-18 16:24:40 +08:00
xiangzihao
eefe7896c8
[Feature-8850][E2E] Restore project center e2e test cases in ui-next (#8909) 2022-03-15 22:07:30 +08:00
kezhenxu94
14bb722f6f
[CI] Require E2E to passed before merging (#8891) 2022-03-15 14:35:21 +08:00
Jiajie Zhong
b04a535744
[ci] Add timeout to each job avoiding zombie process (#8886) 2022-03-14 22:34:44 +08:00
kezhenxu94
d3cbf8eeaf
[UI-NEXT] Fix wrong packaging locations (#8851) 2022-03-14 15:26:15 +08:00
xiangzihao
2335453482
[Feature-8844][E2E] Restore datasource center e2e test cases in ui-next (#8845) 2022-03-13 12:33:19 +08:00
Jiajie Zhong
90f9aed11d
[python] Add tox for out of box test (#8837)
* [python] Add tox for out of box test

* Add `tox` for easy and complete test
* Correct package data attribute
* Add more dirs in flake8 ignore

* Change GA from raw to tox

* Fix env setter

* Temp skip sanity

* Rm not exists job

* Add code test

* fix

* rm all need

* fix

* fix

* fix

* fix

* fix

* fix

* Migrate pip upgrede to tox setting

* Change install_commands to commands

* fix config of install command

* Add GA env to do that

* Fix env error

* Finial commit

* remove duplicate

* Change doc

* Change dependence of ci

* Change dependence of ci
2022-03-12 21:27:36 +08:00
xiangzihao
49b1a073dd
[Feature-8823][E2E] Restore resource center e2e test cases in ui-next (#8840) 2022-03-12 20:49:46 +08:00