diff --git a/.github/actions/depot_tools/action.yaml b/.github/actions/depot_tools/action.yaml index 97598b3d746bb..e88148f724e67 100644 --- a/.github/actions/depot_tools/action.yaml +++ b/.github/actions/depot_tools/action.yaml @@ -19,7 +19,7 @@ runs: run: echo "$GITHUB_WORKSPACE/depot_tools" >> $GITHUB_PATH shell: bash - name: Generate gclient file - run: gclient config --name=src --custom-var=download_remoteexec_cfg=True --custom-var='rbe_instance="projects/cobalt-actions-prod/instances/default_instance"' https://github.com/${{ github.repository }} + run: gclient config --name=src --custom-var=download_remoteexec_cfg=True --custom-var='rbe_instance="projects/cobalt-actions-prod/instances/default_instance"' --cache-dir=/gclient-sync-cache/git https://github.com/${{ github.repository }} shell: bash - name: Set target OS for Android if: ${{ contains(matrix.platform, 'android') }} @@ -29,7 +29,7 @@ runs: shell: bash - name: gclient sync if: inputs.run_sync == 'true' - run: gclient sync -v --shallow --no-history -r ${{ github.sha }} + run: gclient sync -v --shallow --no-history --lock_timeout=700 --jobs=1 -r ${{ github.sha }} && ls -l /gclient-sync-cache/git shell: bash - name: Disable Chromium client side build telemetry run: build_telemetry opt-out diff --git a/.github/workflows/linearize_main.yaml b/.github/workflows/linearize_main.yaml index edfaa4152ae74..83ba4477129f9 100644 --- a/.github/workflows/linearize_main.yaml +++ b/.github/workflows/linearize_main.yaml @@ -10,7 +10,7 @@ permissions: read-all jobs: trigger_linearize: - runs-on: [self-hosted, chrobalt-linux-runner] + runs-on: [self-hosted, chrobalt-linux-runner-with-cache] permissions: contents: write steps: