EESSI / software-layer

Software layer of the EESSI project
https://eessi.github.io/docs/software_layer
GNU General Public License v2.0
20 stars 43 forks source link

update init scripts for pilot repository to print deprecation warning & use `software.eessi.io` instead #551

Closed bedroge closed 2 months ago

bedroge commented 2 months ago

I've only done it for 2021.12 for now. Once it's reviewed, I'll clone the files for pilot version 2023.06.

This will now print a deprecation message (in yellow font), and try to automatically source the init file of the 2023.06 version of the production repo. If that's not available, or if $EESSI_FORCE_PILOT is set, it will go ahead and source the original init script (which is now assumed to be renamed to bash.force).

eessi-bot-aws[bot] commented 2 months ago

Instance eessi-bot-mc-aws is configured to build:

eessi-bot-aws[bot] commented 2 months ago

Instance eessi-bot-mc-azure is configured to build:

boegel commented 2 months ago

Maybe it's worth adding a pointer to support portal, something like:


If you have any questions or if you need any help, please open a support ticket: https://www.eessi.io/docs/support
boegel commented 2 months ago

@bedroge Let's put this in place before we merge the PR?

Don't forget to rename */init/bash to */init/bash.force as well :)

boegel commented 2 months ago

Tests are failing because of breaking changes in latest archspec release, see also #483, but that shouldn't block this PR at all...

bedroge commented 2 months ago

@bedroge Let's put this in place before we merge the PR?

Don't forget to rename */init/bash to */init/bash.force as well :)

Done!

$ ls -1 /cvmfs/pilot.eessi-hpc.org/versions/{2021.12,2023.06}/init/{bash*,print*}
/cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/bash
/cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/bash.force
/cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/print_deprecation_warning.sh
/cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/bash
/cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/bash.force
/cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/print_deprecation_warning.sh