@@ -41,8 +41,6 @@ function clean() {
4141 target_region $REGION
4242 target_resource_group $resource_group_name
4343
44- rm -rf download
45- rm -rf upload
4644 rm -rf .rclone*
4745
4846 if [[ " $SETUP_MONITORING " == " true" ]]; then
@@ -382,26 +380,6 @@ region = $REGION
382380location_constraint = $REGION
383381EOF
384382
385- cat > download << EOF
386- #!/bin/sh
387-
388- resource_group_name=$( ibmcloud target -o JSON | jq -r ' .resource_group.name' )
389-
390- rclone --config .rclone_${resource_group_name} .conf sync s3:${cos_bucket_name_output} data/output --progress --multi-thread-streams=16 --checkers=32 --transfers=8
391- rclone --config .rclone_${resource_group_name} .conf sync s3:${cos_bucket_name_taskstore} data/taskstore --progress --multi-thread-streams=16 --checkers=32 --transfers=8
392- EOF
393- chmod +x download
394-
395- cat > upload << EOF
396- #!/bin/sh
397-
398- resource_group_name=$( ibmcloud target -o JSON | jq -r ' .resource_group.name' )
399-
400- rclone --config .rclone_${resource_group_name} .conf sync data/input s3:${cos_bucket_name_input} --progress --multi-thread-streams=16 --checkers=32 --transfers=8
401- rclone --config .rclone_${resource_group_name} .conf sync data/output s3:${cos_bucket_name_output} --progress --multi-thread-streams=16 --checkers=32 --transfers=8
402- EOF
403- chmod +x upload
404-
405383#
406384# Create the Code Engine project
407385print_msg " \nCreating the Code Engine project '$ce_project_name ' ..."
@@ -448,10 +426,10 @@ ibmcloud ce secret create -n codeengine-fleet-defaults \
448426if [[ " $SETUP_LOGGING " == " true" ]]; then
449427 print_msg " \nMake sure logs are sent to '${icl_ingestion_host} ' ..."
450428 ibmcloud ce secret update -n codeengine-fleet-defaults \
451- --from-literal LOGGING_INGRESS_ENDPOINT =" ${icl_ingestion_host} " \
452- --from-literal LOGGING_SENDER_API_KEY =" ${icl_ingestion_apikey} " \
453- --from-literal LOGGING_LEVEL_AGENT=info \
454- --from-literal LOGGING_LEVEL_WORKER=info
429+ --from-literal logging_ingress_endpoint =" ${icl_ingestion_host} " \
430+ --from-literal logging_sender_api_key =" ${icl_ingestion_apikey} " \
431+ --from-literal logging_level_agent=debug \
432+ --from-literal logging_level_worker=debug
455433fi
456434if [[ " $SETUP_MONITORING " == " true" ]]; then
457435 print_msg " \nMake sure monitoring is enabled to '${sysdig_collector_host} ' ..."
0 commit comments