Let's say I have these stages defined in .gitlab-ci.yml
:
stages:
- build
- analysis
- tests
- deploy
- post-deploy
Since analysis
takes a lot of time and I don't really care about the result (I also have allow_failure: true
set) - is it possible to somehow define to start analysis
and then immediately launch the next stage tests
?
I didn't find any reference to similar topic on official docs.
EDIT:
The main idea is that all other stages can be run as if the analysis
didn't even exist. If i put analysis
to same stage as tests
, then both analysis
and tests
will run at the same time, however deploy
won't be launched until both of them finish. This is no good. I want tests
to finish and then launch deploy
, after deploy
finishes I want to launch post-deploy
. I really don't care about analysis
result, I simply want to trigger it and continue with the deployment.