Skip to content

Add standalone workflow to validate apt repo install and latest Debian package version#3509

Merged
plengauer merged 9 commits into
mainfrom
copilot/add-test-repo-hosting-deb-package
May 26, 2026
Merged

Add standalone workflow to validate apt repo install and latest Debian package version#3509
plengauer merged 9 commits into
mainfrom
copilot/add-test-repo-hosting-deb-package

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 25, 2026

This adds a dedicated CI workflow to continuously verify Debian repository hosting. It checks that installing via the README apt-source instructions succeeds and that the installed opentelemetry-shell version matches the latest GitHub release.

  • Workflow coverage

    • Added a standalone workflow that runs:
      • nightly (cron), and
      • on workflow_run completion of Update Package Repository.
  • README-path install validation

    • Uses the same apt source entry documented in README.md:
      • deb [arch=all] https://plengauer.github.io/Thoth stable main
    • Runs apt-get update and installs opentelemetry-shell from that repo path.
  • Latest-release version assertion

    • Fetches the latest release tag from GitHub API.
    • Normalizes tag/version formats (vX.Y.Z vs X.Y.Z).
    • Compares normalized latest release version to installed package version and fails on mismatch.
on:
  schedule:
    - cron: '0 0 * * *'
  workflow_run:
    workflows: ['Update Package Repository']
    types: [completed]

Copilot AI linked an issue May 25, 2026 that may be closed by this pull request
@plengauer
Copy link
Copy Markdown
Owner

Hello, thanks for contributing for the first time!

Copilot AI changed the title [WIP] Add test for repo hosting for deb package Add standalone workflow to validate apt repo install and latest Debian package version May 25, 2026
Copilot AI requested a review from plengauer May 25, 2026 14:08
@plengauer
Copy link
Copy Markdown
Owner

@copilot i dont see any changes, implement it

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 25, 2026

@copilot i dont see any changes, implement it

Implemented in commit 8e8601e.

Added .github/workflows/test_debian_repository_hosting.yml as a standalone workflow that runs nightly and on completion of Update Package Repository, adds the README apt source, installs opentelemetry-shell, and verifies installed version equals the latest GitHub release version.

@plengauer plengauer marked this pull request as ready for review May 25, 2026 15:16
@plengauer plengauer requested a review from moflwi as a code owner May 25, 2026 15:16
Copilot AI review requested due to automatic review settings May 25, 2026 15:16
@plengauer plengauer enabled auto-merge (squash) May 25, 2026 15:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a dedicated GitHub Actions workflow to continuously validate the public Debian (apt) repository install path and confirm the installed opentelemetry-shell version matches the latest GitHub Release tag.

Changes:

  • Introduces test_debian_repository.yml to install via the documented GitHub Pages apt repo and assert installed version equals the latest release tag.
  • Hooks the workflow to run nightly and after the “Update Package Repository” workflow completes.
  • Updates observability deployment exclusions to avoid job-level instrumentation on the new workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/test_debian_repository.yml New CI workflow to verify apt repo install works and version matches latest GitHub release.
.github/workflows/observability_deploy.yml Excludes the new workflow name from job-level instrumentation deployment.

Comment thread .github/workflows/test_debian_repository.yml Outdated
Comment thread .github/workflows/test_debian_repository.yml Outdated
Comment thread .github/workflows/test_debian_repository.yml Outdated
plengauer and others added 5 commits May 25, 2026 21:11
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@plengauer plengauer merged commit 5177337 into main May 26, 2026
1137 of 1139 checks passed
@plengauer plengauer deleted the copilot/add-test-repo-hosting-deb-package branch May 26, 2026 17:38
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.

add test for repo hosting for deb package

4 participants