From 427132bd15af809848d379d2d97626c6e48ba18d Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sat, 27 Jun 2020 15:06:36 +0200 Subject: [PATCH] Switch to Drone CI Signed-off-by: Severin Kaderli --- .drone.yml | 24 ++++++++++++++++++++++++ .gitlab-ci.yml | 22 ---------------------- 2 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 .drone.yml delete mode 100644 .gitlab-ci.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..848f062 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: Lint + image: koalaman/shellcheck-alpine:latest + commands: + - alias shellcheck="shellcheck -x --exclude=SC2034,SC1091,SC1090,SC2012" + - shellcheck ./system/.local/bin/* + - shellcheck ./system/.config/custom/keyleds + - shellcheck ./system/.config/custom/aliases + - shellcheck ./system/.config/custom/env + - shellcheck ./system/.config/polybar/scripts/update-count + - shellcheck ./system/.config/X11/xinitrc + - shellcheck ./system/.config/zsh/.zlogout + - shellcheck ./system/.config/zsh/.zprofile + - shellcheck ./system/.config/zsh/.zshrc + - shellcheck ./system/.config/X11/xsetup + - shellcheck ./install + - shellcheck ./.install/*.sh + - shellcheck ./.install/lib/*.sh +... \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 36f0ec9..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,22 +0,0 @@ -stages: - - Lint - -Lint: - image: koalaman/shellcheck-alpine:latest - stage: Lint - before_script: - - alias shellcheck="shellcheck -x --exclude=SC2034,SC1091,SC1090,SC2012" - script: - - shellcheck ./system/.local/bin/* - - shellcheck ./system/.config/custom/keyleds - - shellcheck ./system/.config/custom/aliases - - shellcheck ./system/.config/custom/env - - shellcheck ./system/.config/polybar/scripts/update-count - - shellcheck ./system/.config/X11/xinitrc - - shellcheck ./system/.config/zsh/.zlogout - - shellcheck ./system/.config/zsh/.zprofile - - shellcheck ./system/.config/zsh/.zshrc - - shellcheck ./system/.config/X11/xsetup - - shellcheck ./install - - shellcheck ./.install/*.sh - - shellcheck ./.install/lib/*.sh \ No newline at end of file