Skip to content

install: fetch Arch package from packages.smallstep.com (EFF-173)#4

Merged
tashian merged 1 commit intomainfrom
carl/eff-173-arch-agent-builds-are-not-pushed-to-gcs
May 6, 2026
Merged

install: fetch Arch package from packages.smallstep.com (EFF-173)#4
tashian merged 1 commit intomainfrom
carl/eff-173-arch-agent-builds-are-not-pushed-to-gcs

Conversation

@tashian
Copy link
Copy Markdown
Contributor

@tashian tashian commented May 5, 2026

Summary

  • Replace the GitHub-API version-scrape + github.com/.../releases/download/... download with a single fetch of https://packages.smallstep.com/stable/linux/step-agent_${ARCH}_latest.pkg.tar.zst.
  • Brings the Arch install branch in line with how the deb/rpm/dnf branches already resolve packages from packages.smallstep.com.
  • Drops the dependency on unauthenticated GitHub API calls (rate-limited and prone to 403 from CI/shared egress IPs).

The _latest pointer is now populated by the EFF-170 promote-latest workflow (smallstep/agent#1003), and both amd64 and arm64 objects are live in GCS.

Closes EFF-173.

Test plan

  • On an Arch x86_64 host: sudo bash smallstep-agent-install.sh --team <slug> — installs and registers
  • On an Arch arm64 host: sudo bash smallstep-agent-install.sh --team <slug> — installs and registers
  • curl -fI https://packages.smallstep.com/stable/linux/step-agent_amd64_latest.pkg.tar.zst returns 200 (after redirect)
  • curl -fI https://packages.smallstep.com/stable/linux/step-agent_arm64_latest.pkg.tar.zst returns 200 (after redirect)

🤖 Generated with Claude Code

Replace the GitHub-API version-scrape + GitHub releases download URL
with a single fetch of the _latest pointer served by GCS via
packages.smallstep.com, matching how the deb/rpm/dnf installs already
work.

EFF-173

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tashian tashian requested a review from dopey May 6, 2026 14:25
@tashian tashian enabled auto-merge May 6, 2026 14:25
@tashian tashian merged commit aca4812 into main May 6, 2026
1 check passed
@tashian tashian deleted the carl/eff-173-arch-agent-builds-are-not-pushed-to-gcs branch May 6, 2026 14:28
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