Compare commits

..

1 Commits

Author SHA1 Message Date
261fe3eae4 Change to gitea actions
All checks were successful
Build RPMs / Build on AlmaLinux 8 (pull_request) Successful in 3m49s
- remove .drone.yml
- create .gitea/workflows/deploy.yaml and build.yaml
- install node in default container
- updated makefile
2024-09-07 21:35:02 +10:00
2 changed files with 3 additions and 35 deletions

View File

@ -30,23 +30,6 @@ jobs:
- name: Build project
run: make build
upload:
name: Upload RPMs
runs-on: almalinux-8
needs: build
container:
image: git.query.consul/unkin/almalinux8:latest
steps:
- name: Install nodejs:20
- name: Find built packages
run: |
dnf module enable -y nodejs:20
dnf install -y nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Upload RPMs to Gitea
env:
DRONECI_PASSWORD: ${{ secrets.DRONECI_PASSWORD }}
run: |
find /workspace | grep rpm
find /workspace | grep -E \.rpm$

View File

@ -32,25 +32,10 @@ jobs:
- name: Build project
run: make build
upload:
name: Upload RPMs
runs-on: almalinux-8
needs: build
container:
image: git.query.consul/unkin/almalinux8:latest
steps:
- name: Install nodejs:20
run: |
dnf module enable -y nodejs:20
dnf install -y nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Upload RPMs to Gitea
env:
DRONECI_PASSWORD: ${{ secrets.DRONECI_PASSWORD }}
run: |
for rpm in src/rpmbuild/RPMS/*/*.rpm; do
for rpm in /workspace/src/rpmbuild/RPMS/*/*.rpm; do
curl --user droneci:${{ secrets.DRONECI_PASSWORD }} --upload-file $rpm https://git.query.consul/api/packages/unkin/rpm/almalinux/el8/upload
done