Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+ceph.com/cephadm #8090

Merged
merged 4 commits into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions projects/ceph.com/cephadm/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
distributable:
url: git+https://github.com/ceph/ceph.git
ref: v{{version}}

display-name: cephadm

versions:
github: ceph/ceph/tags

dependencies:
pkgx.sh: ^1

build:
dependencies:
python.org: ^3
gnu.org/coreutils: '*'
env:
linux:
TMPDIR: $(mktemp -d -p /tmp)
BUILD_FLAGS:
- --set-version-var CEPH_GIT_VER="$(git rev-parse HEAD)"
- --set-version-var CEPH_GIT_NICE_VER="$(git describe)"
- --set-version-var CEPH_RELEASE="$(sed -n '1p' ./src/ceph_release)"
- --set-version-var CEPH_RELEASE_NAME="$(sed -n '2p' ./src/ceph_release)"
- --set-version-var CEPH_RELEASE_TYPE="$(sed -n '3p' ./src/ceph_release)"
script:
- bkpyvenv stage {{prefix}} {{version}}
- ./src/cephadm/build.sh ${BUILD_FLAGS} {{prefix}}/venv/bin/cephadm
- bkpyvenv seal {{prefix}} cephadm

provides:
- bin/cephadm

test: test "$(cephadm version|cut -d' ' -f3)" = {{version.tag}}
Loading