mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
Fixed limit override, now appends
This commit is contained in:
parent
f2e011a3b4
commit
4b884ab567
@ -22,6 +22,8 @@ if [[ ! -f $SCRIPT_HOME/../semaphore.simg ]]; then
|
||||
else
|
||||
# Build RPM
|
||||
module load singularity || echo 'Not using modules'
|
||||
cd ${SEMAPHORE_HOME} && singularity exec semaphore.simg task release
|
||||
cd ${SEMAPHORE_HOME} && singularity exec $SCRIPT_HOME/../semaphore.simg task release
|
||||
chmod a+rx ${SEMAPHORE_HOME}/bin
|
||||
chmod a+r ${SEMAPHORE_HOME}/bin/*
|
||||
fi
|
||||
|
||||
|
@ -672,7 +672,7 @@ func (t *TaskRunner) getPlaybookArgs() (args []string, err error) {
|
||||
|
||||
if t.task.Limit != "" {
|
||||
t.Log("--limit="+t.task.Limit)
|
||||
args = append(taskExtraArgs, "--limit="+t.task.Limit)
|
||||
taskExtraArgs = append(taskExtraArgs, "--limit="+t.task.Limit)
|
||||
}
|
||||
|
||||
args = append(args, templateExtraArgs...)
|
||||
|
Loading…
Reference in New Issue
Block a user