Compare commits

..

2 Commits

Author SHA1 Message Date
Dustin 4e78c48fbf xxx
infra/dch-autoprovision/pipeline/head This commit looks good Details
2025-08-14 08:35:08 -05:00
Dustin c88b4c42e8 wip: ci: Add Jenkins build pipeline
infra/dch-autoprovision/pipeline/head This commit looks good Details
2025-08-14 08:35:08 -05:00
2 changed files with 7 additions and 1 deletions

2
ci/Jenkinsfile vendored
View File

@ -68,7 +68,7 @@ pipeline {
stage('Publish') { stage('Publish') {
when { when {
branch 'master' branch 'dev/ci'
} }
steps { steps {
sshagent(['jenkins-repohost']) { sshagent(['jenkins-repohost']) {

View File

@ -7,6 +7,11 @@ REPO_PATH=/srv/www/repohost/repos/dch/fedora/$(rpm --eval %fedora)
ssh-add -l ssh-add -l
ssh-add -L ssh-add -L
mkdir -p "${WORKSPACE_TMP}/sync"
cd "${WORKSPACE_TMP}/sync"
ln "${WORKSPACE}/f${FEDORA}"/*.rpm .
ln "${WORKSPACE}/f${FEDORA}/${ARCH}"/*.rpm .
case "${ARCH}" in case "${ARCH}" in
x86_64) x86_64)
# only include the SRPM once # only include the SRPM once
@ -21,5 +26,6 @@ rsync -rtiO \
--chmod=ugo=rwX \ --chmod=ugo=rwX \
--include "${include}" \ --include "${include}" \
--exclude '*' \ --exclude '*' \
--dry-run \
./ \ ./ \
"${REPO_HOST}:${REPO_PATH}/" "${REPO_HOST}:${REPO_PATH}/"