Skip to content

ci: publish release packages to FlagOS Nexus via the shared build-infra workflow - #49

Closed
shiptux wants to merge 1 commit into
flagos-ai:mainfrom
shiptux:ci/upload-nexus
Closed

shiptux wants to merge 1 commit into
flagos-ai:mainfrom
shiptux:ci/upload-nexus

Conversation

@shiptux

@shiptux shiptux commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Why

build-deb.yml / build-rpm.yml (#12) produce packages on every v* tag, but nothing publishes them: v0.2.0 built green on 06-24 and the artifacts expired after 7 days. FlagOS Nexus currently holds no FlagSparse package.

What

Adds .github/workflows/upload-nexus.yml, a thin caller of the shared flagos-ai/build-infra/.github/workflows/upload-nexus.yml — identical to the one libtriton_jit already uses. The shared workflow:

  • skips pre-release tags (rc/a/b/dev) on push, always publishes on workflow_dispatch
  • waits for build-deb.yml (required) and build-rpm.yml (optional) of the same commit, downloads their artifacts
  • uploads deb → flagos-apt-hosted, rpm → flagos-yum-hosted using the org-level NEXUS_TOKEN
  • fails the job if packages were found but none uploaded

No change to the build workflows. After merge, the existing v0.2.0 can be published with a manual dispatch (rebuild + upload) without re-tagging.

Part of FEP-0019 Wave 1 (flagos-ai/community#59).

…ra workflow

Packaging landed in flagos-ai#12 but nothing publishes the built deb/rpm; this adds
the same thin caller libtriton_jit uses. The shared workflow guards
pre-release tags, waits for build-deb/build-rpm of the tagged commit, and
fails if no package could be uploaded.
@shiptux

shiptux commented Sep 20, 2026

Copy link
Copy Markdown
Contributor Author

2.2 pairing: #62 cherry-picks this onto 0.3.0-rc2, and is what actually puts the change in the 2.2 release.

Both are open on purpose, per the release process (fix on the default branch, then cherry-pick to the release branch). With 2.2 close, #62 is the time-sensitive one — this PR carries the change forward for the line after 2.2 and does not block the release.

@shiptux

shiptux commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

Closing: packages are now built and published centrally from flagos-ai/build-infra, so this repository no longer needs its own publishing step. Thanks for the reviews.

@shiptux shiptux closed this Sep 24, 2026
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.

1 participant