Commit 38c22155 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

obs/slapos: fix use shorter name

fixup for 203927d9

The old tarball was not removed correctly
parent a823f13d
Pipeline #23342 failed with stage
in 0 seconds
...@@ -10,7 +10,7 @@ cd $OBS_DIRECTORY ...@@ -10,7 +10,7 @@ cd $OBS_DIRECTORY
osc up osc up
# Remove former configuration # Remove former configuration
osc rm -f $SLAPOS_ORGINAL_DIRECTORY*.tar.gz osc rm -f $SLAPOS_DIRECTORY_PREFIX*.tar.gz
osc rm -f slapos.spec osc rm -f slapos.spec
# Prepare new tarball # Prepare new tarball
......
...@@ -15,7 +15,8 @@ OBS_DIRECTORY=$CURRENT_DIRECTORY/home:VIFIBnexedi:branches:home:VIFIBnexedi/Slap ...@@ -15,7 +15,8 @@ OBS_DIRECTORY=$CURRENT_DIRECTORY/home:VIFIBnexedi:branches:home:VIFIBnexedi/Slap
TEMPLATES_DIRECTORY=$CURRENT_DIRECTORY/templates TEMPLATES_DIRECTORY=$CURRENT_DIRECTORY/templates
SLAPOS_ORGINAL_DIRECTORY=slapos-node SLAPOS_ORGINAL_DIRECTORY=slapos-node
SLAPOS_DIRECTORY=sn_$VERSION+$RECIPE_VERSION+$RELEASE SLAPOS_DIRECTORY_PREFIX=sn
SLAPOS_DIRECTORY=${SLAPOS_DIRECTORY_PREFIX}_$VERSION+$RECIPE_VERSION+$RELEASE
VERSION_REGEX="s/\%RECIPE_VERSION\%/$RECIPE_VERSION/g;s/\%VERSION\%/$VERSION/g;s/\%RELEASE\%/$RELEASE/g;s/\%SLAPOS_DIRECTORY\%/$SLAPOS_DIRECTORY/g" VERSION_REGEX="s/\%RECIPE_VERSION\%/$RECIPE_VERSION/g;s/\%VERSION\%/$VERSION/g;s/\%RELEASE\%/$RELEASE/g;s/\%SLAPOS_DIRECTORY\%/$SLAPOS_DIRECTORY/g"
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment