Toon Claes
b74677489a
Treat environments matching `production/*` as Production
...
For Cycle Analytics, the environment `production` is treated as a
special case, and used to update the `first_deployed_to_production_at`
metric.
With the Review Apps changes, slash syntax is used to group related
environments in the list. This is mostly used for `review/<branch>`
environments, but it's possible for people to have multiple production
environments, and someone might then want to group them like
`production/eu`, `production/us`, or even just make it look prettier
with `production/www.example.com`. In any of these cases, the first
deploy to one of these `production/*` environments now is treated as a
Production deploy.
2017-01-09 16:35:24 +01:00
Nick Thomas
c3d972f4e8
Add terminals to the Kubernetes deployment service
2016-12-19 19:53:04 +00:00
Nick Thomas
58486918fc
Create environments when the build referencing them is created
2016-12-15 13:57:04 +00:00
Nick Thomas
93a03cd92f
Add an environment slug
2016-12-15 13:57:03 +00:00
Rémy Coutable
4e249d5bae
Use :maximum instead of :within for length validators with a 0..N range
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-06 10:23:17 +01:00
Kamil Trzcinski
a36d556137
Introduce deploy command that allows to start deployment from one environment to second one
2016-11-21 17:26:35 +01:00
Grzegorz Bizon
d9d69d7ba7
Add specs for environments recently updated on branch
2016-11-16 11:26:36 +01:00
Kamil Trzcinski
c4e45d89d4
Fix remaining offenses
2016-10-18 13:51:12 +02:00
Kamil Trzcinski
0aa232704c
Add `stop!` to `environment`
2016-10-18 12:02:50 +02:00
Kamil Trzcinski
bebfceb1df
Fix specs
2016-10-17 23:42:49 +02:00
Kamil Trzcinski
4a369185d7
Work on specs
2016-10-17 17:10:26 +02:00
Z.J. van de Weg
88b03bb542
Rename method in test
2016-10-14 11:07:01 +02:00
Z.J. van de Weg
6a4f710083
Show what time ago a MR was deployed
2016-10-14 11:07:00 +02:00
Kamil Trzcinski
8fe05d83ac
Fix validation regexs (+1 squashed commit)
...
Squashed commits:
[f9a9315] Use : to test invalid environment name
2016-09-19 10:07:15 +02:00
Kamil Trzcinski
e1b3ab5af2
Verify expandability of variables defined as part of environment
2016-09-19 10:07:13 +02:00
Z.J. van de Weg
07fc2f852a
Method names changed to #includes_commit?
2016-08-12 10:43:04 +02:00
Z.J. van de Weg
b497b0ce3f
Incorporate feedback
2016-08-11 21:29:57 +02:00
Z.J. van de Weg
1b72256fa1
Use Grape DSL for environment endpoints
...
Also a couple of minor edits for this branch are included
2016-07-29 20:35:38 +02:00
Z.J. van de Weg
76e9b68439
Incorporate feedback
2016-07-29 13:54:45 +02:00
Z.J. van de Weg
be9aa7f194
Add an URL field to Environments
...
This MR adds a string (thus max 255 chars) field to the enviroments
table to expose it later in other features.
2016-07-29 13:54:45 +02:00
Kamil Trzcinski
3ade826065
Add specs for models and services
2016-06-14 13:51:12 +02:00