add rpm generation code
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2026-01-13 20:09:19 +11:00
parent a81613a8c2
commit 3ceba1a117
22 changed files with 388 additions and 290 deletions

40
vctp.yml Normal file
View File

@@ -0,0 +1,40 @@
name: "vctp"
arch: "amd64"
platform: "linux"
version: "v26.1.1"
version_schema: semver
description: vCTP monitors VMware VM inventory and event data to build chargeback reports
maintainer: "@coadn"
vendor: "Dell Technologies Managed Services"
homepage: "https://gitlab.dell.com/"
license: "Apache-2.0"
contents:
- src: build/vctp-linux-amd64
dst: /usr/bin/vctp-linux-amd64
- src: src/vctp.yml
dst: /etc/dtms/vctp.yml
type: config|noreplace
file_info:
mode: 0644
owner: vctp
group: dtms
- src: src/vctp.service
dst: /usr/lib/systemd/system/vctp.service
- src: src/vctp.default
dst: /etc/default/vctp
type: config|noreplace
scripts:
preinstall: src/preinstall.sh
postinstall: src/postinstall.sh
preremove: src/preremove.sh
postremove: src/postremove.sh
depends:
- systemd
- tftp-server
- dhcp-server