From 4e87e7fd9dfa0b9a015268927480229997e848e4 Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 16:42:50 +0100 Subject: [PATCH 01/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 077bb8f..9d8435a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,20 @@ stages: - syntax + - test -js-parser: +js-parser-syntax: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: syntax + only: + - dev script: - find -name "*.java" > sources.txt - cat sources.txt - javac @sources.txt - - java -cp src main.Main \ No newline at end of file + - java -cp src main.Main + +js-parser-test: + image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk + stage: test + script: + - grep -rnw ./files/io -e "__UNK__" \ No newline at end of file -- GitLab From f475afb12fce61b2fec21a164c0fa1524bf0954b Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 16:47:18 +0100 Subject: [PATCH 02/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d8435a..8e56af9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,6 @@ stages: js-parser-syntax: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: syntax - only: - - dev script: - find -name "*.java" > sources.txt - cat sources.txt @@ -17,4 +15,4 @@ js-parser-test: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - grep -rnw ./files/io -e "__UNK__" \ No newline at end of file + - >&2 grep -rnw ./files/io -e "__UNK__" \ No newline at end of file -- GitLab From 3a04d8c265c0092a98ab7d5fb31950ba1e53480d Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 16:54:38 +0100 Subject: [PATCH 03/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e56af9..e94dac1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,4 +15,4 @@ js-parser-test: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - >&2 grep -rnw ./files/io -e "__UNK__" \ No newline at end of file + - check_result =`grep -rnw ./files/io -e "__UNK__"`; if [ -z "$check_result" ] then exit 1; fi \ No newline at end of file -- GitLab From 1c7110f840893d59c4420221173f662b7191d366 Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 16:57:02 +0100 Subject: [PATCH 04/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e94dac1..dedf98b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,4 +15,4 @@ js-parser-test: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - check_result =`grep -rnw ./files/io -e "__UNK__"`; if [ -z "$check_result" ] then exit 1; fi \ No newline at end of file + - check_result =`grep -rnw ./files/io -e "__UNK__"`; if [ -z "$check_result" ] then exit 1; \ No newline at end of file -- GitLab From 9cd897228709a1fae59a6ca00863f41eec8e69a1 Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 17:02:40 +0100 Subject: [PATCH 05/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dedf98b..b9909cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,4 +15,4 @@ js-parser-test: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - check_result =`grep -rnw ./files/io -e "__UNK__"`; if [ -z "$check_result" ] then exit 1; \ No newline at end of file + - if cat ./files/io/* | grep "__UNK__"`; then exit 1 fi \ No newline at end of file -- GitLab From 19f759b6b27cbd31f2ee463659e3ffd4ea8eba36 Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 17:03:54 +0100 Subject: [PATCH 06/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9909cf..12a89c3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,6 @@ js-parser-syntax: - java -cp src main.Main js-parser-test: - image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - if cat ./files/io/* | grep "__UNK__"`; then exit 1 fi \ No newline at end of file + - if cat ./files/io/* | grep "__UNK__"; then exit 1 fi \ No newline at end of file -- GitLab From 2ca2a3ecdcc2e53d4a6cea091def8abcdaa77f10 Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 17:08:18 +0100 Subject: [PATCH 07/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12a89c3..2ab9f41 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ js-parser-syntax: - java -cp src main.Main js-parser-test: + image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - if cat ./files/io/* | grep "__UNK__"; then exit 1 fi \ No newline at end of file -- GitLab From 5606f215a296efd3e54185896b1d2d44ea542c5b Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 17:14:06 +0100 Subject: [PATCH 08/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ab9f41..b8c7520 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,4 +15,5 @@ js-parser-test: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - if cat ./files/io/* | grep "__UNK__"; then exit 1 fi \ No newline at end of file + - if grep -q '__UNK__' ./files/io/* then exit 1 fi + \ No newline at end of file -- GitLab From 994b5d4ee26daa21e30703b8da72e1ea4f47da7d Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 17:17:00 +0100 Subject: [PATCH 09/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8c7520..359451a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,5 +15,5 @@ js-parser-test: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk stage: test script: - - if grep -q '__UNK__' ./files/io/* then exit 1 fi + - cat ./files/io/* \ No newline at end of file -- GitLab From a2e36f4adf0735e8987d143510ba369b068f434d Mon Sep 17 00:00:00 2001 From: Jose Maria Ramirez Barambones <jose.barambones@cern.ch> Date: Fri, 11 Nov 2016 17:18:24 +0100 Subject: [PATCH 10/10] Update .gitlab-ci.yml --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 359451a..c072767 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ stages: - syntax - - test + - results js-parser-syntax: image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk @@ -12,8 +12,8 @@ js-parser-syntax: - java -cp src main.Main js-parser-test: - image: gitlab-registry.cern.ch/ramirezb/js-parser:jdk - stage: test + image: busybox:latest + stage: results script: - cat ./files/io/* \ No newline at end of file -- GitLab