Commit f0580739 authored by Romain Hunault's avatar Romain Hunault

Setup CI to update from upstream

parent 0a0b2742
Pipeline #3243 passed with stage
in 2 minutes and 42 seconds
stages:
- build
- update-from-upstream
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
include:
- project: 'e/priv/os/build'
ref: master
file: '/templates/.gitlab-ci-update-from-upstream.yml'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment