devops(chromium): account for terminated / interrupted jobs
This commit is contained in:
parent
c9fae65400
commit
01bddcd171
|
|
@ -101,8 +101,9 @@ compile_chromium() {
|
||||||
# we don't fork Chromium.
|
# we don't fork Chromium.
|
||||||
#
|
#
|
||||||
# This is based on https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md#get-the-code
|
# This is based on https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md#get-the-code
|
||||||
if [[ ! -d "${CR_CHECKOUT_PATH}" ]]; then
|
if [[ ! -d "${CR_CHECKOUT_PATH}/src" ]]; then
|
||||||
mkdir "${CR_CHECKOUT_PATH}"
|
rm -rf "${CR_CHECKOUT_PATH}"
|
||||||
|
mkdir -p "${CR_CHECKOUT_PATH}"
|
||||||
cd "${CR_CHECKOUT_PATH}"
|
cd "${CR_CHECKOUT_PATH}"
|
||||||
fetch --nohooks chromium
|
fetch --nohooks chromium
|
||||||
cd src
|
cd src
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue