adding env var to force EasyBuild version during bootstrap#2382
adding env var to force EasyBuild version during bootstrap#2382akesandgren merged 1 commit intoeasybuilders:developfrom
Conversation
|
Travis test report: 10/10 runs failed - see https://travis-ci.org/easybuilders/easybuild-framework/builds/330108659 Only showing partial log for 1st failed test suite run 1625.1;
(bleep, bloop, I'm just a bot, please talk to my owner @boegel if you notice you me acting stupid) |
| else: | ||
| # install meta-package easybuild from PyPI | ||
| cmd.append('easybuild') | ||
| if forcedversion is not None: |
There was a problem hiding this comment.
if forcedversion: should be enough here and is easier to read.
|
|
||
| forcedversion = EASYBUILD_BOOTSTRAP_FORCE_VERSION | ||
| if EASYBUILD_BOOTSTRAP_FORCE_VERSION is not None: | ||
| info("Forcing specified version %s..." % forcedversion) |
There was a problem hiding this comment.
If forcedversion isn't use further down, then drop it and use EASYBUILD_BOOTSTRAP_FORCE_VERSION in the info(...).
If it is used then changing the if EASYBUILD.... to
if forcedversion:
makes it easier to read.
There was a problem hiding this comment.
@akesandgren Well, it is used further down, since it's being passed to stage1.
So, your second suggestion is right on the spot: @bmcgough please use if forcedversion: above
|
@bmcgough You'll need to update the version of the bootstrap script in |
|
Wow, just noticed how long this has been open... I'm very sorry for not getting back to you on this @bmcgough, since it's a useful contribution, it somehow slipped through the cracks... :( |
We are automating EasyBuild within Docker and need to get a predictable EasyBuild version when bootstrapping.