Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 5371b046 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files
parent 3a766362
Loading
Loading
Loading
Loading
+17 −9
Original line number Diff line number Diff line
stages:
  - test
  - build
  - performance
  - dast
  - publish
  - deploy

variables:
@@ -12,15 +14,21 @@ include:
  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
    ref: main
    file: "nc-apps-checkout-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"
  - project: "e/infra/ecloud/nextcloud-apps/ci-templates"
    ref: main
    file: "nc-publish-app.yml"

copy-theme-files:
  stage: build
  image: 
    name: alpine/git:v2.49.0
    entrypoint: [""]
  script:
    - mkdir -p dist/${APP_NAME}
    - git archive ${CI_COMMIT_SHA} | tar -x -C dist/${APP_NAME}
  artifacts:
    paths:
      - dist/

.deploy:nextcloud-app-by-checkout:
  script: