summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPavlos Emm. Katsoulakis <paul@netdata.rocks>2019-08-28 17:05:53 +0300
committerPavlos Emm. Katsoulakis <paul@netdata.rocks>2019-08-28 17:05:53 +0300
commitbd4c62ff8833af53064e495cbfbdbe50450b5a27 (patch)
treee67ffa844d15bc5ab1ae51ed388402790fac1f9d /.gitlab-ci.yml
parent6c1f13558745453891819ff8a57221acfe98d4d4 (diff)
netdata/packaging: Introduce gitlab simple script (beta)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000..f32c08e3ff
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+stages:
+ - "Code quality, linting, syntax, code style"
+
+job 1:
+ stage: "Code quality, linting, syntax, code style"
+ script: shellcheck --format=gcc $(find . -name '*.sh.in' -not -iwholename '*.git*')
+
+job 2:
+ stage: "Code quality, linting, syntax, code style"
+ script: ./tests/installer/checksums.sh
+ variables:
+ LOCAL_ONLY: "true"
+
+job 3:
+ stage: "Code quality, linting, syntax, code style"
+ script: cp web/gui/dashboard.js /tmp/dashboard.js && ./build/build.sh && diff /tmp/dashboard.js web/gui/dashboard.js