Commit graph

6 commits

Author SHA1 Message Date
Shinya Maeda
ed3a2fc8d7 Fix CI_COMMIT_REF_NAME and SLUG variable
With Pipelines for Merge Requests feature, users cannout keep using
$CI_COMMIT_REF_NAME and _SLUG predefined variables for dynamic
environments. We fix this problem by explicitly looking at the source
ref.
2019-04-29 18:52:51 +07:00
Grzegorz Bizon
eb2966fadd Move ref slug helper to HasRef module 2019-03-02 15:00:00 +01:00
Shinya Maeda
f62dc67d26 Add suffix for merge request event
Fix

ok

Add spec

Fix

ok

Fix

Add changelog

Fix

Add memoization

a

fix
2019-03-01 22:52:38 +09:00
Shinya Maeda
adf003a931 Fix inconsistent branch? behavior
between Ci::Pipeline and Ci::Build

Add spec

Add more tests

ok
2019-03-01 14:01:11 +09:00
Matija Čupić
837ab8c5d8
Make HasRef#git_ref public 2018-12-08 19:28:34 +01:00
Matija Čupić
1bf5806888
Use full ref when possible to avoid ambiguity 2018-12-08 19:25:44 +01:00