Skip to content

Commit 375db44

Browse files
authored
Merge branch 'master' into master
2 parents 57c4d1e + a334d26 commit 375db44

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

configs/lumi.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://opensuse/leap:15.4'
15+
container_src: 'docker://opensuse/leap:15.5'
1616
# name of the container image when on disk
1717
container_image: container.sif
1818
sqfs_image: img.sqfs

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

frontends/containerize

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fi
6868

6969
source $CW_BUILD_TMPDIR/_vars.sh
7070
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
7272
mkdir -p "$CW_INSTALLATION_PREFIX"
7373
fi
7474
if [[ ! -w "$CW_INSTALLATION_PREFIX" || ! -x "$CW_INSTALLATION_PREFIX" ]];then

templates/conda.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ curl -sL https://github.com/conda-forge/miniforge/releases/download/$CW_CONDA_VE
1717
print_info "Installing miniforge " 1
1818
bash Miniforge_inst.sh -b -p $CW_INSTALLATION_PATH/miniforge > $CW_BUILD_TMPDIR/_inst_miniforge.log &
1919
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
2122
rm Miniforge_inst.sh
2223
eval "$($CW_INSTALLATION_PATH/miniforge/bin/conda shell.bash hook)"
24+
2325
cd $CW_WORKDIR
2426
source $CW_INSTALLATION_PATH/_pre_install.sh
2527
if [[ ! -z "$(echo "$CW_ENV_FILE" | grep ".*\.yaml\|.*\.yml")" ]];then
@@ -39,7 +41,7 @@ else
3941
fi
4042

4143
inst_pid=$!
42-
follow_log $inst_pid $CW_BUILD_TMPDIR/build.log 10
44+
follow_log $inst_pid $CW_BUILD_TMPDIR/build.log 20
4345
wait $inst_pid
4446
conda activate $CW_ENV_NAME
4547
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)