Commit graph

18 commits

Author SHA1 Message Date
GitLab Bot
e5e0589e09 Add latest changes from gitlab-org/gitlab@master 2021-04-26 12:09:44 +00:00
GitLab Bot
b81fd57f3d Add latest changes from gitlab-org/gitlab@master 2021-04-22 09:09:45 +00:00
GitLab Bot
dc7cd84a3e Add latest changes from gitlab-org/gitlab@master 2021-04-07 09:09:06 +00:00
GitLab Bot
2ead415d7a Add latest changes from gitlab-org/gitlab@master 2020-06-03 03:08:23 +00:00
GitLab Bot
e144369009 Add latest changes from gitlab-org/gitlab@master 2020-02-14 00:09:07 +00:00
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
gfyoung
265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00
Grzegorz Bizon
e270366d84 Rename environments stop action method
This makes it more explicit that an environment is not a stop action,
but instead is merely contains a stop action.
2018-07-12 12:22:11 +02:00
Grzegorz Bizon
6baaa8a98e Add new ability check for stopping environment 2017-05-01 13:38:57 +02:00
Grzegorz Bizon
2aa211fa69 Use build policy to determine if user can play build 2017-04-12 13:48:43 +02:00
Grzegorz Bizon
6c0fc62ef5 Take branch access into account when stopping environment 2017-04-06 17:15:15 +02:00
Robert Speicher
58eae0961e Merge branch 'route-map' into 'master'
Add 'View on [env]' link to blobs and individual files in diffs

See merge request !8867
2017-02-07 19:14:19 +00:00
Douwe Maan
8116e400be Don't skip authorization when stopping CI environments 2017-02-07 11:26:59 -06:00
Douwe Maan
9d7c5e7584 Address feedback 2017-02-06 18:06:46 -06:00
Kamil Trzcinski
1664354c65
Update changes 2017-02-06 16:50:03 +01:00
Grzegorz Bizon
5d5b80a608 Remove unnecessary check from environments service 2016-11-16 12:39:06 +01:00
Grzegorz Bizon
e49229aa04 Refactor methods for environments in project model 2016-11-16 10:54:20 +01:00
Grzegorz Bizon
990765edf3 Improve name of service that stops CI environments 2016-11-14 13:57:09 +01:00
Renamed from app/services/ci/stop_environment_service.rb (Browse further)