Deployment with manual confirmation of each change
-
I am new to CI/CD and gitlab. I have a python project for parsing latex book to html and uploading those htmls to online course platform. Without CI/CD my pipeline would look like this:
-
- Fix latex source files of my book
-
- Run scripts for creating html files (some artifacts from my changes)
-
- Running script which compares old and new version of each html files and ask for a confirmation to upload those changes to online platform.
I can handle first step with gitlab version control system. I've learned to build artifacts for step 2 with gitlab CI pipeline. My question is: How can I perform 3rd stage of my pipeline (checking what is updated and confirming what should be uploaded/deployed) with gitlab CD?
-
-
I see two scenarios here:
- Script compares old and new. You could check that output on the stage, e.g.
stage:compare
. Then you could usewhen: manual
to apply the changes when you are fine with it - You could do step 1 for wach file seperately, so you have a stage for every file like
stage: compare_file1
and so on.
- Script compares old and new. You could check that output on the stage, e.g.