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:

      1. Fix latex source files of my book
      1. Run scripts for creating html files (some artifacts from my changes)
      1. 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?


  • QA Engineer

    I see two scenarios here:

    1. Script compares old and new. You could check that output on the stage, e.g. stage:compare. Then you could use when: manual to apply the changes when you are fine with it
    2. You could do step 1 for wach file seperately, so you have a stage for every file like stage: compare_file1 and so on.

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2