Skip to content

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

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

ci: publish release packages to FlagOS Nexus via the shared build-infra workflow#49
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.
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