Commit e1dc0c87 authored by Tomeu Vizoso's avatar Tomeu Vizoso

tmp

parent 7ebf44af
......@@ -24,18 +24,7 @@ build:
image: ${CI_REGISTRY_IMAGE}/debian/${DEBIAN_VERSION}:${DEBIAN_TAG}
stage: build
script:
- pwd
- whoami
- ls -l /root
- ls -l /
- find / -name cros_sdk || true
- find / -name depot_tools || true
- pushd /chromeos
- ls -l /chromeos/chromium/tools/depot_tools
- export BOARD=amd64-generic
- export PATH=$PATH:/chromeos/chromite/bin/
- runuser -u cros-builder -c -- BOARD=amd64-generic /chromeos/chromite/bin/cros_sdk --nouse-image -- ./build_packages --board=${BOARD}
- runuser -u cros-builder -c -- BOARD=amd64-generic /chromeos/chromite/bin/cros_sdk --nouse-image -- ./build_image --board=${BOARD}
- runuser -u cros-builder -c bash ./build-chromeos.sh
artifacts:
when: always
paths:
......
export BOARD=amd64-generic
export PATH=$PATH:/chromeos/chromite/bin/
pushd /chromeos
cros_sdk --nouse-image -- ./build_packages --board=${BOARD}
cros_sdk --nouse-image -- ./build_image --board=${BOARD}
popd
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