-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation of data on import:instance command #289
Comments
Hi @HeidiRechek , thanks for raising. A couple of thoughts:
Would love to hear your thoughts. |
so instead of import:instance we could run job:run sfcc-site-archive-import and it would return the errors? I agree amending the log file with the job result |
@HeidiRechek There is the
|
We do build automation using sfcc-ci commands. We are importing the sfra-data.zip for smoke tests, the OCAPI settings get updated with version updates and it breaks our smoke tests. Can we improve the output of the import:instance so we can use the validation to fail builds?
sfcc-ci import:Instance -i **** output shows this
Waiting for job to finish...
Job "sfcc-site-archive-import" finished. Status is: finished (OK)
Execution details:
client_id : ****
duration : 227860
end_time : 2022-02-07T21:02:48.913Z
execution_scopes :
execution_status : finished
exit_status :
id : 20668
is_log_file_existing : true
is_restart : false
job_description : Imports Site import archive file content.
job_id : sfcc-site-archive-import
log_file_name : Job-sfcc-site-archive-import-1491fa9de6fcae618365c83493.log
modification_time : 2022-02-07T21:02:48.933Z
parameters :
start_time : 2022-02-07T20:59:01.053Z
status : OK
step_executions :
but the log file shows :
============ Import Results (SUMMARY)
The instance import finished with data errors.
Details:
DataErrorCount: 40
DataWarningCount: 56811
error: OK
The text was updated successfully, but these errors were encountered: