You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2022/09/14 01:53:52 UTC

[dolphinscheduler] branch fix/env created (now 2cc22b4e72)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch fix/env
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


      at 2cc22b4e72 Remove sensitive configs from dolphinscheduler_env.sh

This branch includes the following new commits:

     new 2cc22b4e72 Remove sensitive configs from dolphinscheduler_env.sh

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[dolphinscheduler] 01/01: Remove sensitive configs from dolphinscheduler_env.sh

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch fix/env
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 2cc22b4e7286427efae5e1314ae05c7603159d28
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Sep 14 09:53:41 2022 +0800

    Remove sensitive configs from dolphinscheduler_env.sh
---
 .../cluster-test/mysql/dolphinscheduler_env.sh          | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/cluster-test/mysql/dolphinscheduler_env.sh b/.github/workflows/cluster-test/mysql/dolphinscheduler_env.sh
index 458fb9d5b2..df40c8e318 100755
--- a/.github/workflows/cluster-test/mysql/dolphinscheduler_env.sh
+++ b/.github/workflows/cluster-test/mysql/dolphinscheduler_env.sh
@@ -18,21 +18,8 @@
 # JAVA_HOME, will use it to start DolphinScheduler server
 export JAVA_HOME=${JAVA_HOME:-/usr/local/openjdk-8}
 
-# Database related configuration, set database type, username and password
-export DATABASE=${DATABASE:-mysql}
-export SPRING_PROFILES_ACTIVE=${DATABASE}
-export SPRING_DATASOURCE_URL="jdbc:mysql://mysql:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&useSSL=false"
-export SPRING_DATASOURCE_USERNAME=root
-export SPRING_DATASOURCE_PASSWORD=123456
-
-# DolphinScheduler server related configuration
-export SPRING_CACHE_TYPE=${SPRING_CACHE_TYPE:-none}
-export SPRING_JACKSON_TIME_ZONE=${SPRING_JACKSON_TIME_ZONE:-UTC}
-export MASTER_FETCH_COMMAND_NUM=${MASTER_FETCH_COMMAND_NUM:-10}
-
-# Registry center configuration, determines the type and link of the registry center
-export REGISTRY_TYPE=${REGISTRY_TYPE:-zookeeper}
-export REGISTRY_ZOOKEEPER_CONNECT_STRING=${REGISTRY_ZOOKEEPER_CONNECT_STRING:-zoo1:2181,zoo2:2182,zoo3:2183}
+# Never put sensitive config such as database password here in your production environment,
+# this file will be sourced everytime a new task is started.
 
 # Tasks related configurations, need to change the configuration if you use the related tasks.
 export HADOOP_HOME=${HADOOP_HOME:-/opt/soft/hadoop}