Skip to content

Commit

Permalink
[CI] Publish nightlies only for platforms that have been built.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 11, 2020
1 parent 3491d24 commit 570219f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .gitlab-ci.yml
Expand Up @@ -763,11 +763,14 @@ publish:weekly:
script:
- yum install --nogpg -y sssd-client sudo createrepo
- prefix=/eos/project/s/storage-ci/www/xrootd
- "for platform in epel-8 epel-7 epel-6; do
path=$prefix/experimental/$platform/x86_64/;
sudo -u stci -H mkdir -p $path;
sudo -u stci -H cp $platform/* $path;
sudo -u stci -H createrepo --update -q $path;
- "for platform in epel-8 epel-7 epel-6; do
if [ -d $platform ]
then
path=$prefix/experimental/$platform/x86_64/;
sudo -u stci -H mkdir -p $path;
sudo -u stci -H cp $platform/* $path;
sudo -u stci -H createrepo --update -q $path;
fi
done"
tags:
- docker_node
Expand Down

0 comments on commit 570219f

Please sign in to comment.