CI check to avoid duplicate directory bot errors#204
Open
agimenog wants to merge 1 commit intoEESSI:mainfrom
Open
CI check to avoid duplicate directory bot errors#204agimenog wants to merge 1 commit intoEESSI:mainfrom
agimenog wants to merge 1 commit intoEESSI:mainfrom
Conversation
bedroge
reviewed
Apr 17, 2026
| run: | | ||
| set -e | ||
|
|
||
| for file in $(ls software-layer | egrep -v 'easystacks|LICENSE|README.md|^bot'); do |
Contributor
There was a problem hiding this comment.
I'm not sure if @casparvl had the same idea in https://gitlab.com/eessi/support/-/work_items/241, but I would basically run it in the exact same way as the one in software-layer:
- clone the software-layer repo
- clone software-layer-scripts in a subdir of software-layer
- run the symlinks commands as in software-layer's
bot/build.shscript (i.e. withls software-layer-scriptson this line)
This should ensure that the ln commands in software-layer always work. By having the same check on both sides, no duplicates can be introduced on either side.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
Same as EESSI/software-layer#1464 but for software-layer-scripts