From 63317627b5f6e18a6eeedb2de11ddb5534ef50e1 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 6 Apr 2021 14:05:44 -0400 Subject: [PATCH] ci: Add goma fallback flag (#28539) * ci: fallback to local compile if goma auth fails * use correct flag --- .circleci/config.yml | 1 + appveyor.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 057aa281616e..a4d2a6a8d00a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -328,6 +328,7 @@ step-setup-goma-for-build: &step-setup-goma-for-build third_party/goma/goma_ctl.py ensure_start echo 'export GN_GOMA_FILE='`node -e "console.log(require('./src/utils/goma.js').gnFilePath)"` >> $BASH_ENV echo 'export LOCAL_GOMA_DIR='`node -e "console.log(require('./src/utils/goma.js').dir)"` >> $BASH_ENV + echo 'export GOMA_FALLBACK_ON_AUTH_FAILURE=true' >> $BASH_ENV cd .. step-restore-brew-cache: &step-restore-brew-cache diff --git a/appveyor.yml b/appveyor.yml index a88c7834b165..26449fd65c29 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,6 +36,7 @@ environment: ELECTRON_ENABLE_STACK_DUMPING: 1 MOCHA_REPORTER: mocha-multi-reporters MOCHA_MULTI_REPORTERS: mocha-appveyor-reporter, tap + GOMA_FALLBACK_ON_AUTH_FAILURE: true notifications: - provider: Webhook url: https://electron-mission-control.herokuapp.com/rest/appveyor-hook