diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000000000000000000000000000000000000..c820af6b1e42ca776e8a890baebb90ba64e0d6b2 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,8 @@ +plugins: + phpmd: + enabled: true + config: + file_extensions: + - php + - inc + rulesets: "unusedcode,codesize,naming,controversial,design" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a6bee70c2728b03b1206cb25aaeab26a5321c1f..d4670dfccf56dd56f089b7db343623af96528a76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,26 @@ +stages: + - test + - build + - performance + - dast + - deploy + variables: - TO_PACKAGE: 'appinfo css l10n lib templates img js' + TO_PACKAGE: "appinfo css l10n lib templates img js" include: - - project: 'e/infra/ecloud/nextcloud-apps/ci-templates' + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" + ref: main + file: "nc-apps-lint-build-frontend.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" + ref: main + file: "nc-apps-deploy.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" + ref: main + file: "mr-review-tools.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main - file: 'nc-apps-lint-build-frontend.yml' - - project: 'e/infra/ecloud/nextcloud-apps/ci-templates' + file: "git-operations.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main - file: 'nc-apps-deploy.yml' + file: "populate-code-climate-default-config.yml"