Skip to content

Commit d68fd47

Browse files
author
Nortamo
committed
Longer context
1 parent 0d9cea8 commit d68fd47

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

configs/mahti.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defaults:
1212
composable: true
1313
# if this is not a thing which exist
1414
# I will do a singularity pull
15-
container_src: 'docker://redhat/ubi8:8.6'
15+
container_src: 'docker://redhat/ubi8:8.10'
1616
# name of the container image when on disk
1717
container_image: container.sif
1818
sqfs_image: img.sqfs

templates/conda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ curl https://repo.anaconda.com/miniconda/Miniconda3-$CW_CONDA_VERSION-$CW_CONDA_
1616
print_info "Installing miniconda " 1
1717
bash Miniconda_inst.sh -b -p $CW_INSTALLATION_PATH/miniconda > $CW_BUILD_TMPDIR/_inst_miniconda.log &
1818
inst_pid=$!
19-
follow_log $inst_pid $CW_BUILD_TMPDIR/_inst_miniconda.log 10
19+
follow_log $inst_pid $CW_BUILD_TMPDIR/_inst_miniconda.log 20
2020
rm Miniconda_inst.sh
2121
eval "$($CW_INSTALLATION_PATH/miniconda/bin/conda shell.bash hook)"
2222
cd $CW_WORKDIR
@@ -39,7 +39,7 @@ else
3939
fi
4040

4141
inst_pid=$!
42-
follow_log $inst_pid $CW_BUILD_TMPDIR/build.log 10
42+
follow_log $inst_pid $CW_BUILD_TMPDIR/build.log 20
4343
wait $inst_pid
4444
conda activate $CW_ENV_NAME
4545
if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then

templates/conda_modify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then
1313
pip install -r $( basename "$CW_REQUIREMENTS_FILE" ) > $CW_BUILD_TMPDIR/_pip.log &
1414
bg_pid=$!
1515
wait $bg_pid
16-
follow_log $bg_pid $CW_BUILD_TMPDIR/_pip.log 10
16+
follow_log $bg_pid $CW_BUILD_TMPDIR/_pip.log 20
1717
fi
1818
cd $CW_WORKDIR
1919
source $CW_INSTALLATION_PATH/_post_install.sh

templates/venv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then
2929
pip install --disable-pip-version-check -r "$( basename $CW_REQUIREMENTS_FILE)" > $CW_BUILD_TMPDIR/_pip.log &
3030
bg_pid=$!
3131
wait $bg_pid
32-
follow_log $bg_pid $CW_BUILD_TMPDIR/_pip.log 10
32+
follow_log $bg_pid $CW_BUILD_TMPDIR/_pip.log 20
3333
fi
3434
cd $CW_WORKDIR
3535
print_info "Running user supplied commands" 1

templates/venv_modify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then
1919
pip install --disable-pip-version-check -r "$( basename $CW_REQUIREMENTS_FILE)" > $CW_BUILD_TMPDIR/_pip.log &
2020
bg_pid=$!
2121
wait $bg_pid
22-
follow_log $bg_pid $CW_BUILD_TMPDIR/_pip.log 10
22+
follow_log $bg_pid $CW_BUILD_TMPDIR/_pip.log 20
2323
fi
2424
cd $CW_WORKDIR
2525
#print_info "Running user supplied commands" 1

tests/tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dependencies:
5555
" > conda_broken.yaml
5656
echo "GARBAGE" > conda_env.txt
5757

58-
t_run "conda-containerize new conda_base.yml --prefix NOT_A_DIR | grep ERROR" "Missing install dir causes error"
58+
t_run "conda-containerize new conda_base.yml --prefix NOT_A_DIR" "Missing install dir is created"
5959
mkdir A_DIR_NO_WRITE
6060
chmod ugo-w A_DIR_NO_WRITE
6161
t_run "conda-containerize new conda_base.yml --prefix A_DIR_NO_WRITE | grep ERROR" "Installation dir has to be writable"

0 commit comments

Comments
 (0)