ci: allow specifying pmbootstrap path to aid running locally
I don't like how CI requires pmbootstrap in PATH to be a symlink, I use a wrapper script to handle running pmbootstrap how I want and the current pmbootstrap path detection is kinda annoying since it depends on it being a symlink.
This allows using an environment variable, PMBOOTSTRAP_PATH, to set the pmbootstrap path and skip all of the symlink resolving stuff.
Merge request reports
Activity
- Resolved by clayton craft
Do I understand it correctly that the problem is the part where it checks for whether
/pmb/__init__.py
exists?
- Resolved by clayton craft
It seems like this somehow ended up in !4994 (merged) and as such was merged into master as 40a46fd4.
Edited by Newbyte
mentioned in commit 28f8f313
- Resolved by Pablo Correa Gomez
How about changing the code, so
pmbootstrap.py
could also just not be a symlink? Then you could let the existingPMBOOTSTRAP_CMD
env var point at your pmbootstrap.py inside your pmbootstrap.git clone. And we don't need to add a new, similar environment variable.
added 1 commit
- f3a76fbf - ci: suggest setting PMBOOTSTRAP_CMD when unable to locate pmbootstrap.py
added 72 commits
-
f3a76fbf...0d481795 - 71 commits from branch
master
- 86e91323 - ci: suggest setting PMBOOTSTRAP_CMD when unable to locate pmbootstrap.py (MR 5033)
-
f3a76fbf...0d481795 - 71 commits from branch
enabled an automatic merge when the pipeline for 86e91323 succeeds
added ci label