I would like to launch sequentially multiple spark jobs in gcp, like
gcloud dataproc jobs submit spark file1.py
gcloud dataproc jobs submit spark file2.py
...
so that the execution of one of those starts just when the execution of the previous job is completed.
Is there any way to do it?