Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ci): drop apt installs of tools preinstalled on runner images (#84722)

Georges-Antoine Assica6d5a02fbfc
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.yml
index 82196e1de322..64f118e550d4 100644
--- a/.depot/workflows/ci-backend.yml
+++ b/.depot/workflows/ci-backend.yml
@@ -1794,7 +1794,6 @@ jobs:
# This is not cached, because the current HEAD version of hogql-parser must be built if it has
# changed (requirements.txt has the already-published version)
run: |
- sudo apt-get install unzip cmake curl uuid pkg-config
# Short budget: the `||` mirror is the real fallback for a host that is down.
fetch=(curl --fail --location --retry 3 --retry-all-errors --retry-max-time 30 --connect-timeout 10)
"${fetch[@]}" https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip --output antlr4-source.zip \
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index cec4f74ddf24..0fdca0c8fe3f 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -2806,7 +2806,6 @@ jobs:
# This is not cached, because the current HEAD version of hogql-parser must be built if it has
# changed (requirements.txt has the already-published version)
run: |
- sudo apt-get install unzip cmake curl uuid pkg-config
# Short budget: the `||` mirror is the real fallback for a host that is down.
fetch=(curl --fail --location --retry 3 --retry-all-errors --retry-max-time 30 --connect-timeout 10)
"${fetch[@]}" https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip --output antlr4-source.zip \
diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.yml
index 0f657cedd482..06702f2e9d4d 100644
--- a/.github/workflows/ci-e2e-playwright.yml
+++ b/.github/workflows/ci-e2e-playwright.yml
@@ -643,7 +643,6 @@ jobs:
# This is not cached, because the current HEAD version of hogql-parser must be built if it has
# changed (requirements.txt has the already-published version)
run: |
- sudo apt-get install unzip cmake curl uuid pkg-config
# Short budget: the `||` mirror is the real fallback for a host that is down.
fetch=(curl --fail --location --retry 3 --retry-all-errors --retry-max-time 30 --connect-timeout 10)
"${fetch[@]}" https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip --output antlr4-source.zip \
diff --git a/.github/workflows/ci-hog.yml b/.github/workflows/ci-hog.yml
index 74af503264c6..2ec32eff2182 100644
--- a/.github/workflows/ci-hog.yml
+++ b/.github/workflows/ci-hog.yml
@@ -117,7 +117,6 @@ jobs:
- name: Check if ANTLR definitions are up to date
run: |
cd ..
- sudo apt-get update && sudo apt-get install default-jre
mkdir antlr
cd antlr
# Short budget: the `||` mirror is the real fallback for a host that is down.