feat: migrate to woodpeckerci
- update build tool for kubernetes auth - add woodpecker pre-commit and build jobs
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: build rpms
|
||||
image: woodpeckerci/plugin-docker-buildx:latest-insecure
|
||||
commands:
|
||||
- ./tools/build build-all --distro almalinux/el8
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: default
|
||||
- name: show rpms
|
||||
image: git.unkin.net/unkin/almalinux8-base:latest
|
||||
commands:
|
||||
- find /workspace -type f -name "*.rpm"
|
||||
@@ -0,0 +1,15 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: build rpms
|
||||
image: woodpeckerci/plugin-docker-buildx:latest-insecure
|
||||
commands:
|
||||
- ./tools/build build-all --distro almalinux/el8
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: default
|
||||
- name: show rpms
|
||||
image: git.unkin.net/unkin/almalinux8-base:latest
|
||||
commands:
|
||||
- find /workspace -type f -name "*.rpm"
|
||||
@@ -0,0 +1,9 @@
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: pre-commit
|
||||
image: git.unkin.net/unkin/almalinux9-base:latest
|
||||
commands:
|
||||
- dnf install uv make -y
|
||||
- uvx pre-commit run --all-files
|
||||
Reference in New Issue
Block a user