Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
ci: bound the apt steps so a slow mirror cannot hang a run
Yudhi Armyndharis045c351ac2a1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4fdb81fc7..4f43fd4f7 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -299,10 +299,17 @@ jobs:- name: Install sqlite3# smoke-test-backup-restore.sh skips its sqlite3 .backup roundtrip case (with a notice) when# the host lacks the CLI; installing it here exercises that path on every run instead.- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends sqlite3+ # Bounded, and skipped when the runner image already ships the CLI. An unbounded apt-get+ # against a slow mirror held this job open for over an hour with every other job already+ # green, so the run never reported and main went without a signal.+ timeout-minutes: 5+ run: command -v sqlite3 >/dev/null || { sudo apt-get update && sudo apt-get install -y --no-install-recommends sqlite3; }- name: Install shellcheck- run: sudo apt-get install -y --no-install-recommends shellcheck+ # Runs its own update rather than inheriting one from the step above, which no longer+ # always runs.+ timeout-minutes: 5+ run: command -v shellcheck >/dev/null || { sudo apt-get update && sudo apt-get install -y --no-install-recommends shellcheck; }- name: shellcheck every shell script# Widened from the original three (#926) now that the rest are clean too. The narrow scope wasdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 320c55389..45081b4a4 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -278,10 +278,17 @@ jobs:- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7- name: Install sqlite3- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends sqlite3+ # Bounded, and skipped when the runner image already ships the CLI. An unbounded apt-get+ # against a slow mirror held this job open for over an hour with every other job already+ # green, so the run never reported and main went without a signal.+ timeout-minutes: 5+ run: command -v sqlite3 >/dev/null || { sudo apt-get update && sudo apt-get install -y --no-install-recommends sqlite3; }- name: Install shellcheck- run: sudo apt-get install -y --no-install-recommends shellcheck+ # Runs its own update rather than inheriting one from the step above, which no longer+ # always runs.+ timeout-minutes: 5+ run: command -v shellcheck >/dev/null || { sudo apt-get update && sudo apt-get install -y --no-install-recommends shellcheck; }- name: shellcheck every shell scriptrun: shellcheck docker-entrypoint.sh scripts/*.sh