Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 22eac9c655 |
@@ -1,37 +0,0 @@
|
|||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-rpms
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
commands:
|
|
||||||
- mkdir -p /woodpecker/rpms
|
|
||||||
- ln -s /woodpecker/rpms /workspace
|
|
||||||
- dnf install buildah -y
|
|
||||||
- ./tools/build build-all --distro almalinux/el8 --buildah
|
|
||||||
privileged: true
|
|
||||||
backend_options:
|
|
||||||
kubernetes:
|
|
||||||
serviceAccountName: default
|
|
||||||
|
|
||||||
- name: show-rpms
|
|
||||||
image: git.unkin.net/unkin/almalinux9-base:latest
|
|
||||||
commands:
|
|
||||||
- find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
|
|
||||||
depends_on: [build-rpms]
|
|
||||||
|
|
||||||
- name: deploy-rpms
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
commands:
|
|
||||||
- |
|
|
||||||
for rpm in $(find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"); do
|
|
||||||
curl --user droneci:${DRONECI_PASSWORD} --upload-file $rpm https://git.unkin.net/api/packages/unkin/rpm/almalinux/el8/upload
|
|
||||||
done
|
|
||||||
environment:
|
|
||||||
DRONECI_PASSWORD:
|
|
||||||
from_secret: DRONECI_PASSWORD
|
|
||||||
backend_options:
|
|
||||||
kubernetes:
|
|
||||||
serviceAccountName: default
|
|
||||||
depends_on: [build-rpms, show-rpms]
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-rpms
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
commands:
|
|
||||||
- mkdir -p /woodpecker/rpms
|
|
||||||
- ln -s /woodpecker/rpms /workspace
|
|
||||||
- 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 /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"
|
|
||||||
depends_on: [build-rpms]
|
|
||||||
|
|
||||||
- name: deploy-rpms
|
|
||||||
image: git.unkin.net/unkin/almalinux9-rpmbuilder:latest
|
|
||||||
commands:
|
|
||||||
- |
|
|
||||||
for rpm in $(find /woodpecker/src/git.unkin.net/unkin/rpmbuilder/ -type f -name "*.rpm"); do
|
|
||||||
curl --user droneci:${DRONECI_PASSWORD} --upload-file $rpm https://git.unkin.net/api/packages/unkin/rpm/almalinux/el9/upload
|
|
||||||
done
|
|
||||||
environment:
|
|
||||||
DRONECI_PASSWORD:
|
|
||||||
from_secret: DRONECI_PASSWORD
|
|
||||||
backend_options:
|
|
||||||
kubernetes:
|
|
||||||
serviceAccountName: default
|
|
||||||
depends_on: [build-rpms, show-rpms]
|
|
||||||
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user