diff options
author | Andrew Dolgov <[email protected]> | 2023-04-02 19:07:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-02 19:07:21 +0300 |
commit | d9010912a4d2832f1bb5dc8077b5a53120c0b009 (patch) | |
tree | 9993f0e5e6f459491ba28f1c8423b09fdf6b0141 | |
parent | 33e6b34a7080c3c2f551a5c411250be57fe5d876 (diff) |
use gitlab ci
-rw-r--r-- | .gitlab-ci.yml | 10 | ||||
-rw-r--r-- | Jenkinsfile | 17 |
2 files changed, 10 insertions, 17 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8178ea1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,10 @@ +stages: + - lint + +include: + - project: 'ci/ci-templates' + ref: master + file: .ci-lint-common.yml + +phpstan: + extends: .phpstan-tt-rss-plugin diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 0991f2c..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,17 +0,0 @@ -pipeline { - agent any - - stages { - stage('phpstan') { - steps { - sh """ - docker run --pull=always \ - -v ${env.WORKSPACE}:/src/tt-rss/plugins/plugin \ - --workdir /src/tt-rss \ - --rm registry.fakecake.org/cthulhoo/ttrss-fpm-pgsql-static:latest \ - php81 ./vendor/bin/phpstan analyse plugins/plugin - """ - } - } - } -} |