Skip to content

CI check to avoid duplicate directory bot errors#204

Open
agimenog wants to merge 1 commit intoEESSI:mainfrom
agimenog:bot_script_ci
Open

CI check to avoid duplicate directory bot errors#204
agimenog wants to merge 1 commit intoEESSI:mainfrom
agimenog:bot_script_ci

Conversation

@agimenog
Copy link
Copy Markdown

Hi,

Same as EESSI/software-layer#1464 but for software-layer-scripts

run: |
set -e

for file in $(ls software-layer | egrep -v 'easystacks|LICENSE|README.md|^bot'); do
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh script (i.e. with ls software-layer-scripts on 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants