Skip to content

Commit

Permalink
Merge pull request #160 from DSD-DBS/fix-move-capella-files
Browse files Browse the repository at this point in the history
fix: Check for directories for dropins
  • Loading branch information
MoritzWeber0 authored Jun 19, 2023
2 parents 3b21e03 + 61c0c10 commit 6e6026a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci-templates/gitlab/image-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ capella/base:
- *docker
- mv ../capella.tar.gz ./capella/versions/$CAPELLA_VERSION/$BUILD_ARCHITECTURE/capella.tar.gz
- >
if [[ -n "$(find ../dropins -maxdepth 0 -type f)" ]]; then
if [[ -n "$(find ../dropins -maxdepth 1 -type d)" ]]; then
mv ../dropins/* ./capella/versions/$CAPELLA_VERSION/dropins/
else
echo "No files to move in dropins"
fi
- >
if [[ -n "$(find ../patches -maxdepth 0 -type f)" ]]; then
if [[ -n "$(find ../patches -maxdepth 1 -type f -not -path '*/\.*')" ]]; then
mv ../patches/* ./capella/versions/$CAPELLA_VERSION/patches/
else
echo "No files to move in patches"
Expand Down

0 comments on commit 6e6026a

Please sign in to comment.