From d3469eb33bf419c070c7484a9c7d4c7b8399a608 Mon Sep 17 00:00:00 2001 From: ysh Date: Fri, 25 Oct 2024 08:06:59 +0900 Subject: [PATCH] import.sql update --- src/main/resources/import.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/import.sql b/src/main/resources/import.sql index 2e51ff0..7fe8bb3 100644 --- a/src/main/resources/import.sql +++ b/src/main/resources/import.sql @@ -229,7 +229,7 @@ INSERT INTO workflow_stage (workflow_stage_idx, workflow_stage_type_idx, workflo echo ''>>>>> STAGE: Infrastructure PMK Delete'' script { def tb_vm_url = """${TUMBLEBUG}/tumblebug/ns/${NAMESPACE}/k8scluster/${CLUSTER}""" - def call = """curl -X DELETE "${tb_vm_url}" -H accept: "application/json" --user ${USER}:${USERPASS} """ + def call = """curl -X DELETE "${tb_vm_url}" -H "accept: application/json" --user ${USER}:${USERPASS} """ sh(script: """ ${call} """, returnStdout: true) echo "PMK deletion successful." } @@ -1127,7 +1127,7 @@ pipeline { echo ''>>>>> STAGE: Infrastructure PMK Delete'' script { def tb_vm_url = """${TUMBLEBUG}/tumblebug/ns/${NAMESPACE}/k8scluster/${CLUSTER}""" - def call = """curl -X DELETE "${tb_vm_url}" -H accept: "application/json" --user ${USER}:${USERPASS}""" + def call = """curl -X DELETE "${tb_vm_url}" -H "accept: application/json" --user ${USER}:${USERPASS}""" sh(script: """ ${call} """, returnStdout: true) echo "VM deletion successful." } @@ -2528,7 +2528,7 @@ INSERT INTO workflow_stage_mapping (mapping_idx, workflow_idx, stage_order, work echo ''>>>>> STAGE: Infrastructure PMK Delete'' script { def tb_vm_url = """${TUMBLEBUG}/tumblebug/ns/${NAMESPACE}/k8scluster/${CLUSTER}""" - def call = """curl -X DELETE "${tb_vm_url}" -H accept: "application/json" --user ${USER}:${USERPASS}""" + def call = """curl -X DELETE "${tb_vm_url}" -H "accept: application/json" --user ${USER}:${USERPASS}""" sh(script: """ ${call} """, returnStdout: true) echo "VM deletion successful." }