Skip to content

Commit 8e03a04

Browse files
authored
Merge pull request #747 from IU-Libraries-Joint-Development/ci_fits
Set fits_path in Hyrax initializer in CI
2 parents 208fb4c + 343ed7a commit 8e03a04

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ jobs:
8383
cd /opt/fits && sudo unzip fits-1.5.5.zip && sudo chmod +X fits.sh
8484
sudo sed -i 's/\(<tool.*TikaTool.*>\)/<!--\1-->/' /opt/fits/xml/fits.xml
8585
echo 'export PATH=/opt/fits:$PATH' >> $BASH_ENV
86+
# Sometimes this updated PATH isn't available so set fits_path in Hyrax initializer too
87+
sed -i 's/# config.fits_path = "fits.sh"/config.fits_path = "\/opt\/fits\/fits.sh"/' /home/circleci/repo/config/initializers/hyrax.rb
8688
8789
# Download and cache dependencies
8890
- restore_cache:

0 commit comments

Comments
 (0)