From b80c8f2fd8df4c7877dd76a26293c34dea9940b1 Mon Sep 17 00:00:00 2001 From: Fazle Rabbi Date: Mon, 2 Sep 2024 19:42:04 +0600 Subject: [PATCH 1/5] add stages --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a6bee7..a8ced84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,10 @@ +stages: + - test + - build + - performance + - dast + - deploy + variables: TO_PACKAGE: 'appinfo css l10n lib templates img js' -- GitLab From 23265630dbbf3ebde5be97799df1bde340cb288b Mon Sep 17 00:00:00 2001 From: Fazle Rabbi Date: Mon, 2 Sep 2024 19:42:19 +0600 Subject: [PATCH 2/5] add mr-review-tools --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8ced84..e21e9a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,3 +15,12 @@ include: - project: 'e/infra/ecloud/nextcloud-apps/ci-templates' ref: main file: 'nc-apps-deploy.yml' + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" + ref: dev/1789-setup-mr-review-tools-in-gitlab + file: "mr-review-tools.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" + ref: dev/1789-setup-mr-review-tools-in-gitlab + file: "git-operations.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" + ref: dev/1789-setup-mr-review-tools-in-gitlab + file: "populate-code-climate-default-config.yml" -- GitLab From efc8fd0fc022733b701e312dc4bcb14a478c9eeb Mon Sep 17 00:00:00 2001 From: Fazle Rabbi Date: Mon, 2 Sep 2024 19:42:29 +0600 Subject: [PATCH 3/5] fix formatting --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e21e9a7..e4f8367 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,15 +6,15 @@ stages: - 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' + file: "nc-apps-lint-build-frontend.yml" + - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main - file: 'nc-apps-deploy.yml' + file: "nc-apps-deploy.yml" - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: dev/1789-setup-mr-review-tools-in-gitlab file: "mr-review-tools.yml" -- GitLab From 2d77e2b72a7568930092f92413283f41ec833915 Mon Sep 17 00:00:00 2001 From: Fazle Rabbi Date: Fri, 20 Sep 2024 16:02:49 +0600 Subject: [PATCH 4/5] change ref to main --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4f8367..d4670df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,11 +16,11 @@ include: ref: main file: "nc-apps-deploy.yml" - project: "e/infra/ecloud/nextcloud-apps/ci-templates" - ref: dev/1789-setup-mr-review-tools-in-gitlab + ref: main file: "mr-review-tools.yml" - project: "e/infra/ecloud/nextcloud-apps/ci-templates" - ref: dev/1789-setup-mr-review-tools-in-gitlab + ref: main file: "git-operations.yml" - project: "e/infra/ecloud/nextcloud-apps/ci-templates" - ref: dev/1789-setup-mr-review-tools-in-gitlab + ref: main file: "populate-code-climate-default-config.yml" -- GitLab From 816923d6e3cbde497552f95575ab8a790fa60b9a Mon Sep 17 00:00:00 2001 From: erobot Date: Fri, 20 Sep 2024 10:59:59 +0000 Subject: [PATCH 5/5] Automatic Update of .codeclimate.yml at 2024-09-20-10-59-59 via CI/CD Refs: - https://gitlab.e.foundation/e/infra/ecloud/nextcloud-apps/email-recovery/-/pipelines/435693 - https://gitlab.e.foundation/e/infra/ecloud/nextcloud-apps/email-recovery/-/jobs/1015493 --- .codeclimate.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .codeclimate.yml diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..c820af6 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,8 @@ +plugins: + phpmd: + enabled: true + config: + file_extensions: + - php + - inc + rulesets: "unusedcode,codesize,naming,controversial,design" -- GitLab