From 6be3d6ce8c5bd9fff2a103e14b1f5f04eecb20b6 Mon Sep 17 00:00:00 2001 From: Melanie Bruns <mbruns42@mail.upb.de> Date: Wed, 25 Jan 2017 15:48:31 +0100 Subject: [PATCH] Fix indentation and use gradle docker image The .yaml cannot be parsed if the indentation is wrong. Gitlb CI Lint does not find that and simply complains about the first line. A gradle docker image is used now. Hopefully that works for us, there is no official gradle docker image. Alternatively, we could use a java image, but we would probably need to install gradle on that, so I hope taking this image makes things easier. --- .gitlab-ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4762751a..aa60d0d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,4 @@ -# This template uses the java:8 docker image because there isn't any -# official Gradle image at this moment -# -# This is the Gradle build system for JVM applications -# https://gradle.org/ -# https://github.com/gradle/gradle -image: java:8 +image: frekele/gradle:latest # Make the gradle wrapper executable. This essentially downloads a copy of # Gradle to build the project with. @@ -31,4 +25,4 @@ build: test: stage: test script: -- ./gradlew -g /cache/.gradle check \ No newline at end of file + - ./gradlew -g /cache/.gradle check \ No newline at end of file -- GitLab