gitlab-org--gitlab-foss/spec
Kamil Trzciński fb5c3c7021 Merge branch 'artifacts' into 'master'
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
2015-11-11 12:44:37 +00:00
..
benchmarks Merge branch 'create-project-performance' into 'master' 2015-11-04 10:14:30 +00:00
controllers Merge branch 'project-path-case-sensitivity' into 'master' 2015-10-22 13:03:04 +00:00
factories Merge remote-tracking branch 'origin/release-notes' 2015-11-10 10:20:22 +01:00
features Implement Build Artifacts 2015-11-10 12:51:50 +01:00
finders Allow groups to appear in the search results if the group owner allows it 2015-11-05 13:18:51 +02:00
fixtures
helpers Allow groups to appear in the search results if the group owner allows it 2015-11-05 13:18:51 +02:00
javascripts Apply new design to files page 2015-10-13 16:41:48 +02:00
lib Change artifacts syntax to allow uploading untracked files 2015-11-10 12:51:50 +01:00
mailers Fix code that depends on incorrect inflector behavior 2015-11-03 12:00:27 +01:00
models Implement Build Artifacts 2015-11-10 12:51:50 +01:00
requests Merge branch 'artifacts' into 'master' 2015-11-11 12:44:37 +00:00
routing
services Merge branch 'fix-commits-manual-merge' into 'master' 2015-11-09 11:12:42 +00:00
support Replace all usages of `git` command with configurable binary path 2015-11-03 17:11:09 -05:00
tasks/gitlab Implement Build Artifacts 2015-11-10 12:51:50 +01:00
views/help Allow non-admin users to see version information 2015-09-23 17:18:15 -04:00
workers Cleanup stuck CI builds daily 2015-11-03 13:12:16 +01:00
factories.rb
factories_spec.rb
rails_helper.rb
spec_helper.rb Merge branch 'refactor-build-service' into 'master' 2015-10-05 17:42:50 +00:00
teaspoon_env.rb