From bcebc831310de80525510c81d8565c420aa1a90e Mon Sep 17 00:00:00 2001 From: Stanislav Zhuk Date: Thu, 8 Oct 2026 10:31:40 +0300 Subject: [PATCH] chore: apply add-on update checker fixes, test on ubuntu-26.04-arm ## Short Summary (TL;DR) Brings the repo in line with the current `ddev-addon-template`, so `ddev utility addon-update-checker` passes, and runs tests on arm64 with `ubuntu-26.04-arm`. ## The Issue `ddev utility addon-update-checker` reported 4 outdated items: workflow, PR template. ## How This PR Solves The Issue - `.github/workflows/tests.yml`: synced with upstream (renamed debug input), with an `os` matrix of `ubuntu-latest` and `ubuntu-26.04-arm`. `python:2.7-slim` and the `build-essential` package publish arm64 builds, and `web-build/Dockerfile.python2` already handles arm64. - `.github/PULL_REQUEST_TEMPLATE.md`: add the TL;DR section, use `ddev add-on get ddev/ddev-python2 --pr` ## Manual Testing Instructions ```bash ddev add-on get ddev/ddev-python2 --pr REPLACE_ME_WITH_THIS_PR_NUMBER ddev restart ``` ## Automated Testing Overview No test logic changes. `ddev utility addon-update-checker` passes. `git archive` contains only the add-on files, `LICENSE` and `README.md`. ## Release/Deployment Notes None. Co-Authored-By: Claude Opus 5.5 --- .github/PULL_REQUEST_TEMPLATE.md | 6 +++++- .github/workflows/tests.yml | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index be4fe2f..b58dd35 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,7 @@ +## Short Summary (TL;DR) + + + ## The Issue - Fixes #REPLACE_ME_WITH_RELATED_ISSUE_NUMBER @@ -13,7 +17,7 @@ ```bash -ddev add-on get https://github.com/ddev/ddev-python2/tarball/refs/pull/REPLACE_ME_WITH_THIS_PR_NUMBER/head +ddev add-on get ddev/ddev-python2 --pr REPLACE_ME_WITH_THIS_PR_NUMBER ddev restart ddev exec python --version ddev exec pip --version diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ffdc8a4..500554f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ on: inputs: debug_enabled: type: boolean - description: Debug with tmate + description: Enable remote debugging session required: false default: false @@ -30,10 +30,11 @@ jobs: tests: strategy: matrix: + os: [ubuntu-latest, ubuntu-26.04-arm] ddev_version: [stable, HEAD] fail-fast: false - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} steps: - uses: ddev/github-action-add-on-test@v2