1. 16 Jul, 2020 5 commits
  2. 14 Jul, 2020 4 commits
  3. 22 Jun, 2020 1 commit
  4. 19 Jun, 2020 3 commits
    • Clemens Lange's avatar
      Introduce build template · 7816f2fc
      Clemens Lange authored
      7816f2fc
    • Clemens Lange's avatar
      add pipeline for building docker images · 4b516b77
      Clemens Lange authored
      The pipeline contains two different build jobs, building a standalone or a cms/cvmfs version. In addition it contains a job for checking which files have been modified, enabling to trigger the build of the cms/cvmfs version that was changed. Only reason for there to be a separate script `check.sh` and not just a multi line script is because I didn't get the multi line syntax to work with a for loop
      
      ```
      script:
        - >
      ```
      
      If you know how to fix it we can transfer the code in `check.sh` to the pipeline!
      
      -----------------------------
      
      The two build jobs:
      
      * A standalone build is triggered when the variables `CMSSW_VERSION`, `SCRAM_ARCH` and `BASE_IMAGE` is passed, could be passed with a webhook.
      
      * A cms/cvmfs version is built when there has been a change in the directory containing the Dockerfile corresponding to the image. Since there is only one job but five directories, before building, the job has to set the IMAGE_NAME variable to indicate which image to build (cc7-cms/cvmfs, slc6-cms/cvmfs, slc5-cms). This is set with the job `check changed files`
      
      The file `check.sh` calls 
      
      ```
      files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
      ```
      
      which returns a list of all files that has been modified. The directory of the file is checked and the pipeline is triggered again, this time with the variable IMAGE_NAME set to the directory name. (The reason why the job tags docker is because the runner has git installed).
      
      See merge request cms-cloud/cmssw-docker!12
      4b516b77
    • Adelina Eleonora Lintuluoto's avatar
      add pipeline for building docker images · 72f0feb9
      Adelina Eleonora Lintuluoto authored and Clemens Lange's avatar Clemens Lange committed
      72f0feb9
  5. 13 Jun, 2020 2 commits
  6. 13 Feb, 2020 1 commit
  7. 24 Jan, 2020 2 commits
  8. 22 Aug, 2019 7 commits
  9. 21 Aug, 2019 6 commits
  10. 08 Aug, 2019 3 commits
  11. 03 Jun, 2019 1 commit
  12. 02 Jun, 2019 1 commit
  13. 30 May, 2019 4 commits