by leo3 on 9/12/21, 10:07 AM with 1 comments
by leo3 on 9/12/21, 10:07 AM
Pipeline steps: 1. Create an instance using a predefined image. The placement and type of instance will be defined in advance.
2. In case the requested placement/type of instance are not available, try the next option according to a predefined list.
3. Run a pre-written script on the instance.
4. Check when the job is completed (by checking the presence of a file or keyword in a log file).
5. Check if the job was properly completed. If not, send an error message to the user (Email/Teams).
6. In case the job did not run, try to rerun it according to a predefined number of attempts.
7. In case the quota of instances has been reached, let the job wait and re-run when availability returns.
8. Upon completion, save a zipped directory with all results into a bucket. The directory should have an easy-to-identify name (user/date etc.).
9. Make sure that data was transferred properly (Comparing the initial and copied size of the data).
10. Close the instance.
11. Notify the user (Email/Teams), providing all the identifications of the completed job.