Skip to content

fix and update k8s deploy#3215

Merged
davidzollo merged 9 commits intoapache:devfrom
rockxsj:dev
Jul 16, 2020
Merged

fix and update k8s deploy#3215
davidzollo merged 9 commits intoapache:devfrom
rockxsj:dev

Conversation

@rockxsj
Copy link
Copy Markdown
Contributor

@rockxsj rockxsj commented Jul 15, 2020

Tips

What is the purpose of the pull request

update Dockerfile to add mysql-client for mysql database service test
update wechat alert config replace placeholder from to {xx} because of the will be treat as env variable
fix unit test of EnterpriseWeChatUtilsTest
update values.yaml default config for helm deploy DS cluster
update values.yaml default config for custom install
update templates of helm for custom install
update some name of env varibale, for example change from POSTGRESQL_HOST to DATABASE_HOST
delele the redundancy requirements.yaml for heml
update README* in the docker dir and subdir
update startup scripts for support mysql as backend database

Brief change log

Modify ambari_plugin/common-services/DOLPHIN/1.2.1/package/scripts/params.py
Modify ambari_plugin/common-services/DOLPHIN/1.3.0/package/scripts/params.py
Modify docker/build/Dockerfile
Modify docker/build/README.md
Modify docker/build/README_zh_CN.md
Modify docker/build/conf/dolphinscheduler/alert.properties.tpl
Modify docker/build/conf/dolphinscheduler/common.properties.tpl
Modify docker/build/conf/dolphinscheduler/datasource.properties.tpl
Modify docker/build/conf/dolphinscheduler/logback/logback-alert.xml
Modify docker/build/conf/dolphinscheduler/zookeeper.properties.tpl
Modify docker/build/startup-init-conf.sh
Modify docker/build/startup.sh
Modify docker/docker-swarm/docker-compose.yml
Modify docker/docker-swarm/docker-stack.yml
Modify docker/kubernetes/dolphinscheduler/Chart.yaml
Modify docker/kubernetes/dolphinscheduler/README.md
Modify docker/kubernetes/dolphinscheduler/requirements.yaml
Modify docker/kubernetes/dolphinscheduler/templates/NOTES.txt
Modify docker/kubernetes/dolphinscheduler/templates/_helpers.tpl
Modify docker/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-alert.yaml
Add docker/kubernetes/dolphinscheduler/templates/configmap-dolphinscheduler-common.yaml
Modify docker/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-alert.yaml
Modify docker/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-api.yaml
Modify docker/kubernetes/dolphinscheduler/templates/deployment-dolphinscheduler-frontend.yaml
Modify docker/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-master.yaml
Modify docker/kubernetes/dolphinscheduler/templates/statefulset-dolphinscheduler-worker.yaml
Modify docker/kubernetes/dolphinscheduler/values.yaml
Modify dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/EnterpriseWeChatUtils.java
Modify dolphinscheduler-alert/src/main/resources/alert.properties
Modify dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/utils/EnterpriseWeChatUtilsTest.java
Modify dolphinscheduler-ui/package.json
Modify script/dolphinscheduler-daemon.sh
Modify docker/docker-swarm/docker-compose.yml
Modify docker/docker-swarm/docker-stack.yml

Verify this pull request

This pull request is code cleanup without any test coverage.

rockxsj added 8 commits July 10, 2020 19:49
* update wechat alert config replace placeholder from  to {xx} because of the  will be treat as env variable
* fix unit test of EnterpriseWeChatUtilsTest
* update values.yaml default config for helm deploy DS cluster
* update values.yaml default config for custom install
* update templates of helm for custom install
* update some name of env varibale, for example change from POSTGRESQL_HOST to DATABASE_HOST
* delele the redundancy requirements.yaml for heml
* update README* in the docker dir and subdir
* update startup scripts for support mysql as backend database
* remove the didn't need port mapping in postgresql & zookeeper & dolphinscheduler-api
#4. install pg
RUN apk add postgresql postgresql-contrib
#4. install database
RUN apk add postgresql postgresql-contrib mysql-client
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mysql's license can not meet the requirements of apache, pls remove it

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

echo "Error: Can't connect to database...${v}"
exit 1
echo "connect ${DATABASE_TYPE} service"
if [ ${DATABASE_TYPE} = "mysql" ]; then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license problem

Copy link
Copy Markdown
Member

@liwenhe1993 liwenhe1993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove mysql-client in Dockerfile

@rockxsj rockxsj marked this pull request as draft July 16, 2020 06:38
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 2 Code Smells

86.7% 86.7% Coverage
0.0% 0.0% Duplication

@rockxsj rockxsj marked this pull request as ready for review July 16, 2020 06:52
@davidzollo
Copy link
Copy Markdown
Contributor

@liwenhe1993 @khadgarmage , I see rockxsj has updated as you said , I will merge this PR

@davidzollo davidzollo added the enhancement New feature or request label Jul 16, 2020
@davidzollo davidzollo dismissed stale reviews from liwenhe1993 and khadgarmage July 16, 2020 07:08

rockxsj has updated as you said

@davidzollo davidzollo merged commit b6a0d55 into apache:dev Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants