Skip to content

Commit 838b442

Browse files
ci: add retries and remove google-chrome repo to fix apt-get update Hash Sum mismatches
1 parent 2cea9a2 commit 838b442

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎.github/workflows/breaking_changes_detector.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ jobs:
8484
- name: Install Protobuf Compiler
8585
if: steps.changed_crates.outputs.packages != ''
8686
run: |
87-
sudo apt-get update
87+
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
88+
sudo apt-get update -o Acquire::Retries=5
8889
sudo apt-get install -y protobuf-compiler
8990
9091
- name: Install cargo-semver-checks

‎.github/workflows/extended.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ jobs:
7979
rustup toolchain install
8080
- name: Install Protobuf Compiler
8181
run: |
82-
sudo apt-get update
82+
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
83+
sudo apt-get update -o Acquire::Retries=5
8384
sudo apt-get install -y protobuf-compiler
8485
# For debugging, test binaries can be large.
8586
- name: Show available disk space
@@ -144,7 +145,7 @@ jobs:
144145
# Don't use setup-builder to avoid configuring RUST_BACKTRACE which is expensive
145146
- name: Install protobuf compiler
146147
run: |
147-
apt-get update && apt-get install -y protobuf-compiler
148+
rm -f /etc/apt/sources.list.d/google-chrome.list && apt-get update -o Acquire::Retries=5 && apt-get install -y protobuf-compiler
148149
- name: Run sqllogictest
149150
run: |
150151
cargo test --features backtrace,parquet_encryption --profile ci-optimized --test sqllogictests -- --include-sqlite

‎.github/workflows/rust.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,8 @@ jobs:
463463
rustup target add wasm32-unknown-unknown
464464
- name: Install dependencies
465465
run: |
466-
sudo apt-get update -qq
466+
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
467+
sudo apt-get update -qq -o Acquire::Retries=5
467468
sudo apt-get install -y -qq clang
468469
- name: Setup wasm-pack
469470
uses: taiki-e/install-action@7f4eb899022d8fe70b20c4f3de697aa85c309026 # v2.85.11

0 commit comments

Comments
 (0)