Hi,
I am currently trying to implement a pipeline. But I check,I struggle to find a way to run a step of my pipeline on condition
definitions:
steps:
- step:
name: Run Test
size: 2x # Double the memory allocation
script:
- apk add --no-cache python3 py3-pip python3-dev gcc musl-dev linux-headers curl
- python3 -m venv venv
- source venv/bin/activate
- step:
name: Deploy
size: 2x # Double the memory allocation
script:
- echo "test"
- step:
name: Rollback
script:
- echo "Start rollback"
Could you plase help me find the best approach to run Step rollback only in condition that Step Deploy fails
Thank you