Skip to content

Commit 72202c0

Browse files
ci: completely ignore apt-get update transient failures
1 parent 340c693 commit 72202c0

6 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎.github/actions/setup-builder/action.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
run: |
3131
RETRY=("ci/scripts/retry" timeout 120)
3232
rm -f /etc/apt/sources.list.d/google-chrome.list
33-
"${RETRY[@]}" apt-get update
33+
"${RETRY[@]}" apt-get update || true
3434
"${RETRY[@]}" apt-get install -y protobuf-compiler
3535
- name: Setup Rust toolchain
3636
shell: bash
@@ -61,3 +61,5 @@ runs:
6161
rm -rf /host/usr/local/lib/android || true
6262
echo "Disk space after cleanup:"
6363
df -h
64+
65+

‎.github/workflows/breaking_changes_detector.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
if: steps.changed_crates.outputs.packages != ''
8686
run: |
8787
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
88-
sudo apt-get update -o Acquire::Retries=5
88+
sudo apt-get update || true
8989
sudo apt-get install -y protobuf-compiler
9090
9191
- name: Install cargo-semver-checks

‎.github/workflows/docs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: |
5252
set -x
5353
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
54-
sudo apt-get update -o Acquire::Retries=5
54+
sudo apt-get update || true
5555
sudo apt-get install -y graphviz
5656
- name: Install cargo-depgraph
5757
uses: taiki-e/install-action@7f4eb899022d8fe70b20c4f3de697aa85c309026 # v2.85.11

‎.github/workflows/docs_pr.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
run: |
5858
set -x
5959
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
60-
sudo apt-get update -o Acquire::Retries=5
60+
sudo apt-get update || true
6161
sudo apt-get install -y graphviz
6262
- name: Install cargo-depgraph
6363
uses: taiki-e/install-action@7f4eb899022d8fe70b20c4f3de697aa85c309026 # v2.85.11

‎.github/workflows/extended.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: Install Protobuf Compiler
8181
run: |
8282
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
83-
sudo apt-get update -o Acquire::Retries=5
83+
sudo apt-get update || true
8484
sudo apt-get install -y protobuf-compiler
8585
# For debugging, test binaries can be large.
8686
- name: Show available disk space
@@ -145,7 +145,8 @@ jobs:
145145
# Don't use setup-builder to avoid configuring RUST_BACKTRACE which is expensive
146146
- name: Install protobuf compiler
147147
run: |
148-
rm -f /etc/apt/sources.list.d/google-chrome.list && apt-get update -o Acquire::Retries=5 && apt-get install -y protobuf-compiler
148+
apt-get update || true
149+
apt-get install -y protobuf-compiler
149150
- name: Run sqllogictest
150151
run: |
151152
cargo test --features backtrace,parquet_encryption --profile ci-optimized --test sqllogictests -- --include-sqlite

‎.github/workflows/rust.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ jobs:
464464
- name: Install dependencies
465465
run: |
466466
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
467-
sudo apt-get update -qq -o Acquire::Retries=5
467+
sudo apt-get update -qq || true
468468
sudo apt-get install -y -qq clang
469469
- name: Setup wasm-pack
470470
uses: taiki-e/install-action@7f4eb899022d8fe70b20c4f3de697aa85c309026 # v2.85.11

0 commit comments

Comments
 (0)