There is the following simple pipeline:
build
→ test
→ deploy
that uses specified python
version for all stages, for example 3.8
.
How can I scale (parametrize) it for python
with versions: 3.7
, 3.8
and 3.9
?
Simplest solution that comes to mind is to create 3 different pipelines with hardcoded python
versions:
build_37
→ test_37
→ deploy_37
build_38
→ test_38
→ deploy_38
build_39
→ test_39
→ deploy_39
.
I know this is a very bad solution.
What is the right way?