Commit Graph

5 Commits

Author SHA1 Message Date
Lin Jen-Shin 96ccab8f6f We want letters and numbers 2018-07-12 09:24:43 +08:00
Lin Jen-Shin cf77726188 Make sure we're matching the same way.
Ruby's regular expression is unicode aware, therefore 'å' also
matches against /\p{alnum}/. If we want only ASCII-7bit, use
[a-zA-Z0-9]+ so they always match the same thing
2018-07-10 20:05:57 +08:00
Zeger-Jan van de Weg 43b0dddf38
Fix enviroments seeding on certain branch names
Bit of a cryptic commit title, but our seeding will try to guard against
branchnames being anything but alphanumerical. These charachters we gsub
away but can't have an empty string as replacement.

This change is less efficient, but given that the number of seeded MRs
per project is very limited, this should be ok.
2018-04-10 09:07:32 +02:00
Zeger-Jan van de Weg 5eb940da76 Replace invalid chars while seeding environments 2017-06-21 11:16:38 +00:00
Kamil Trzciński 7f8e0bce5a Added mock deployment and monitoring service with environments fixtures 2017-04-05 11:04:34 +00:00