1. 11 Nov, 2015 2 commits
    • Yorick Peterse's avatar
      Change "recent" scopes to sort by "id" · 7eb502c0
      Yorick Peterse authored
      These scopes can just sort by the "id" column in descending order to
      achieve the same result. An added benefit is being able to perform a
      backwards index scan (depending on the rest of the final query) instead
      of having to actually sort data.
      7eb502c0
    • Kamil Trzciński's avatar
      Merge branch 'artifacts' into 'master' · fb5c3c70
      Kamil Trzciński authored
      Implement Build Artifacts
      
      This implements #3028 
      
      1. It stores artifacts in shared/artifacts,
      1. It adds `artifacts` to `.gitlab-ci.yml`,
      1. We use GitLab Workhorse to offload artifacts uploading,
      1. To download artifacts it uses GitLab Workhorse X-Sendfile extension,
      1. There's one "artifact" per-build. The new upload removes previous one and creates a new one,
      1. Default max artifact size is set to 100MB - this can be changed in settings.
      
      Missing things:
      1. Support for `.gitlab-ci.yml`: `artifacts: true or git-ls-files` which will upload all non tracked files,
      1. Artifacts passing between builds.
      
      GitLab Workhorse changes: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/5
      GitLab Runner changes: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/46
      
      Syntax:
      ```
      artifacts:
        untracked: true # default: false
        paths: # default: empty
        - bin/files
      ```
      
      
      See merge request !1584
      fb5c3c70
  2. 10 Nov, 2015 36 commits
  3. 09 Nov, 2015 2 commits