1. 22 Mar, 2016 4 commits
    • Kamil Trzciński's avatar
      Merge branch 'feature-ci-only-except-trigger' into 'master' · fc6ee359
      Kamil Trzciński authored
      CI: Add 'triggers' keyword to 'only' and 'except' lists to allow control over when triggers cause builds to run
      
      Currently, the `only` and `except` keywords in `.gitlab-ci.yml` only accept ref names or the special `branches` and `tags` keywords. However, these are primarily useful when controlling how repository activity affects the creation of builds. In my case, instead of building on every commit, I'd like to use the following logic:
      
      - If the repository is tagged, do a build.
      - Any other normal commits should not cause a build.
      - If a build is triggered via the API, always create one for the specified ref.
      
      From what I can tell, this isn't possible via the existing YAML syntax. In this MR, I introduce a new keyword `triggers` that goes along with `branches` and `tags`. I can implement the logic above using the following job configuration:
      
      ```yaml
      only:
        - tags
        - triggers
      ```
      
      I updated the tests and documentation to reflect this and everything seems to pass.
      
      See merge request !3230
      fc6ee359
    • Robert Speicher's avatar
      Merge branch 'issue_12658' into 'master' · 383ead5d
      Robert Speicher authored
      Check if index exists before adding it
      
      I got an error when updating GDK because it already exists.
      
      [ci skip]
      
      See merge request !3335
      383ead5d
    • Rubén Dávila's avatar
      Check if index exists before adding it. [ci skip] · cbdbbcbc
      Rubén Dávila authored
      * I got an error when updating GDK because it already exists.
      cbdbbcbc
    • Robert Speicher's avatar
      Merge branch 'issue_12658' into 'master' · 3a78f7ca
      Robert Speicher authored
      Add group visibility level
      
      Supersedes https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3051
      
      Closes #12658
      
      See merge request !3323
      3a78f7ca
  2. 21 Mar, 2016 34 commits
  3. 20 Mar, 2016 2 commits