1. 01 Sep, 2016 1 commit
  2. 11 Aug, 2016 1 commit
    • Kamil Trzcinski's avatar
      Pre-create all builds for Pipeline when a trigger is received · 9c9a8bc446d7
      Kamil Trzcinski authored
      This change simplifies a Pipeline processing by introducing a special new status: created.
      This status is used for all builds that are created for a pipeline.
      We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped).
      This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled.
      This also allows us to visualise a full pipeline (with created builds).
      
      This also removes an after_touch used for updating a pipeline state parameters.
      Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
      9c9a8bc446d7
  3. 19 Jul, 2016 2 commits
  4. 18 Jul, 2016 4 commits
  5. 16 Jun, 2016 2 commits
  6. 13 Jun, 2016 2 commits
  7. 10 Jun, 2016 2 commits
  8. 03 Jun, 2016 3 commits
  9. 02 Jun, 2016 1 commit
  10. 09 May, 2016 2 commits
  11. 19 Apr, 2016 4 commits
  12. 19 Feb, 2016 4 commits
  13. 11 Feb, 2016 4 commits
  14. 02 Feb, 2016 1 commit
    • Kamil Trzcinski's avatar
      Make the CI permission model simpler · 0111b988dffb
      Kamil Trzcinski authored
      This MR simplifies CI permission model:
      - read_build: allows to read a list of builds, artifacts and trace
      - update_build: allows to cancel and retry builds
      - create_build: allows to create builds from gitlab-ci.yml (not yet implemented)
      - admin_build: allows to manage triggers, runners and variables
      - read_commit_status: allows to read a list of commit statuses (including the overall of builds)
      - create_commit_status: allows to create a new commit status using API
      
      Remove all extra methods to manage permission.
      Made all controllers to use explicitly the new permissions.
      0111b988dffb
  15. 15 Jan, 2016 1 commit
  16. 14 Jan, 2016 1 commit
  17. 04 Jan, 2016 1 commit
  18. 11 Dec, 2015 2 commits
  19. 10 Nov, 2015 1 commit
    • Kamil Trzcinski's avatar
      Implement Build Artifacts · f11b76db3d6f
      Kamil Trzcinski authored
      - Offloads uploading to GitLab Workhorse
      - Use /authorize request for fast uploading
      - Added backup recipes for artifacts
      - Support download acceleration using X-Sendfile
      f11b76db3d6f
  20. 05 Nov, 2015 1 commit
    • Kamil Trzcinski's avatar
      CI details cleanup · f77a19b2824e
      Kamil Trzcinski authored
      - Add page titles to CI settings.
      - Fix CI admin navigation.
      - Remove duplicated scope.
      - Use monospace font for commit sha.
      - Add page title and header title to build page.
      - Proper authorization for cancel/retry builds.
      - Use gitlab pagination theme for builds and group members.
      - Don't paginate builds widget on build page.
      - Add badges to commit page Changes/Builds tabs.
      - Add "Builds" to commit Builds tab page title.
      - Add and use Ci::Build#retryable? method.
      - Add CI::Build#retried? method.
      - Allow all failed commit builds to be retried.
      - Proper authorization for cancel/retry all builds.
      - Remove unused param.
      - Use time_ago_with_tooltip where appropriate.
      - Tweak builds index text
      - Remove duplication between builds/build and commit_statuses/commit_status.
      - Use POST rather than GET for canceling and retrying builds.
      - Remove redundant URL helpers.
      - Add build ID to build page.
      - Link branch name on build page.
      - Move commit/:sha/ci to commit/:sha/builds.
      f77a19b2824e