summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-02 19:07:23 +0300
committerAndrew Dolgov <[email protected]>2023-04-02 19:07:23 +0300
commitf8044d4407ad13e40d26a360388968736955016f (patch)
tree907e2dc41b8e46cb37c6d1da8f8325059349f882
parentf270e48b2f5b40045e2caeca16fd3be95728927f (diff)
use gitlab ci
-rw-r--r--.gitlab-ci.yml10
-rw-r--r--Jenkinsfile17
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 27572e5..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.local/plugin \
- --workdir /src/tt-rss \
- --rm registry.fakecake.org/cthulhoo/ttrss-fpm-pgsql-static:latest \
- php81 ./vendor/bin/phpstan analyse plugins.local/plugin --memory-limit=512M
- """
- }
- }
- }
-}