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

Commit bacac7b4 authored by Romain Hunault's avatar Romain Hunault
Browse files

Config CI

parent 97b7e38a
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+30 −0
Original line number Diff line number Diff line
stages:
  - build

image:
  name: registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
  entrypoint: [""]


variables:
  REPO_BRANCH: eelo-0.2
  REPO_DIRECTORY: EELO_0_2
  REPO_URL: https://gitlab.e.foundation/e/os/android.git
  PROJECT_PATH: packages/apps/Settings

build_module:
  variables:
    GIT_STRATEGY: none
  stage: build
  script:
    - cd /srv/src/${REPO_DIRECTORY}
    - source build/envsetup.sh
    - mka clean
    - repo init -u "${REPO_URL}" -b "${REPO_BRANCH}"
    - repo sync --force-sync -d
    - cd packages/apps/Settings
    - git fetch e
    - git checkout ${CI_COMMIT_SHA}
    - mma
    - repo sync --force-sync -d .
    - mka clean