From fb9b5455ea97b48439de95d8a076b9b2cee115fe Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Fri, 11 Mar 2016 08:20:13 +0000 Subject: [PATCH 1/4] node image on CI --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a98f125..ecfa1e1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,5 @@ +image: node + stages: - test - deploy @@ -5,10 +7,6 @@ stages: test: stage: test script: - - curl https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash - - source ~/.bashrc - - nvm install stable - - nvm use stable - npm install - npm test -- GitLab From 4ec0531000c0d5d43ce2a52efc36101678c2fc8e Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Fri, 11 Mar 2016 08:25:49 +0000 Subject: [PATCH 2/4] added gitlab as a dependency --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ecfa1e1..38e1c51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,13 @@ stages: - test - deploy +services: + - gitlab:gitlab/gitlab-ce + test: stage: test script: + - curl http://gitlab - npm install - npm test -- GitLab From 2f9cb3c83e3cc440a87394b2b964faae3b0c6736 Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Fri, 11 Mar 2016 08:27:27 +0000 Subject: [PATCH 3/4] update gitlab --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38e1c51..7ab2f2e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ stages: - deploy services: - - gitlab:gitlab/gitlab-ce + gitlab: gitlab/gitlab-ce test: stage: test -- GitLab From f9f9d818f09be5388da6dd25e82ee57d92e0e8f3 Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Fri, 11 Mar 2016 08:29:10 +0000 Subject: [PATCH 4/4] gitlab --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ab2f2e..a17f9b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,13 +4,12 @@ stages: - test - deploy -services: - gitlab: gitlab/gitlab-ce - test: stage: test + services: + - gitlab/gitlab-ce script: - - curl http://gitlab + - curl http://gitlab-ce - npm install - npm test -- GitLab