-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
39 lines (37 loc) · 1 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
stages:
- test
- build
- performance
- dast
- deploy
variables:
TO_PACKAGE: 'appinfo l10n lib templates js img css'
include:
- 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: "git-operations.yml"
- project: "e/infra/ecloud/nextcloud-apps/ci-templates"
ref: main
file: "populate-code-climate-default-config.yml"
build-vendor:
stage: build
extends: .composer:base
needs: ["build-frontend"]
before_script:
- composer install --no-dev
script:
- cp -a vendor dist/${APP_NAME}
- find dist/${APP_NAME} -type d -exec chmod 755 {} \;
- find dist/${APP_NAME} -type f -exec chmod 644 {} \;
artifacts:
paths:
- dist/