Skip to content

Commit 4ae7cbc

Browse files
authored
[release] Change release version (#9483)
1 parent a0c15ad commit 4ae7cbc

File tree

16 files changed

+59
-125
lines changed

16 files changed

+59
-125
lines changed

Diff for: deploy/docker/.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# under the License.
1717
#
1818
HUB=ghcr.io/apache/dolphinscheduler
19-
TAG=latest
19+
TAG=3.0.0-alpha
2020

2121
TZ=Asia/Shanghai
2222
SPRING_DATASOURCE_URL=jdbc:postgresql://dolphinscheduler-postgresql:5432/dolphinscheduler

Diff for: deploy/kubernetes/dolphinscheduler/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ version: 2.0.0
3939

4040
# This is the version number of the application being deployed. This version number should be
4141
# incremented each time you make changes to the application.
42-
appVersion: 2.0.4-SNAPSHOT
42+
appVersion: 3.0.0-alpha
4343

4444
dependencies:
4545
- name: postgresql

Diff for: deploy/kubernetes/dolphinscheduler/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ timezone: "Asia/Shanghai"
2323

2424
image:
2525
registry: "dolphinscheduler.docker.scarf.sh/apache"
26-
tag: "2.0.4-SNAPSHOT"
26+
tag: "3.0.0-alpha"
2727
pullPolicy: "IfNotPresent"
2828
pullSecret: ""
2929

Diff for: dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ CREATE TABLE t_ds_version
966966
-- Records of t_ds_version
967967
-- ----------------------------
968968
INSERT INTO t_ds_version
969-
VALUES ('1', '1.4.0');
969+
VALUES ('1', '3.0.0');
970970

971971

972972
-- ----------------------------

Diff for: dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ CREATE TABLE `t_ds_version` (
956956
-- ----------------------------
957957
-- Records of t_ds_version
958958
-- ----------------------------
959-
INSERT INTO `t_ds_version` VALUES ('1', '2.0.2');
959+
INSERT INTO `t_ds_version` VALUES ('1', '3.0.0');
960960

961961

962962
-- ----------------------------

Diff for: dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ INSERT INTO t_ds_queue(queue_name, queue, create_time, update_time)
965965
VALUES ('default', 'default', '2018-11-29 10:22:33', '2018-11-29 10:22:33');
966966

967967
-- Records of t_ds_queue,default queue name : default
968-
INSERT INTO t_ds_version(version) VALUES ('1.4.0');
968+
INSERT INTO t_ds_version(version) VALUES ('3.0.0');
969969

970970
--
971971
-- Table structure for table t_ds_plugin_define
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.4
1+
3.0.0

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.6_schema/mysql/dolphinscheduler_ddl.sql

-38
This file was deleted.

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.6_schema/mysql/dolphinscheduler_dml.sql

-16
This file was deleted.

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.6_schema/postgresql/dolphinscheduler_ddl.sql

-44
This file was deleted.

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.6_schema/postgresql/dolphinscheduler_dml.sql

-17
This file was deleted.

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/mysql/dolphinscheduler_ddl.sql renamed to dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_ddl.sql

+23-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,28 @@
1515
* limitations under the License.
1616
*/
1717

18+
SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
19+
20+
-- uc_dolphin_T_t_ds_resources_R_full_name
21+
drop PROCEDURE if EXISTS uc_dolphin_T_t_ds_resources_R_full_name;
22+
delimiter d//
23+
CREATE PROCEDURE uc_dolphin_T_t_ds_resources_R_full_name()
24+
BEGIN
25+
IF EXISTS (SELECT 1 FROM information_schema.COLUMNS
26+
WHERE TABLE_NAME='t_ds_resources'
27+
AND TABLE_SCHEMA=(SELECT DATABASE())
28+
AND COLUMN_NAME ='full_name')
29+
THEN
30+
ALTER TABLE t_ds_resources MODIFY COLUMN `full_name` varchar(128);
31+
END IF;
32+
END;
33+
34+
d//
35+
36+
delimiter ;
37+
CALL uc_dolphin_T_t_ds_resources_R_full_name;
38+
DROP PROCEDURE uc_dolphin_T_t_ds_resources_R_full_name;
39+
1840
ALTER TABLE `t_ds_task_instance` ADD INDEX `idx_code_version` (`task_code`, `task_definition_version`) USING BTREE;
1941
ALTER TABLE `t_ds_task_instance` MODIFY COLUMN `task_params` longtext COMMENT 'job custom parameters' AFTER `app_link`;
2042
ALTER TABLE `t_ds_process_task_relation` ADD KEY `idx_code` (`project_code`, `process_definition_code`) USING BTREE;
@@ -210,4 +232,4 @@ CREATE TABLE `t_ds_k8s_namespace` (
210232
`update_time` datetime DEFAULT NULL COMMENT 'update time',
211233
PRIMARY KEY (`id`),
212234
UNIQUE KEY `k8s_namespace_unique` (`namespace`,`k8s`)
213-
) ENGINE= INNODB AUTO_INCREMENT= 1 DEFAULT CHARSET= utf8;
235+
) ENGINE= INNODB AUTO_INCREMENT= 1 DEFAULT CHARSET= utf8;

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/mysql/dolphinscheduler_dml.sql renamed to dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/mysql/dolphinscheduler_dml.sql

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18+
1819
INSERT INTO `t_ds_dq_comparison_type`
1920
(`id`, `type`, `execute_sql`, `output_table`, `name`, `create_time`, `update_time`, `is_inner_source`)
2021
VALUES(1, 'FixValue', NULL, NULL, NULL, '2021-06-30 00:00:00.000', '2021-06-30 00:00:00.000', false);

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_ddl.sql renamed to dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/postgresql/dolphinscheduler_ddl.sql

+26-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,31 @@
1616
*/
1717

1818
delimiter d//
19+
CREATE OR REPLACE FUNCTION public.dolphin_update_metadata(
20+
)
21+
RETURNS character varying
22+
LANGUAGE 'plpgsql'
23+
COST 100
24+
VOLATILE PARALLEL UNSAFE
25+
AS $BODY$
26+
DECLARE
27+
v_schema varchar;
28+
BEGIN
29+
---get schema name
30+
v_schema =current_schema();
31+
32+
--- alter column
33+
EXECUTE 'ALTER TABLE ' || quote_ident(v_schema) ||'.t_ds_resources ALTER COLUMN full_name Type varchar(128)';
34+
35+
return 'Success!';
36+
exception when others then
37+
---Raise EXCEPTION '(%)',SQLERRM;
38+
return SQLERRM;
39+
END;
40+
$BODY$;
41+
42+
select dolphin_update_metadata();
43+
1944
CREATE OR REPLACE FUNCTION public.dolphin_update_metadata(
2045
)
2146
RETURNS character varying
@@ -203,4 +228,4 @@ $BODY$;
203228

204229
select dolphin_update_metadata();
205230

206-
d//
231+
d//

Diff for: dolphinscheduler-dao/src/main/resources/sql/upgrade/2.1.0_schema/postgresql/dolphinscheduler_dml.sql renamed to dolphinscheduler-dao/src/main/resources/sql/upgrade/3.0.0_schema/postgresql/dolphinscheduler_dml.sql

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17+
1718
delimiter d//
1819
CREATE OR REPLACE FUNCTION public.dolphin_insert_dq_initial_data(
1920
)

Diff for: dolphinscheduler-python/pydolphinscheduler/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
logger = logging.getLogger(__name__)
3434

35-
version = "2.0.4"
35+
version = "3.0.0-alpha"
3636

3737
# Start package required
3838
prod = [

0 commit comments

Comments
 (0)