diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..be5afd1292b9303a8f03197f6fe38f92fdb73652 --- /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