Commit graph

20 commits

Author SHA1 Message Date
Fabio Pitino
42d99460d3 Allow use of legacy triggers with feature flag
Keep feature flag disabled by default and turn off
all functionality related to legacy triggers.

* Block legacy triggers from creating pipeline
* Highlight legacy triggers to be invalid via the UI
* Make legacy triggers invalid in the model
2019-07-15 15:05:22 +02:00
Thong Kuah
a2cfc150ce Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
blackst0ne
27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Zeger-Jan van de Weg
8df3997a92 Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
Kamil Trzcinski
37a7b099d6
Merge remote-tracking branch 'origin/master' into optimise-pipelines 2017-04-06 22:05:22 +02:00
Lin Jen-Shin
a39ff617f8 Fix token test by specifying a static token 2017-04-07 01:09:53 +08:00
Shinya Maeda
c426763c42 Rename ScheduledTrigger to TriggerSchedule. Because table structure changed. 2017-04-06 23:46:58 +09:00
Kamil Trzciński
32dee03b2f Improve pipeline triggers UI 2017-03-07 13:02:56 +00:00
Kamil Trzcinski
91ce04678e
Make triggers to be user aware 2017-03-05 18:53:00 +01:00
tiagonbotelho
1d268a89de adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Stan Hu
79c0e7212a Annotate models 2016-01-06 13:09:55 +00:00
Kamil Trzcinski
e80e3f5372 Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
Douwe Maan
1e8d703a85 Tag model specs 2015-12-09 10:50:51 +01:00
Dmitriy Zaporozhets
a237999f00
Annotate models
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-13 19:22:46 +01:00
Dmitriy Zaporozhets
59c3a3239f Fix commit specs 2015-09-10 15:52:52 +02:00
Dmitriy Zaporozhets
10b3c85e2c Fix some issues with ci models specs 2015-09-10 15:47:15 +02:00
Dmitriy Zaporozhets
cc4ef4da11 Refactor CI tests 2015-09-09 14:17:16 +02:00
Renamed from spec/ci/models/trigger_spec.rb (Browse further)