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

Commit 5b61a098 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Use the new GitLab CI template

parent a22aa242
Loading
Loading
Loading
Loading
+2 −24
Original line number Diff line number Diff line
stages:
  - update-from-upstream
  - build-sdk
  - publish 

include:
  - project: 'e/priv/os/build'
  - project: 'e/templates'
    ref: master
    file: '/templates/.gitlab-ci-update-from-upstream.yml'

image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest"

before_script:
- chmod a+x buildSdk.sh

build-sdk:
  stage: build-sdk
  script:
  - ./buildSdk.sh
  artifacts:
    paths:
    - e-ui-sdk.jar

publish:
  only:
    - v1-oreo
  stage: publish
  script: 
    - 'gradle publish'
    file: '/gitlab-ci/.gitlab-ci-import-updates-from-upstream.yml'