Stan Hu
bbe25533a7
Merge branch 'frozen-string-enable-lib-gitlab-ci' into 'master'
...
Enable some frozen string for lib/gitlab/ci
See merge request gitlab-org/gitlab-ce!22636
2018-10-30 18:11:10 +00:00
DJ Mountney
06b6daacb1
Merge remote-tracking branch 'origin/master' into dev-master
2018-10-29 14:37:19 -07:00
Jan Provaznik
58646c65d5
Merge branch 'security-master-junit-test-report-exposes-stacktrace' into 'master'
...
[master] JUnit test reports endpoint exposes full stack trace in production mode
See merge request gitlab/gitlabhq!2559
2018-10-29 16:07:14 +00:00
Kamil Trzciński
0acdd3d3dd
Rename 'sast_container' licensed feature
2018-10-29 10:32:59 -04:00
Shinya Maeda
4611a59968
Add failure reason for execution timeout
2018-10-28 18:31:08 +00:00
gfyoung
06892e88f5
Enable frozen string for lib/gitlab/ci
...
Enables frozen string for the following:
* lib/gitlab/ci/*.rb
* lib/gitlab/ci/build/**/*.rb
* lib/gitlab/ci/config/**/*.rb
* lib/gitlab/ci/pipeline/**/*.rb
* lib/gitlab/ci/reports/**/*.rb
Partially addresses #47424 .
2018-10-26 16:36:42 -07:00
Grzegorz Bizon
5726e51aaa
Merge branch 'jlenny-UpdateAndroidTemplate' into 'master'
...
Update Android.gitlab-ci.yml template to current Android SDK version
See merge request gitlab-org/gitlab-ce!22531
2018-10-25 10:46:49 +00:00
Jason Lenny
f2fcaaf3e0
Update link to blog post since it didn't go out on 23rd
2018-10-24 09:08:48 +00:00
Matija Čupić
6bf8032735
Remove full exception stack trace from error
2018-10-23 14:16:49 +02:00
Grzegorz Bizon
708875ae9e
Merge branch 'support-license-management-and-performance' into 'master'
...
Support licenses and performance
See merge request gitlab-org/gitlab-ce!22175
2018-10-23 12:07:05 +00:00
Jason Lenny
ae13305e73
Update Android.gitlab-ci.yml with result of new blog post: https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/15746
2018-10-23 08:49:46 +00:00
Grzegorz Bizon
075bbd4cb6
Merge branch 'sh-pages-eof-error' into 'master'
...
Fix EOF detection with CI artifacts metadata
Closes #36954
See merge request gitlab-org/gitlab-ce!22479
2018-10-23 06:40:57 +00:00
Douwe Maan
b887d106cc
Merge branch 'feature/gb/improve-include-config-errors-reporting' into 'master'
...
Improve validation errors for external CI/CD configuration
Closes #51369
See merge request gitlab-org/gitlab-ce!22394
2018-10-22 20:11:08 +00:00
Grzegorz Bizon
e26a30e5ce
Improve error message when `include` is blocked
2018-10-22 11:57:55 +02:00
Grzegorz Bizon
fdcdc36eec
Merge branch 'drop-allow_overflow-option-duration_in_numbers' into 'master'
...
Drop allow overflow option duration in numbers
Closes #52284
See merge request gitlab-org/gitlab-ce!22246
2018-10-22 08:59:16 +00:00
Kamil Trzciński
bc333f38d8
Support licenses and performance
...
This introduces a new syntax for all licenses and performance jobs:
```yaml
job:
reports:
performance: performance.json
license_management: gl-license-management-report.json
```
2018-10-22 10:20:12 +02:00
Grzegorz Bizon
44a9231d19
Merge branch 'use-raw-file-format' into 'master'
...
Add RAW file format which is used to store security reports
Closes gitlab-ee#7996
See merge request gitlab-org/gitlab-ce!22365
2018-10-22 08:09:40 +00:00
Shinya Maeda
1f1b3923ec
Rename "scheduled" label/badge of delayed jobs to "delayed"
2018-10-19 16:28:41 +00:00
Grzegorz Bizon
380f63bf8d
Improve remote CI/CD config file extension validation
2018-10-19 16:38:09 +02:00
Grzegorz Bizon
7977a20bb4
Extend error message in case of HTTP errors in `include`
2018-10-19 16:16:30 +02:00
Stan Hu
4c4d1b7928
Fix EOF detection with CI artifacts metadata
...
There are some corner cases where a perfectly correct GZIP stream may
not hit the EOF until another read is attempted. We now skip the entry
if we don't see any valid data, which allows the EOF check to work
properly.
Closes https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22479
2018-10-18 23:15:24 -07:00
Grzegorz Bizon
39dac14e9c
Refactor `include` code and improve error reporting
2018-10-18 14:13:26 +02:00
Grzegorz Bizon
e0830a748a
Extract method that fetchesremote CI/CD included config
2018-10-18 11:17:42 +02:00
Grzegorz Bizon
2243f0e3de
Add IncludeError exception and use it in CI config
2018-10-18 11:07:32 +02:00
Shinya Maeda
23526470dd
Drop `allow_overflow` option in `TimeHelper.duration_in_numbers`
2018-10-18 15:11:12 +09:00
Grzegorz Bizon
5f502c3a82
Move external CI config class into proper namespace
2018-10-16 15:11:50 +02:00
Grzegorz Bizon
7acc6340c1
Move external CI config files into Ci class context
2018-10-16 15:04:32 +02:00
Kamil Trzciński
15cd91c71a
Make all legacy security reports to use raw format
...
- This introduces and uses `:raw` format for all legacy reports,
the ones that do not have yet proper parsers on Backend
- Raw format is needed to make Frontend be able to parse reports,
without the need of decompressing,
- This also extends fixtures to seed security reports with database,
even though parser code is part of EE
2018-10-16 13:51:49 +02:00
Kamil Trzciński
0a89c0b864
Merge branch 'patch-29' into 'master'
...
Update Android.gitlab-ci.yml for current stable SDK
See merge request gitlab-org/gitlab-ce!22336
2018-10-15 07:00:06 +00:00
Osama Bin Omar
6d7429e084
Update Android.gitlab-ci.yml for current stable SDK
2018-10-13 08:54:30 +00:00
Adam Lemanski
8f1a0ec340
fix duplicated key in license management job gitlab-org/gitlab-ce#52609
2018-10-12 13:13:12 +07:00
Takuya Noguchi
af013d34d9
Use the standard PIP_CACHE_DIR for Python dependency caching template
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-10-09 14:54:51 +09:00
Paul Giberson
71ffca52bd
Updates Laravel.gitlab-ci.yml template
...
Updates to add gnupgp (required for node setup)
Upgrades node install to version 8
2018-10-06 05:44:07 +00:00
Alessio Caiazza
94fc061936
Add timed incremental rollout to Auto DevOps
...
Auto DevOps deployment strategies now supports timed incremental
rollout. We are deprecating the usage of INCREMENTAL_ROLLOUT_ENABLED
environment variable in Auto DevOps template.
The new behavior will be driven by the INCREMENTAL_ROLLOUT_MODE variable
that can either be manual (same as INCREMENTAL_ROLLOUT_ENABLED) or
timed.
Rollout deployments will be executed using a 5 minute delay between each
job.
2018-10-05 21:14:59 +02:00
Shinya Maeda
7542a5d102
Merge branch 'master-ce' into scheduled-manual-jobs
2018-10-05 23:38:02 +09:00
Kamil Trzciński
7bdbacb489
Merge branch 'feature/gb/pipeline-only-except-with-modified-paths' into 'master'
...
Pipeline only/except for modified paths
See merge request gitlab-org/gitlab-ce!21981
2018-10-05 10:40:42 +00:00
Thong Kuah
cab875eeb7
Redirect IO streams to prevent hanging
...
https://en.wikipedia.org/wiki/Nohup#Overcoming_hanging
https://gitlab.com/gitlab-org/gitlab-runner/issues/2880
2018-10-05 11:45:11 +13:00
Thong Kuah
2062560ef9
Use tiller directly for Auto DevOps
...
This saves a external network call to fetch a helm plugin. The cost is a
few lines of shell script
2018-10-05 11:45:11 +13:00
Kamil Trzciński
84c4e920cd
Merge branch 'master' into 'feature/gb/pipeline-only-except-with-modified-paths'
...
# Conflicts:
# app/models/ci/pipeline.rb
2018-10-04 16:52:48 +00:00
Shinya Maeda
e84230ebb6
Add limitation for start_in keyword
2018-10-04 18:59:34 +09:00
Shinya Maeda
5381985bd0
Merge branch 'master-ce' into scheduled-manual-jobs
2018-10-04 09:44:14 +09:00
Dmitriy Zaporozhets
9117e14484
Merge branch '48004-db-initialize-migrate' into 'master'
...
Support db migration and initialization for Auto DevOps
Closes #48004
See merge request gitlab-org/gitlab-ce!21955
2018-10-03 11:31:54 +00:00
Shinya Maeda
41fe9edcf7
Merge branch 'master-ce' into scheduled-manual-jobs
2018-10-03 10:33:33 +09:00
Matija Čupić
48c911b75e
CE Resolve "Refactor code quality similar to JUnit tests"
2018-10-02 17:01:26 +00:00
Shinya Maeda
8bc065e02d
Rename failure reason to stale_schedule
2018-10-02 17:08:14 +02:00
Shinya Maeda
336affe911
Add scheduled status
2018-10-02 17:08:14 +02:00
Shinya Maeda
bc5d649a4c
Add unschedule action to status build
2018-10-02 17:08:14 +02:00
Shinya Maeda
54263dc1d9
Fix coding style offence
2018-10-02 17:08:13 +02:00
Winnie Hellmann
308d11f4bb
Use correct icon for scheduled jobs in pipeline graph
2018-10-02 17:08:13 +02:00
Winnie Hellmann
ea38e832f0
Allow remaining time of scheduled jobs to overflow one day
2018-10-02 17:08:13 +02:00