Commit Graph

10 Commits

Author SHA1 Message Date
Shinya Maeda daa8f784d0 Fix environment automatic on_stop trigger
Due to the nature of pipelines for merge requests, deployments.ref can
be a merge request ref instead of a branch name.

We support the environment auto-stop hook for this case
2019-04-30 21:15:39 +07:00
Thong Kuah 85b29c1c2f Add frozen_string_literal to spec/services
Probably useful as we often move these files to "new" files.
2019-04-12 10:14:54 +12:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11: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
Grzegorz Bizon 6c0fc62ef5 Take branch access into account when stopping environment 2017-04-06 17:15:15 +02:00
Robert Speicher ca9a79f620 Use `:empty_project` where possible in service specs 2017-03-27 20:44:09 -04:00
Kamil Trzcinski 1664354c65
Update changes 2017-02-06 16:50:03 +01:00
Grzegorz Bizon ceb06983ec Make it possible to fabricate environment on branch 2016-11-14 14:10:54 +01:00
Grzegorz Bizon 990765edf3 Improve name of service that stops CI environments 2016-11-14 13:57:09 +01:00
Renamed from spec/services/ci/stop_environment_service_spec.rb (Browse further)