Skip to content

Conversation

@neo-jesse
Copy link
Contributor

@neo-jesse neo-jesse commented Nov 5, 2025

Fix Docker build and GitHub Actions workflow warnings

Changes:

  1. Fix Debian Buster EOL Docker build failure
    Problem: Docker build failing with 404 errors because Debian 10 (Buster) went EOL on June 30, 2024
    Solution: Configure Dockerfile to use archive repositories (archive.debian.org) instead of standard repositories
    Files: Dockerfile
  2. Fix octokit/request-action deprecation warning
    Problem: Warning about unexpected inputs (owner, repo, workflow-id, ref, inputs) in octokit/request-action@v2.x
    Solution: Updated workflow to use the correct API format with route values and data parameter
    Files: .github/workflows/build-branches.yml

Technical Details
This issue became apparent only after the tagging fix was pushed out.
Added archive repository configuration for Debian Buster in Dockerfile
Updated build-branches.yml to use the new octokit/request-action API format
Maintained compatibility with existing workflow functionality

Result
Docker builds now complete successfully
GitHub Actions workflow runs without deprecation warnings
All functionality preserved

Copy link
Contributor

@SyntaxColoring SyntaxColoring left a comment

Choose a reason for hiding this comment

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

I know this is a draft, just some drive-by comments!

Comment on lines 2 to 6
# We're stuck on Debian 10 (which will go EOL around 2022-08) because
# Debian 11 upgrades GNU Make to v4.3, which breaks Buildroot's build system.
#
# Upstream Buildroot has fixes for this (try grepping their CHANGES file for
# "4.3"), but those commits aren't currently in this fork.
Copy link
Contributor

Choose a reason for hiding this comment

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

No objection to the archive.debian.org fix for now, but it's been a while since this comment was written. We might be on a new enough version of Buildroot that we can upgrade past Debian 10 now.

ref: ${{github.ref}}
inputs: |
route: POST /repos/opentrons/buildroot/actions/workflows/build.yml/dispatches
mediaType: '{"previews": ["wyandotte"]}'
Copy link
Contributor

Choose a reason for hiding this comment

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

What's this wyandotte thing?

@sfoster1
Copy link
Member

sfoster1 commented Nov 24, 2025

this should be fixed in #269

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.

4 participants