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
Winnie Hellmann
f976418d12
Fix URL to empty state graphic of scheduled jobs
2018-10-02 17:08:13 +02:00
Shinya Maeda
fcb77970b6
Fix Status::Build::Scheduled. Add spec for the class.
2018-10-02 17:08:12 +02:00
Shinya Maeda
eee454e142
Fix validation methods in Config::Entry::Job. Added spec for that
2018-10-02 17:08:12 +02:00
Shinya Maeda
174fd391f0
Add schedule_expired to failed status
2018-10-02 17:08:12 +02:00
Shinya Maeda
ddb313aebf
Remove Scheduled Status class from pipeline
2018-10-02 17:08:12 +02:00
Shinya Maeda
4b0aa57349
Check the precense of scheduled_at in Status::Build
2018-10-02 17:08:11 +02:00
Shinya Maeda
b1d24c0d14
Fix stuck job worker. Fix sidekiq queue namespace
2018-10-02 17:04:04 +02:00
Shinya Maeda
703a41f886
Introduce enqueue_scheduled event
2018-10-02 17:04:04 +02:00
Shinya Maeda
571a934f29
Fix spec. Create scheduled status entry for pipeline
2018-10-02 17:02:12 +02:00
Shinya Maeda
f8e680b786
Fix rubocop offence
2018-10-02 17:02:12 +02:00
Shinya Maeda
1a4f497e60
Update pipelines and stages status as well
2018-10-02 17:02:11 +02:00
Shinya Maeda
a7c767f164
Add a new status to ci_builds.status
2018-10-02 17:02:11 +02:00
Shinya Maeda
e265fc3e28
Rename delayed to scheduled
2018-10-02 17:02:11 +02:00
Shinya Maeda
c03631a996
Support new syntax
2018-10-02 17:02:11 +02:00
Shinya Maeda
3fc4c096a5
Squashed commit of the following:
...
commit 9d9594ba20097dc4598f7eb42a9f9d78d73eae54
Author: Shinya Maeda <shinya@gitlab.com>
Date: Thu Sep 13 20:18:31 2018 +0900
Cancel scheduled jobs
commit f31c7172e07a9eb03b58c1e62eaa18cda4064aa6
Author: Shinya Maeda <shinya@gitlab.com>
Date: Thu Sep 13 11:18:42 2018 +0900
Add Ci::BuildSchedule
commit fb6b3ca638f40f9e1ee38b1fdd892bda4f6fede7
Author: Shinya Maeda <shinya@gitlab.com>
Date: Wed Sep 12 20:02:50 2018 +0900
Scheduled jobs
2018-10-02 16:57:37 +02:00
Grzegorz Bizon
0972dbc799
Add frozen strong literal directive to policy changes class
2018-10-02 15:59:08 +02:00
Grzegorz Bizon
23512484ef
Freeze mutable constant in CI entry policy class
2018-10-02 15:56:56 +02:00
Grzegorz Bizon
b772e7f4c6
Match a dot in paths configured for only: changes
2018-10-02 15:04:32 +02:00
Grzegorz Bizon
0f78ceca1b
Add only/except pipeline build policy for `changes`
2018-10-02 14:48:18 +02:00
Grzegorz Bizon
740ee583b3
Make it possible to specifiy only: changes keywords
2018-10-02 14:03:20 +02:00
Thong Kuah
c95303567e
Use tiller locally for Auto Devops
2018-10-02 11:25:22 +00:00
Dmitriy Zaporozhets
6c5015ef7c
Merge branch '48399-skip-auto-devops-jobs-based-on-license' into 'master'
...
Skip creating auto devops jobs for sast, container_scanning, dast,…
See merge request gitlab-org/gitlab-ce!21959
2018-10-01 08:43:57 +00:00
Olivier Gonzalez
cfedc0a9f4
Extend reports to support security features
2018-09-27 21:15:08 +00:00
Dylan Griffith
2c2556f9d9
Skip creating auto devops jobs for sast, container_scanning, dast, dependency_scanning when not licensed
2018-09-27 15:46:11 +03:00
Dylan Griffith
df796a4212
Dont create license_management build when not included in license
...
This improves CI performance since we do not create a whole new job that
just exits quickly. This is important based on
https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/4907#note_104742212
2018-09-27 15:10:48 +03:00
Thong Kuah
0cb0f3c125
Process $DB_INITIALIZE and $DB_MIGRATE variables
...
if $DB_INITIALIZE is present, deploy an initial release
where only $DB_INITIALIZE is run in a special job (and deployments are
not rendered/loaded). This is then followed by second release with
deployments as usual.
if $DB_MIGRATE, set this value which will trigger a pre-upgrade helm
hook.
2018-09-27 21:47:29 +12:00
Dylan Griffith
64f2e306d9
Update all gitlab ci templates from gitlab-org/gitlab-ci-yml
...
Since we no longer maintain this separate repo we just needed to do one
final copy from there. See
https://gitlab.com/gitlab-org/gitlab-ce/issues/50289
2018-09-27 11:07:11 +03:00
Dylan Griffith
f5f5d6ea1f
Resolve "Un-vendor CI templates"
2018-09-26 15:39:27 +00:00