From 338929010211a913f6dfec46eea0cf601b939b8d Mon Sep 17 00:00:00 2001 From: John Ellson Date: Mon, 15 Jul 2019 13:49:05 -0400 Subject: [PATCH] WIP deploy - try to fix centos7 mkdir problem --- .gitlab-ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7608dfaed..da0dd266d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,14 +33,15 @@ portable-source: - mkdir -p ${DIR}/os/${ARCH} - mkdir -p ${DIR}/debug/${ARCH} - mkdir -p ${DIR}/source - - mv /home/gitlab-runner/rpmbuild/SRPMS/*.src.rpm ${DIR}/source/ - - mv /home/gitlab-runner/rpmbuild/RPMS/*/*debuginfo*rpm ${DIR}/debug/${ARCH}/ - - mv /home/gitlab-runner/rpmbuild/RPMS/*/*.rpm ${DIR}/os/${ARCH}/ + - cp /home/gitlab-runner/rpmbuild/SRPMS/*.src.rpm ${DIR}/source/ + - cp /home/gitlab-runner/rpmbuild/RPMS/*/*debuginfo*rpm ${DIR}/debug/${ARCH}/ + - cp /home/gitlab-runner/rpmbuild/RPMS/*/*.rpm ${DIR}/os/${ARCH}/ artifacts: when: on_success expire_in: 1 week paths: - - Packages/*/*/*/* + - Packages/*/*/*/*/*.rpm + - Packages/*/*/*/*.rpm only: - master @@ -57,14 +58,15 @@ portable-source: - mkdir -p ${DIR}/os/${ARCH} - mkdir -p ${DIR}/debug/${ARCH} - mkdir -p ${DIR}/source - - mv *.deb ${DIR}/os/${ARCH}/ - - mv *.ddeb ${DIR}/debug/${ARCH}/ + - cp *.deb ${DIR}/os/${ARCH}/ + - cp *.ddeb ${DIR}/debug/${ARCH}/ - cp graphviz-${VERSION}.tar.gz ${DIR}/source/ artifacts: when: on_success expire_in: 1 week paths: - - Packages/*/*/*/* + - Packages/*/*/*/*/*.rpm + - Packages/*/*/*/*.rpm only: - master -- 2.40.0