From: Frank Brehm Date: Wed, 13 Jul 2022 08:56:05 +0000 (+0200) Subject: Fixing deploy job in .gitlab-ci.yml X-Git-Tag: 0.4.4^2~1 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=0edc334376fd399e3cf9a5768cf2dcb0d34044a8;p=pixelpark%2Fpp-admin-tools.git Fixing deploy job in .gitlab-ci.yml --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e6932ab..26b1e2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -401,13 +401,13 @@ Sign EL 8 packages: - | src_repo_dir="${YUM_REPO_DIR}/${EL_MAJOR_VERSION}-src" echo "Deploying source packages to ${YUM_REPO_HOST}:${src_repo_dir}/ ..." - ssh -o StrictHostKeyChecking=no "${YUM_REPO_USER}@${YUM_REPO_HOST}" "if [ ! test -d ${src_repo_dir} ] ; then mkdir -pv ${src_repo_dir} ; fi" + ssh -o StrictHostKeyChecking=no "${YUM_REPO_USER}@${YUM_REPO_HOST}" "if [ ! -d ${src_repo_dir} ] ; then mkdir -pv ${src_repo_dir} ; fi" scp -p -o StrictHostKeyChecking=no rpmdir/SRPMS/*.rpm "${YUM_REPO_USER}@${YUM_REPO_HOST}:${src_repo_dir}/" ssh -o StrictHostKeyChecking=no "${YUM_REPO_USER}@${YUM_REPO_HOST}" "cd ${src_repo_dir}/ && createrepo --update . && chmod -v a+x repodata && chmod -Rv a+r repodata" - | bin_repo_dir="${YUM_REPO_DIR}/${EL_MAJOR_VERSION}" echo "Deploying binary packages to ${YUM_REPO_HOST}:${bin_repo_dir}/ ..." - ssh -o StrictHostKeyChecking=no "${YUM_REPO_USER}@${YUM_REPO_HOST}" "if [ ! test -d ${bin_repo_dir} ] ; then mkdir -pv ${bin_repo_dir} ; fi" + ssh -o StrictHostKeyChecking=no "${YUM_REPO_USER}@${YUM_REPO_HOST}" "if [ ! -d ${bin_repo_dir} ] ; then mkdir -pv ${bin_repo_dir} ; fi" scp -p -o StrictHostKeyChecking=no rpmdir/RPMS/*/*.rpm "${YUM_REPO_USER}@${YUM_REPO_HOST}:${bin_repo_dir}/" ssh -o StrictHostKeyChecking=no "${YUM_REPO_USER}@${YUM_REPO_HOST}" "cd ${bin_repo_dir}/ && createrepo --update . && chmod -v a+x repodata && chmod -Rv a+r repodata" after_script: