From d375903dab9fedd1d31fdb0506ab77fd68e79290 Mon Sep 17 00:00:00 2001
From: Szymon Tomasz Datko <szymon.tomasz.datko@cern.ch>
Date: Sat, 6 Aug 2016 15:28:27 +0200
Subject: [PATCH] Added .gitlab-ci.yml file

---
 .gitlab-ci.yml | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..be5afd1
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,36 @@
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+#                                                           #
+# CI jobs definiton for Gitlab-CI                           #
+#                                                           #
+# Maintainer:                                               #
+# CERN IT-DI-CSO <computer.security@cern.ch>                #
+#                                                           #
+# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
+
+#
+# Job definition for automated Docker image building
+#
+create_image:
+  stage: build
+
+  #
+  # Select proper runner node
+  #
+  tags:
+    - docker-build
+
+  #
+  # This section is unused, but required by Gitlab-CI
+  #
+  script:
+    - echo 'Create Docker image'
+
+  #
+  # Set parameters for image building
+  #
+  variables:
+    TO: 'docker.cern.ch/security-services/code-checking:latest'
+    DOCKER_INFO: 'true' # Display Docker informations
+    DOCKER_LOGIN_SERVER: 'docker.cern.ch'
+    DOCKER_LOGIN_USERNAME: $_DOCKER_USERNAME
+    DOCKER_LOGIN_PASSWORD: $_DOCKER_PASSWORD
-- 
GitLab