feat: setup deployment
continuous-integration/drone/push Build is failing

- add drone.yml
- add makefile
- add spec file
- add vault intermediate/root ca files
This commit is contained in:
2024-08-25 22:53:29 +10:00
parent 3647610e58
commit d9890906dc
7 changed files with 167 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
.PHONY: all prepare build clean
RPMBUILD := /drone/src/rpmbuild
SPECFILE := internal-ca-certificates.spec
# Extract the version from the spec file
VERSION := $(shell grep "^Version:" $(SPECFILE) | awk '{print $$2}')
all: build
prepare:
mkdir -p $(RPMBUILD)/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
build: prepare
rpmbuild -ba --define "_topdir $(RPMBUILD)" $(SPECFILE)
clean:
rm -rf $(RPMBUILD)