@@ -63,7 +63,7 @@ def trigger_k8s_cronjob_with_params(job_name_template, **context):
6363 trigger_k8s_cronjob (job_name , namespace )
6464
6565 postgres_helm_install = KubernetesJobOperator (
66- task_id = "install_cas_obps_postgres_migration_test_chart " ,
66+ task_id = "install-cas-obps-postgres-migration-test-chart " ,
6767 name = "install-cas-obps-postgres-migration-test-chart" ,
6868 namespace = "{{ params.destination_namespace }}" ,
6969 service_account_name = SERVICE_ACCOUNT_NAME ,
@@ -84,21 +84,21 @@ def trigger_k8s_cronjob_with_params(job_name_template, **context):
8484 )
8585
8686 time_delay_postgres = TimeDeltaSensor (
87- task_id = "wait_time_before_postgres_initial_ready_check " ,
87+ task_id = "wait-time-before-postgres-initial-ready-check " ,
8888 delta = timedelta (minutes = 8 ),
8989 doc_md = """Waits for 8 minutes before checking if the postgres pod is ready.""" ,
9090 )
9191
92- wait_for_postgres_restore = trigger_k8s_cronjob_with_params .override (task_id = "wait_for_postgres_restore " )(
92+ wait_for_postgres_restore = trigger_k8s_cronjob_with_params .override (task_id = "wait-for-postgres-restore " )(
9393 "pg-migration-test-wait-for-postgres-restore-job"
9494 )
9595
96- postgres_migration_test = trigger_k8s_cronjob_with_params .override (task_id = "postgres_migration_test " )(
96+ postgres_migration_test = trigger_k8s_cronjob_with_params .override (task_id = "postgres-migration-test " )(
9797 "pg-migration-test-job"
9898 )
9999
100100 backend_helm_install = KubernetesJobOperator (
101- task_id = "install_cas_obps_backend_migration_test_chart " ,
101+ task_id = "install-cas-obps-backend-migration-test-chart " ,
102102 name = "install-cas-obps-backend-migration-test-chart" ,
103103 namespace = "{{ params.destination_namespace }}" ,
104104 service_account_name = SERVICE_ACCOUNT_NAME ,
@@ -120,21 +120,21 @@ def trigger_k8s_cronjob_with_params(job_name_template, **context):
120120 )
121121
122122 time_delay_backend = TimeDeltaSensor (
123- task_id = "wait_time_before_backend_initial_ready_check " ,
123+ task_id = "wait-time-before-backend-initial-ready-check " ,
124124 delta = timedelta (seconds = 150 ),
125125 doc_md = """Waits for 150 seconds (based on the initial ready check time set in the backend) before checking if the backend pod is ready.""" ,
126126 )
127127
128- wait_for_backend = trigger_k8s_cronjob_with_params .override (task_id = "wait_for_backend " )(
128+ wait_for_backend = trigger_k8s_cronjob_with_params .override (task_id = "wait-for-backend " )(
129129 "be-migration-test-wait-for-backend-job"
130130 )
131131
132- backend_migration_test = trigger_k8s_cronjob_with_params .override (task_id = "backend_migration_test " )(
132+ backend_migration_test = trigger_k8s_cronjob_with_params .override (task_id = "backend-migration-test " )(
133133 "be-migration-test-job"
134134 )
135135
136136 uninstall_postgres_helm_charts = KubernetesJobOperator (
137- task_id = "uninstall_postgres_helm_charts " ,
137+ task_id = "uninstall-postgres-helm-charts " ,
138138 name = "uninstall-postgres-helm-charts" ,
139139 namespace = "{{ params.destination_namespace }}" ,
140140 service_account_name = SERVICE_ACCOUNT_NAME ,
@@ -149,7 +149,7 @@ def trigger_k8s_cronjob_with_params(job_name_template, **context):
149149 )
150150
151151 uninstall_backend_helm_charts = KubernetesJobOperator (
152- task_id = "uninstall_backend_helm_charts " ,
152+ task_id = "uninstall-backend-helm-charts " ,
153153 name = "uninstall-backend-helm-charts" ,
154154 namespace = "{{ params.destination_namespace }}" ,
155155 service_account_name = SERVICE_ACCOUNT_NAME ,
0 commit comments