Compare commits

..

No commits in common. "fdf9a11a4c88741879669febe48a3e6f210d3553" and "9d68b886ec9283851a843b8bb33ee952fab93729" have entirely different histories.

17 changed files with 0 additions and 225 deletions

View File

@ -1,18 +0,0 @@
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

View File

@ -1,9 +0,0 @@
name: openbao-plugin-secret-consul
release: 1
version: 0.1.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

View File

@ -1,16 +0,0 @@
#!/usr/bin/bash
# Download the required files
curl -L -o /app/openbao-plugin-secrets-consul.tar.gz https://github.com/openbao/openbao-plugins/releases/download/secrets-consul-v${PACKAGE_VERSION}/openbao-plugin-secrets-consul_linux_amd64_v1.tar.gz
# Extract the binary
tar -xzf /app/openbao-plugin-secrets-consul.tar.gz -C /app
# Rename the binary to a simpler name
mv /app/openbao-plugin-secrets-consul_linux_amd64_v1 /app/openbao-plugin-secrets-consul
# Make the binary executable
chmod +x /app/openbao-plugin-secrets-consul
# Build the RPM
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm

View File

@ -1,35 +0,0 @@
# nfpm.yaml
name: openbao-plugin-secret-consul
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "OpenBao secrets engine plugin for HashiCorp Consul"
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0
disable_globbing: false
replaces:
- openbao-plugin-secret-consul
provides:
- openbao-plugin-secret-consul
# Files to include in the package
contents:
- src: /app/openbao-plugin-secrets-consul
dst: /opt/openbao-plugins/openbao-plugin-secrets-consul
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal
scripts:
preinstall: /app/resources/scripts/preinstall.sh

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
mkdir -p /opt/openbao-plugins

View File

@ -1,18 +0,0 @@
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

View File

@ -1,9 +0,0 @@
name: openbao-plugin-secret-nomad
release: 1
version: 0.1.4
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

View File

@ -1,16 +0,0 @@
#!/usr/bin/bash
# Download the required files
curl -L -o /app/openbao-plugin-secrets-nomad.tar.gz https://github.com/openbao/openbao-plugins/releases/download/secrets-nomad-v${PACKAGE_VERSION}/openbao-plugin-secrets-nomad_linux_amd64_v1.tar.gz
# Extract the binary
tar -xzf /app/openbao-plugin-secrets-nomad.tar.gz -C /app
# Rename the binary to a simpler name
mv /app/openbao-plugin-secrets-nomad_linux_amd64_v1 /app/openbao-plugin-secrets-nomad
# Make the binary executable
chmod +x /app/openbao-plugin-secrets-nomad
# Build the RPM
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm

View File

@ -1,35 +0,0 @@
# nfpm.yaml
name: openbao-plugin-secret-nomad
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: amd64
platform: linux
section: default
priority: extra
description: "OpenBao secrets engine plugin for HashiCorp Nomad"
maintainer: OpenBao Community
homepage: https://github.com/openbao/openbao-plugins
license: MPL-2.0
disable_globbing: false
replaces:
- openbao-plugin-secret-nomad
provides:
- openbao-plugin-secret-nomad
# Files to include in the package
contents:
- src: /app/openbao-plugin-secrets-nomad
dst: /opt/openbao-plugins/openbao-plugin-secrets-nomad
file_info:
mode: 0755
owner: root
group: root
# Scripts to run during installation/removal
scripts:
preinstall: /app/resources/scripts/preinstall.sh

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
mkdir -p /opt/openbao-plugins

View File

@ -1 +0,0 @@
1

View File

@ -1,18 +0,0 @@
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

View File

@ -1,9 +0,0 @@
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

View File

@ -1,5 +0,0 @@
#!/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

View File

@ -1,30 +0,0 @@
# 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: []