Skip to content

Commit 59c8ff8

Browse files
committed
migration for gpu-workloads
1 parent 962054e commit 59c8ff8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DELETE FROM global_strategy_metadata_chart_ref_mapping WHERE chart_ref_id=(select id from chart_ref where version='4.21.0' and name='GPU-Workload');
2+
3+
DELETE FROM "public"."chart_ref" WHERE ("location" = 'gpu-workload_4-21-0' AND "version" = '4.21.0');
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
INSERT INTO "public"."chart_ref" ("name","location", "version", "deployment_strategy_path","is_default", "active", "created_on", "created_by", "updated_on", "updated_by") VALUES
2+
('GPU-Workload','gpu-workload_4-21-0', '4.21.0','pipeline-values.yaml','f', 't', 'now()', 1, 'now()', 1);
3+
4+
INSERT INTO global_strategy_metadata_chart_ref_mapping ("global_strategy_metadata_id", "chart_ref_id", "active", "created_on", "created_by", "updated_on", "updated_by","default")
5+
VALUES (1,(select id from chart_ref where version='4.21.0' and name='GPU-Workload'), true, now(), 1, now(), 1,true),
6+
(4,(select id from chart_ref where version='4.21.0' and name='GPU-Workload'), true, now(), 1, now(), 1,false);

0 commit comments

Comments
 (0)