feat: add OpenBao plugin RPMs for consul and nomad secrets engines
Build / build-9 (pull_request) Successful in 42s
Build / build-8 (pull_request) Successful in 2m2s

- Add openbao-plugin-secret-consul v0.1.0 RPM configuration
- Add openbao-plugin-secret-nomad v0.1.4 RPM configuration
- Add openbao-plugins v1.0.0 meta package that installs both plugins
- Plugins install to /opt/openbao-plugins directory
- Include pre-install scripts to create plugin directory
- Support for EL8 and EL9 distributions
This commit is contained in:
2025-10-17 14:59:40 +11:00
parent 9d68b886ec
commit 086d9365d4
17 changed files with 225 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
1
+18
View File
@@ -0,0 +1,18 @@
FROM git.unkin.net/unkin/almalinux9-rpmbuilder:latest
# Create output directory for RPMs
RUN mkdir -p /app/dist
# Set working directory
WORKDIR /app
ARG PACKAGE_RELEASE
ENV PACKAGE_RELEASE=${PACKAGE_RELEASE}
ARG PACKAGE_VERSION
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
# Copy resources from the context into the container
COPY resources /app/resources
# Default command to build RPMs
CMD /app/resources/build.sh
+9
View File
@@ -0,0 +1,9 @@
name: openbao-plugins
release: 1
version: 1.0.0
github: openbao/openbao-plugins
build:
- distro: el/8
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
- distro: el/9
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/bash
# This is a meta package - no binaries to download
# Build the RPM
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
+30
View File
@@ -0,0 +1,30 @@
# nfpm.yaml
name: openbao-plugins
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "Meta package that installs all OpenBao plugins"
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0
disable_globbing: false
replaces:
- openbao-plugins
provides:
- openbao-plugins
# Dependencies - this meta package pulls in all plugin packages
depends:
- openbao-plugin-secret-consul
- openbao-plugin-secret-nomad
# No actual files in this meta package
contents: []