Compare commits

..

2 Commits

Author SHA1 Message Date
unkinben d30b27408a Merge pull request 'feat: first build of ProxLB' (#1) from neoloc/firstbuild into master
Deploy / Build on AlmaLinux 8 (push) Successful in 1m57s
Reviewed-on: https://git.query.consul/unkin/rpmbuild-proxlb/pulls/1
2024-09-07 23:37:48 +10:00
unkinben 668f28e658 feat: first build of ProxLB
Build / Build on AlmaLinux 8 (pull_request) Successful in 1m49s
- version 1.0.2
- setup gitea actions workflows
2024-09-07 23:33:56 +10:00
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -20,10 +20,11 @@ jobs:
- name: Install required packages
run: |
dnf groupinstall -y 'Development Tools'
dnf install -y rpm cmake git make python3-yaml
- name: Build project
run: make build
run: make package
- name: Find built packages
run: |
+3 -2
View File
@@ -22,15 +22,16 @@ jobs:
- name: Install required packages
run: |
dnf groupinstall -y 'Development Tools'
dnf install -y rpm cmake git make python3-yaml
- name: Build project
run: make build
run: make package
- name: Upload RPMs
env:
DRONECI_PASSWORD: ${{ secrets.DRONECI_PASSWORD }}
run: |
for rpm in /workspace/src/rpmbuild/RPMS/*/*.rpm; do
for rpm in /workspace/unkin/rpmbuild-proxlb/packages/*.rpm; do
curl --user droneci:${{ secrets.DRONECI_PASSWORD }} --upload-file $rpm https://git.query.consul/api/packages/unkin/rpm/almalinux/el8/upload
done
+3 -3
View File
@@ -2,9 +2,9 @@
VERSION=1.0.2
REPO_URL=https://github.com/gyptazy/ProxLB.git
BUILD_DIR=/workspace/build
PACKAGE_DIR=workspace/packages
REPO_DIR=/workspace/ProxLB
BUILD_DIR=$(PWD)/build
PACKAGE_DIR=$(PWD)/packages
REPO_DIR=$(PWD)/ProxLB
.PHONY: all clean download prepare build package