feat: update docker containers
- change to rpmbuilder and actionsdind managed by packer - update makefile to ignore `resources` folder
This commit is contained in:
@@ -4,14 +4,17 @@ RPMS_DIR := $(ROOT_DIR)/rpms
|
||||
REPO_OPTIONS := --disablerepo=* --enablerepo=unkin
|
||||
|
||||
# Automatically find all package/version directories
|
||||
PACKAGES := $(shell find $(RPMS_DIR) -mindepth 2 -maxdepth 2 -type d | sed "s|$(RPMS_DIR)/||" | grep -v "/scripts")
|
||||
PACKAGES := $(shell find $(RPMS_DIR) -mindepth 2 -maxdepth 2 -type d | sed "s|$(RPMS_DIR)/||" | grep -Ev '(scripts|/resources)')
|
||||
|
||||
# Default target to build all packages and versions
|
||||
.PHONY: all list cache build clean
|
||||
all: cache $(PACKAGES)
|
||||
|
||||
list:
|
||||
@echo "$(PACKAGES)"
|
||||
@echo "Builds:"
|
||||
@for package in $(PACKAGES); do \
|
||||
echo " '$$package'"; \
|
||||
done
|
||||
|
||||
cache:
|
||||
echo "Refreshing DNF cache..." && \
|
||||
|
||||
Reference in New Issue
Block a user