Skip to content

Updated website cron testing image#6274

Merged
dwnoble merged 3 commits into
datacommonsorg:masterfrom
dwnoble:update-website-cron-testing-image
May 8, 2026
Merged

Updated website cron testing image#6274
dwnoble merged 3 commits into
datacommonsorg:masterfrom
dwnoble:update-website-cron-testing-image

Conversation

@dwnoble
Copy link
Copy Markdown
Contributor

@dwnoble dwnoble commented May 8, 2026

This pull request updates the webdriver-chrome Docker image and its usage throughout the CI/CD pipeline to use a newer version, along with a minor base image change and a security update in the website_cron_testing image.

Docker image version updates:

  • Updated the webdriver-chrome image version to 2026-05-09 in both the cloudbuild.yaml and cloudbuild.cdc_autopush.yaml files to ensure consistency across builds. NOTE: This build is not yet published. I'll publish it once this PR is approved

Base image and security improvements:

  • Changed the Python base image in webdriver-chrome/Dockerfile from python:3.11.6 to the more general python:3.11 tag, which may pull the latest patch version.
  • Added a step in website_cron_testing/Dockerfile to run apt-get update && apt-get -y upgrade for improved security and up-to-date system packages.

@dwnoble dwnoble requested a review from clincoln8 May 8, 2026 17:32
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request standardizes the webdriver-chrome image version across the repository's CI/CD pipeline and improves the security and maintainability of the containerized testing environments. By shifting to a more flexible base image tag and enforcing system package updates, the changes ensure that the testing infrastructure remains current and secure.

Highlights

  • Docker Image Version Update: Updated the webdriver-chrome image version to 2026-05-09 across CI/CD configurations and dependent Dockerfiles.
  • Base Image Optimization: Updated the Python base image for webdriver-chrome from a specific patch version to the general 3.11 tag to ensure latest patch availability.
  • Security Hardening: Added a system package update step in the website_cron_testing Dockerfile to improve security posture.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the webdriver-chrome image version to 2026-05-09 across CI configurations and Dockerfiles. Feedback was provided regarding the use of a floating Python tag in the webdriver-chrome Dockerfile, which can lead to non-deterministic builds, and the addition of a redundant apt-get upgrade step in the website_cron_testing Dockerfile that should be handled by the base image.

Comment thread build/webdriver-chrome/Dockerfile Outdated
# limitations under the License.

FROM python:3.11.6
FROM python:3.11
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.

medium

Using a floating tag like python:3.11 instead of a specific patch version (e.g., 3.11.6) makes the build non-deterministic. While this allows for automatic inclusion of security patches, it can also introduce unexpected regressions. For better reproducibility, consider pinning to a specific patch version or using a SHA256 digest.

Comment thread build/website_cron_testing/Dockerfile Outdated
@dwnoble dwnoble merged commit aa4cc07 into datacommonsorg:master May 8, 2026
12 checks passed
@dwnoble
Copy link
Copy Markdown
Contributor Author

dwnoble commented May 8, 2026

Successfully built gcr.io/datcom-ci/webdriver-chrome:2026-05-09 with updated dependencies:

Setting up libfreetype6:amd64 (2.12.1+dfsg-5+deb12u4) ...
Setting up openssl (3.0.19-1~deb12u2) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants