Compare commits
No commits in common. "8d1aa34f0f7699a3a257fb2d962386a58deb697e" and "0133114aac9b22aa311f7884b255fcb6d1eac072" have entirely different histories.
8d1aa34f0f
...
0133114aac
@ -1 +0,0 @@
|
||||
1
|
||||
@ -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
|
||||
@ -1,9 +0,0 @@
|
||||
name: tflint
|
||||
release: 1
|
||||
version: 0.59.1
|
||||
build:
|
||||
- distro: el/8
|
||||
image: git.unkin.net/unkin/almalinux8-rpmbuilder:latest
|
||||
- distro: el/9
|
||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
||||
github: terraform-linters/tflint
|
||||
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Download tflint binary
|
||||
wget -O /app/tflint_linux_amd64.zip https://github.com/terraform-linters/tflint/releases/download/v${PACKAGE_VERSION}/tflint_linux_amd64.zip
|
||||
|
||||
# Extract the binary
|
||||
unzip -j /app/tflint_linux_amd64.zip -d /app/
|
||||
|
||||
# Build the RPM
|
||||
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm
|
||||
@ -1,38 +0,0 @@
|
||||
# nfpm.yaml
|
||||
|
||||
name: tflint
|
||||
version: ${PACKAGE_VERSION}
|
||||
release: ${PACKAGE_RELEASE}
|
||||
arch: amd64
|
||||
platform: linux
|
||||
section: default
|
||||
priority: extra
|
||||
description: "A Pluggable Terraform Linter that finds potential errors in Terraform configurations and enforces best practices."
|
||||
|
||||
maintainer: Terraform Linters
|
||||
homepage: https://github.com/terraform-linters/tflint
|
||||
license: MPL-2.0
|
||||
|
||||
disable_globbing: false
|
||||
|
||||
replaces:
|
||||
- tflint
|
||||
|
||||
provides:
|
||||
- tflint
|
||||
|
||||
# Files to include in the package
|
||||
contents:
|
||||
- src: /app/tflint
|
||||
dst: /usr/bin/tflint
|
||||
file_info:
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
# Scripts to run during installation/removal (optional)
|
||||
# scripts:
|
||||
# preinstall: ./scripts/preinstall.sh
|
||||
# postinstall: ./scripts/postinstall.sh
|
||||
# preremove: ./scripts/preremove.sh
|
||||
# postremove: ./scripts/postremove.sh
|
||||
Loading…
Reference in New Issue
Block a user