This repository has been archived on 2025-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild-proxlb/.drone.yml
Ben Vincent 104345fa17
Some checks failed
Build / Build on AlmaLinux 8 (pull_request) Failing after 35s
feat: first build of ProxLB
- version 1.0.2
- setup gitea actions workflows
2024-09-07 21:51:15 +10:00

36 lines
803 B
YAML

kind: pipeline
type: docker
name: almalinux8
trigger:
event:
include:
- push
- pull_request
steps:
- name: build
image: git.query.consul/unkin/almalinux8:latest
commands:
# Install the required packages using custom repositories
- dnf install -y rpm cmake git make python3-yaml
# Run the `make` command
- make package
- name: upload
image: git.query.consul/unkin/almalinux8:latest
environment:
GITEA_PASSWORD:
from_secret: gitea_password
commands:
- >
for rpm in /drone/src/packages/*.rpm; do
curl --user droneci:$GITEA_PASSWORD --upload-file $rpm https://git.query.consul/api/packages/unkin/rpm/almalinux/el8/upload
done
when:
branch:
- master
event:
- push