File tree Expand file tree Collapse file tree 8 files changed +11
-9
lines changed Expand file tree Collapse file tree 8 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ defaults:
12
12
composable : true
13
13
# if this is not a thing which exist
14
14
# I will do a singularity pull
15
- container_src : ' docker://opensuse/leap:15.4 '
15
+ container_src : ' docker://opensuse/leap:15.5 '
16
16
# name of the container image when on disk
17
17
container_image : container.sif
18
18
sqfs_image : img.sqfs
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ defaults:
12
12
composable : true
13
13
# if this is not a thing which exist
14
14
# I will do a singularity pull
15
- container_src : ' docker://redhat/ubi8:8.6 '
15
+ container_src : ' docker://redhat/ubi8:8.10 '
16
16
# name of the container image when on disk
17
17
container_image : container.sif
18
18
sqfs_image : img.sqfs
Original file line number Diff line number Diff line change 68
68
69
69
source $CW_BUILD_TMPDIR /_vars.sh
70
70
if [[ ! -d " $CW_INSTALLATION_PREFIX " ]]; then
71
- print_info " Installation dir $CW_INSTALLATION_PREFIX does not exist, creating it for you"
71
+ print_info " Installation dir $CW_INSTALLATION_PREFIX does not exist, creating it for you" 1
72
72
mkdir -p " $CW_INSTALLATION_PREFIX "
73
73
fi
74
74
if [[ ! -w " $CW_INSTALLATION_PREFIX " || ! -x " $CW_INSTALLATION_PREFIX " ]]; then
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ curl -sL https://github.com/conda-forge/miniforge/releases/download/$CW_CONDA_VE
17
17
print_info " Installing miniforge " 1
18
18
bash Miniforge_inst.sh -b -p $CW_INSTALLATION_PATH /miniforge > $CW_BUILD_TMPDIR /_inst_miniforge.log &
19
19
inst_pid=$!
20
- follow_log $inst_pid $CW_BUILD_TMPDIR /_inst_miniforge.log 10
20
+
21
+ follow_log $inst_pid $CW_BUILD_TMPDIR /_inst_miniforge.log 20
21
22
rm Miniforge_inst.sh
22
23
eval " $( $CW_INSTALLATION_PATH /miniforge/bin/conda shell.bash hook) "
24
+
23
25
cd $CW_WORKDIR
24
26
source $CW_INSTALLATION_PATH /_pre_install.sh
25
27
if [[ ! -z " $( echo " $CW_ENV_FILE " | grep " .*\.yaml\|.*\.yml" ) " ]]; then
39
41
fi
40
42
41
43
inst_pid=$!
42
- follow_log $inst_pid $CW_BUILD_TMPDIR /build.log 10
44
+ follow_log $inst_pid $CW_BUILD_TMPDIR /build.log 20
43
45
wait $inst_pid
44
46
conda activate $CW_ENV_NAME
45
47
if [[ ${CW_REQUIREMENTS_FILE+defined} ]]; then
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then
13
13
pip install -r $( basename " $CW_REQUIREMENTS_FILE " ) > $CW_BUILD_TMPDIR /_pip.log &
14
14
bg_pid=$!
15
15
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
17
17
fi
18
18
cd $CW_WORKDIR
19
19
source $CW_INSTALLATION_PATH /_post_install.sh
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then
29
29
pip install --disable-pip-version-check -r " $( basename $CW_REQUIREMENTS_FILE ) " > $CW_BUILD_TMPDIR /_pip.log &
30
30
bg_pid=$!
31
31
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
33
33
fi
34
34
cd $CW_WORKDIR
35
35
print_info " Running user supplied commands" 1
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if [[ ${CW_REQUIREMENTS_FILE+defined} ]];then
19
19
pip install --disable-pip-version-check -r " $( basename $CW_REQUIREMENTS_FILE ) " > $CW_BUILD_TMPDIR /_pip.log &
20
20
bg_pid=$!
21
21
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
23
23
fi
24
24
cd $CW_WORKDIR
25
25
# print_info "Running user supplied commands" 1
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ dependencies:
55
55
" > conda_broken.yaml
56
56
echo " GARBAGE" > conda_env.txt
57
57
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 "
59
59
mkdir A_DIR_NO_WRITE
60
60
chmod ugo-w A_DIR_NO_WRITE
61
61
t_run " conda-containerize new conda_base.yml --prefix A_DIR_NO_WRITE | grep ERROR" " Installation dir has to be writable"
You can’t perform that action at this time.
0 commit comments