Gitlab CI/CD yaml, how to retry a job on success several times until failed?

Hi,

I want to make the job in pipeline to run multiple times to test robust.

Is there anyway to let a job retry on success multiple times until it failed?
Or a way to repeat jobs in parallel matrix? i try to repeat packages’s name in matrix but it will only show/run one.

Thanks!