-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from trz42/enhancement/bot-side-4-bot-build
support for `bot/build.sh` in software layer
- Loading branch information
Showing
6 changed files
with
322 additions
and
254 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Slurm job script to call bot/build.sh in target pull request. | ||
# | ||
# This file is part of the EESSI build-and-deploy bot, | ||
# see https://github.com/EESSI/eessi-bot-software-layer | ||
# | ||
# The bot helps with requests to add software installations to the | ||
# EESSI software layer, see https://github.com/EESSI/software-layer | ||
# | ||
# author: Kenneth Hoste (@boegel) | ||
# author: Thomas Roeblitz (@trz42) | ||
# | ||
# license: GPLv2 | ||
# | ||
|
||
# ASSUMPTIONs: | ||
# - working directory has been prepared by the bot with a checkout of a | ||
# pull request (OR by some other means) | ||
# - the working directory contains a directory 'cfg' where the main config | ||
# file 'job.cfg' has been deposited | ||
# - the directory may contain any additional files references in job.cfg, | ||
# for example, repos.cfg and configuration file bundles for repositories | ||
|
||
echo "Starting bot-build.slurm" | ||
if [ -f bot/build.sh ]; then | ||
echo "bot/build.sh script found in '${PWD}', so running it!" | ||
bot/build.sh | ||
else | ||
fatal_error "could not find bot/build.sh script in '${PWD}'" | ||
fi |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.