Skip to content

ci: remove the Google Chrome apt source in setup - #25990

Merged
emilburzo merged 2 commits into
mainfrom
remove-google-apt-list
Sep 10, 2026
Merged

emilburzo merged 2 commits into
mainfrom
remove-google-apt-list

Conversation

@emilburzo

Copy link
Copy Markdown
Member

The runner image installs Chrome from a direct .deb, then deletes the apt source that the package creates. It only removes the legacy /etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write google-chrome.sources in deb822 format instead, pointing at https://dl.google.com/linux/chrome-stable/deb/, so the source survives on ubuntu-latest.

Every apt-get update then queries that repository. On 2026-09-09 Google regenerated its Release file at 17:16:59 UTC and the CDN served a stale Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum mismatch" and exit code 100, which broke every job that uses this action with system or python dependencies, on every branch.

The runner image installs Chrome from a direct .deb, then deletes the apt
source that the package creates. It only removes the legacy
/etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write
google-chrome.sources in deb822 format instead, pointing at
https://dl.google.com/linux/chrome-stable/deb/, so the source survives on
ubuntu-latest.

Every apt-get update then queries that repository. On 2026-09-09 Google
regenerated its Release file at 17:16:59 UTC and the CDN served a stale
Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum
mismatch" and exit code 100, which broke every job that uses this action
with system or python dependencies, on every branch.
@emilburzo emilburzo self-assigned this Sep 9, 2026
Copilot AI lite review requested due to automatic review settings September 9, 2026 18:47
@emilburzo
emilburzo requested a review from a team as a code owner September 9, 2026 18:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is narrowly scoped, YAML syntax/indentation is correct, and it directly prevents the documented CI failure mode without introducing risky behavior.

Pull request overview

This PR hardens the repo’s CI setup composite action by removing the Google Chrome APT source files that Chrome’s .deb package creates, preventing apt-get update from querying Google’s repo (and failing) on ubuntu-latest.

Changes:

  • Delete /etc/apt/sources.list.d/google-chrome.* before running any subsequent apt-based dependency installation.
  • Keep the existing man-db purge as part of the same “Cleanup apt” step.
File summaries
File Description
.github/actions/setup/action.yml Removes the lingering Chrome APT source files before later steps run apt-get update, avoiding CI failures from intermittent Google repo metadata mismatches.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@netlify

netlify Bot commented Sep 9, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f6b46e1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aa1a9b6be9ede00086e51e0
😎 Deploy Preview https://deploy-preview-25990--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@emilburzo emilburzo added backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Sep 9, 2026
@codecov

codecov Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@359912f). Learn more about missing BASE report.
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #25990   +/-   ##
=======================================
  Coverage        ?   91.82%           
=======================================
  Files           ?     1169           
  Lines           ?    75419           
  Branches        ?     4054           
=======================================
  Hits            ?    69253           
  Misses          ?     6124           
  Partials        ?       42           
Flag Coverage Δ
conformance 33.77% <ø> (?)
e2e 38.46% <ø> (?)
integration 30.03% <ø> (?)
rust 42.92% <ø> (?)
unit 93.41% <ø> (?)
unit-migrate 93.44% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Comment thread .github/actions/setup/action.yml Resolved

@dominic-r dominic-r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀🚀

(what jens said too)

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-2ecc95612d69c5ef7964d450d91990dff13228c1
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-2ecc95612d69c5ef7964d450d91990dff13228c1

Afterwards, run the upgrade commands from the latest release notes.

@emilburzo
emilburzo merged commit e5abbfc into main Sep 10, 2026
235 of 237 checks passed
@emilburzo
emilburzo deleted the remove-google-apt-list branch September 10, 2026 05:30
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.2 created: #26012

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.5 created: #26011

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #26013

emilburzo added a commit that referenced this pull request Sep 10, 2026
…to version-2026.8) (#26013)

ci: remove the Google Chrome apt source in setup (#25990)

* ci: remove the Google Chrome apt source in setup

The runner image installs Chrome from a direct .deb, then deletes the apt
source that the package creates. It only removes the legacy
/etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write
google-chrome.sources in deb822 format instead, pointing at
https://dl.google.com/linux/chrome-stable/deb/, so the source survives on
ubuntu-latest.

Every apt-get update then queries that repository. On 2026-09-09 Google
regenerated its Release file at 17:16:59 UTC and the CDN served a stale
Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum
mismatch" and exit code 100, which broke every job that uses this action
with system or python dependencies, on every branch.

Co-authored-by: Emil Burzo <[email protected]>
emilburzo added a commit that referenced this pull request Sep 10, 2026
…to version-2026.5) (#26011)

ci: remove the Google Chrome apt source in setup (#25990)

* ci: remove the Google Chrome apt source in setup

The runner image installs Chrome from a direct .deb, then deletes the apt
source that the package creates. It only removes the legacy
/etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write
google-chrome.sources in deb822 format instead, pointing at
https://dl.google.com/linux/chrome-stable/deb/, so the source survives on
ubuntu-latest.

Every apt-get update then queries that repository. On 2026-09-09 Google
regenerated its Release file at 17:16:59 UTC and the CDN served a stale
Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum
mismatch" and exit code 100, which broke every job that uses this action
with system or python dependencies, on every branch.

Co-authored-by: Emil Burzo <[email protected]>
BeryJu pushed a commit that referenced this pull request Sep 10, 2026
…to version-2026.2) (#26012)

ci: remove the Google Chrome apt source in setup (#25990)

* ci: remove the Google Chrome apt source in setup

The runner image installs Chrome from a direct .deb, then deletes the apt
source that the package creates. It only removes the legacy
/etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write
google-chrome.sources in deb822 format instead, pointing at
https://dl.google.com/linux/chrome-stable/deb/, so the source survives on
ubuntu-latest.

Every apt-get update then queries that repository. On 2026-09-09 Google
regenerated its Release file at 17:16:59 UTC and the CDN served a stale
Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum
mismatch" and exit code 100, which broke every job that uses this action
with system or python dependencies, on every branch.

Co-authored-by: Emil Burzo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.2 Add this label to PRs to backport changes to version-2026.2 backport/version-2026.5 Add this label to PRs to backport changes to version-2026.5 backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants