58b032966c
- update build tool for kubernetes auth - update build tool to build packages without docker (native + buildah) - add woodpecker pre-commit and build jobs
19 lines
486 B
YAML
19 lines
486 B
YAML
when:
|
|
- event: pull_request
|
|
|
|
steps:
|
|
- name: build rpms
|
|
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
commands:
|
|
- mkdir -p /app/dist/
|
|
- dnf install buildah -y
|
|
- ./tools/build build-all --distro almalinux/el9 --buildah
|
|
privileged: true
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
- name: show rpms
|
|
image: git.unkin.net/unkin/almalinux9-base:latest
|
|
commands:
|
|
- find /app/dist -type f -name "*.rpm"
|