Compare commits
4 Commits
571a660b75
...
v0.1.53
| Author | SHA1 | Date | |
|---|---|---|---|
| 99067e5ead | |||
| 16b36fe751 | |||
| 781a21a209 | |||
| bb08a22ad5 |
20
.gitea/workflows/cd.yaml
Normal file
20
.gitea/workflows/cd.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Continuous Delivery
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v[0-9]+.[0-9]+.[0-9]+"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_n_upload:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
fetch-tags: true
|
||||||
|
- run: make tarball
|
||||||
|
- run: rpmbuild -ba "$(make name).spec"
|
||||||
|
- run: make upload
|
||||||
|
env:
|
||||||
|
PKG_TOKEN: ${{ secrets.PKG_TOKEN }}
|
||||||
18
.gitea/workflows/ci.yaml
Normal file
18
.gitea/workflows/ci.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Continuous Integration
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint_n_build:
|
||||||
|
runs-on: self-hosted
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
fetch-tags: true
|
||||||
|
- run: shellcheck files/sbin/certbot_renew
|
||||||
|
- run: make tarball
|
||||||
|
- run: rpmbuild -ba "$(make name).spec"
|
||||||
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ RPM_SYSCONFDIR = $(shell rpm --eval '%{_sysconfdir}')
|
|||||||
RPM_UNITDIR = $(shell rpm --eval '%{_unitdir}')
|
RPM_UNITDIR = $(shell rpm --eval '%{_unitdir}')
|
||||||
|
|
||||||
RPM_TARBALL_PATH = $(RPM_SOURCEDIR)/$(SOURCE0)
|
RPM_TARBALL_PATH = $(RPM_SOURCEDIR)/$(SOURCE0)
|
||||||
RPM_BUILD_PATH = $(RPM_RPMDIR)/$(BUILD_ARCH)/$(NAME)-$(VERSION)-$(RELEASE).$(ARCH).rpm
|
RPM_BUILD_PATH = $(RPM_RPMDIR)/$(ARCH)/$(NAME)-$(VERSION)-$(RELEASE).$(ARCH).rpm
|
||||||
|
|
||||||
.PHONY: name
|
.PHONY: name
|
||||||
name:
|
name:
|
||||||
|
|||||||
Reference in New Issue
Block a user