From 5d7037aedd681ec2e76e046c8f8a593b77f73e5f Mon Sep 17 00:00:00 2001 From: Eduard Date: Thu, 29 Mar 2018 23:16:58 +0300 Subject: [PATCH] Tips and tricks --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 427afe6..e740c9a 100644 --- a/README.md +++ b/README.md @@ -41,3 +41,12 @@ There are two types of hooks available: Hooks of the same type are executed in collation order. To create a hook extend either or `isc.git.hook.Global` or `isc.git.hook.Local` and implement `onBefore` and/or `onAfter` methods. +## Tips & Tricks + +Various tricks for GitLab CI. + +### Namespaces + +Use `CI_COMMIT_REF_NAME` (resolves to branch) environment variable to use several namespaces on one server. + +I.e. `csession ensemble -U ${CI_COMMIT_REF_NAME} "##class(isc.git.GitLab).loadDiff()"`