Updated woodpecker config for pushing to Linux package repos
This commit is contained in:
parent
8bca6b3b0b
commit
d836e27305
@ -42,6 +42,7 @@ pipeline:
|
|||||||
port: 22
|
port: 22
|
||||||
target: "/srv/repo/apt/"
|
target: "/srv/repo/apt/"
|
||||||
source: "target/debian/zealot*.deb"
|
source: "target/debian/zealot*.deb"
|
||||||
|
strip_components: 2
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
@ -56,5 +57,20 @@ pipeline:
|
|||||||
port: 22
|
port: 22
|
||||||
target: "/srv/repo/dnf/"
|
target: "/srv/repo/dnf/"
|
||||||
source: "target/generate-rpm/zealot*.rpm"
|
source: "target/generate-rpm/zealot*.rpm"
|
||||||
|
strip_components: 2
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
|
update_repos:
|
||||||
|
image: appleboy/drone-ssh
|
||||||
|
settings:
|
||||||
|
host:
|
||||||
|
- repo.int.metaunix.net
|
||||||
|
username:
|
||||||
|
from_secret: repo_admin
|
||||||
|
password:
|
||||||
|
from_secret: repo_password
|
||||||
|
port: 22
|
||||||
|
command_timeout: 2m
|
||||||
|
script:
|
||||||
|
- "/home/xadmin/scripts/update_repo.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user