Skip to content

feat: add GitHub CI/CD workflows for build and release#70

Open
santiago-wjq wants to merge 12 commits intozilliztech:mainfrom
santiago-wjq:ci-workflows
Open

feat: add GitHub CI/CD workflows for build and release#70
santiago-wjq wants to merge 12 commits intozilliztech:mainfrom
santiago-wjq:ci-workflows

Conversation

@santiago-wjq
Copy link
Copy Markdown
Collaborator

Summary

  • Add CI workflow triggered on PR to main branch
  • Add Release workflow triggered on GitHub release publish

CI Workflow (ci.yml)

  • Uses spark:4.0.1-scala2.13-java21-python3-ubuntu container
  • Builds milvus-storage native library
  • Runs 114 unit tests
  • Caches Conan, ccache, and sbt dependencies for faster builds

Release Workflow (release.yml)

  • Builds Docker image for release
  • Runs unit tests
  • Creates assembly JAR with native libraries
  • Uploads to GitHub Release page (tar.gz, zip, jar)
  • Publishes to Maven Central via Sonatype

Test plan

  • Local Docker build successful
  • All 114 unit tests pass
  • CI workflow runs on this PR

@sre-ci-robot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: santiago-wjq
To complete the pull request process, please assign liliu-z after the PR has been reviewed.
You can assign the PR to them by writing /assign @liliu-z in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

- CI workflow: runs on PR to main branch
  - Uses spark:4.0.1-scala2.13-java21-python3-ubuntu container
  - Installs Git before checkout to support submodules
  - Builds milvus-storage native library
  - Runs unit tests (114 tests)
  - Caches Conan, ccache, and sbt dependencies

- Release workflow: triggered on GitHub release publish
  - Builds Docker image for release
  - Runs unit tests
  - Creates assembly JAR with native libraries
  - Uploads to GitHub Release page (tar.gz, zip, jar)
  - Publishes to Maven Central via Sonatype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants