From 2fb695bd4bd3ebe36aa52a828aa94bb5a0ac2be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Fri, 12 Apr 2024 13:27:56 +0200 Subject: [PATCH] add Gitlab-CI config --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..552f438 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +--- +# A pipeline is composed of independent jobs that run scripts, grouped into stages. +# Stages run in sequential order, but jobs within stages run in parallel. +# +# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages + +image: debian:stable-slim + +stages: # List of stages for jobs, and their order of execution + - test + +default: + tags: + - docker + +before_script: + - apt-get update + - apt-get -y install shellcheck xargs + +test-syntax-job: # This job runs in the test stage. + stage: test # It only starts when the job in the build stage completes successfully. + script: + - find ./ -name *.sh | xargs shellcheck --color=always --shell=bash --external-sources -- GitLab