Skip to content

Commit 681acd1

Browse files
authored
Merge pull request #246 from boegel/2021.06
add replacement init script for removed 2021.06 pilot version
2 parents 5134f30 + 8620428 commit 681acd1

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/cvmfs/pilot.eessi-hpc.org/versions/2021.06/init/print_deprecation_warning.sh
2+
3+
source /cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/Magic_Castle/bash

versions/2021.06/init/bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/cvmfs/pilot.eessi-hpc.org/versions/2021.06/init/print_deprecation_warning.sh
2+
3+
source /cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/bash
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
function echo_yellow_stderr() {
3+
echo -e "\e[33m${1}\e[0m" >&2
4+
}
5+
6+
echo_yellow_stderr
7+
echo_yellow_stderr "WARNING: Version 2021.06 of the EESSI pilot repository has been removed since 16 May 2023."
8+
echo_yellow_stderr
9+
echo_yellow_stderr "Version 2021.12 of the EESSI pilot repository can be used as a drop-in replacement, "
10+
echo_yellow_stderr "so we have prepared your environment to use that instead."
11+
echo_yellow_stderr
12+
echo_yellow_stderr "In the future, please run"
13+
echo_yellow_stderr
14+
echo_yellow_stderr " source /cvmfs/pilot.eessi-hpc.org/latest/init/bash"
15+
echo_yellow_stderr
16+
echo_yellow_stderr "to prepare your start using the EESSI pilot repository."
17+
echo_yellow_stderr
18+
echo_yellow_stderr "See also https://eessi.github.io/docs/using_eessi/setting_up_environment ."
19+
echo_yellow_stderr

0 commit comments

Comments
 (0)