From 553c11ca95ea2f8d6ad1f3a8e653784754bcb9e6 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 09:22:31 +0100 Subject: [PATCH 1/7] gitlab CI runner should have necessary tools --- .gitlab-ci.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 44de6b0b..1cc17995 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,26 +3,16 @@ stages: unit_tests: stage: test - before_script: - - 'apk update' - - 'apk add python3' script: - ./bin/build-helper version - ./bin/build-helper test pycodestyle: stage: test - before_script: - - 'apk update' - - 'apk add python3 py3-pycodestyle' - - 'ln -f -s /usr/bin/pycodestyle-3 /usr/bin/pycodestyle' script: - ./bin/build-helper pycodestyle shellcheck: stage: test - before_script: - - 'wget https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz' - - 'tar xf shellcheck-stable.linux.x86_64.tar.xz && mv shellcheck-stable/shellcheck /usr/bin/' script: - ./bin/build-helper shellcheck From 75b2f521d932c1098f9f1502cbc758f8ad434faa Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 09:25:48 +0100 Subject: [PATCH 2/7] debug runner :) --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cc17995..6a429b50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ unit_tests: pycodestyle: stage: test script: + - ls -l $(command -v pycodestyle) - ./bin/build-helper pycodestyle shellcheck: From 936019b699db7856bf175dec7a96f09ee88f531d Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 09:31:20 +0100 Subject: [PATCH 3/7] debug --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a429b50..346f0d09 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ unit_tests: pycodestyle: stage: test script: + - $(command -v pycodestyle) - ls -l $(command -v pycodestyle) - ./bin/build-helper pycodestyle From f259c93796071af47419752648418b3def75701c Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 09:33:41 +0100 Subject: [PATCH 4/7] debug --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 346f0d09..c2ea902e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ pycodestyle: stage: test script: - $(command -v pycodestyle) + - $(command -v pycodestyle3) - ls -l $(command -v pycodestyle) - ./bin/build-helper pycodestyle From 399828545f8d2920ecc544b9f4ed3b074f6d861b Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 09:35:18 +0100 Subject: [PATCH 5/7] debug --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2ea902e..caa939e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,8 +10,8 @@ unit_tests: pycodestyle: stage: test script: - - $(command -v pycodestyle) - $(command -v pycodestyle3) + - $(command -v pycodestyle) - ls -l $(command -v pycodestyle) - ./bin/build-helper pycodestyle From 20ccb3ec06e24c69127b8026f2b525559ef35fd4 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 11:33:53 +0100 Subject: [PATCH 6/7] debug --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index caa939e5..f6babf74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,7 @@ unit_tests: pycodestyle: stage: test script: - - $(command -v pycodestyle3) - - $(command -v pycodestyle) - - ls -l $(command -v pycodestyle) + - pep8=$(command -v pycodestyle-3) && ln -s -f "${pep8}" /usr/bin/pycodestyle - ./bin/build-helper pycodestyle shellcheck: From 654637c9dd28fff8de382df016d8d1cc41e33c58 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 2 Dec 2019 12:31:46 +0100 Subject: [PATCH 7/7] debug --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6babf74..1cc17995 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,6 @@ unit_tests: pycodestyle: stage: test script: - - pep8=$(command -v pycodestyle-3) && ln -s -f "${pep8}" /usr/bin/pycodestyle - ./bin/build-helper pycodestyle shellcheck: