Skip to content
Snippets Groups Projects
  1. Jan 29, 2020
    • Quentin Duchemin's avatar
      [CI] Allow each stage of pipeline to be launched manually · 9540fdef
      Quentin Duchemin authored
      The pipeline will automatically build the image whenever some files are changed.
      
      But for some tasks, you may want to enable certain stages manually.
      This is what this commit does.
      9540fdef
    • Quentin Duchemin's avatar
      [CI] Remove CI-build images - less storage, more performance · 4ad07be3
      Quentin Duchemin authored
      Until now, a unique image was built and pushed for each commit, tagged with the commit number.
      If this has the avantage to identify which commit corresponds to which image, it causes other problems.
      
      For example, if the pipeline fails because of an approved CVE, you may just want to whitelist the CVE.
      Problem : you will need to rebuild the entire image even if nothing has changed, because the "clair" stage tries to pull the image with the current commit id in tag.
      
      So the following was done :
      - As soon as an image in successfully built, push it to the registry. OVERWRITE THE OLD IMAGE. This is ok.
      - Now, you rebuild the image ONLY if the Dockerfile has changed.
      - You run Clair if the clair-whitelist.yml (or Dockerfile, docker-compose) has changed. "clair" stage will be able to find the last previously built image. This is good, no need to build again ! Faster.
      - Remove the push-test stage : already done earlier.
      4ad07be3
  2. Jan 02, 2020
  3. Dec 21, 2019
  4. Dec 11, 2019
  5. Dec 09, 2019
  6. Dec 08, 2019
  7. Nov 24, 2019
  8. Sep 21, 2019
  9. Sep 14, 2019
  10. Sep 13, 2019
  11. Jun 17, 2019
  12. Jun 13, 2019
  13. Jun 12, 2019
  14. May 31, 2019
  15. May 30, 2019
  16. May 29, 2019
Loading