removal of authoring service
All checks were successful
Build Org Website / build (push) Successful in 50s
All checks were successful
Build Org Website / build (push) Successful in 50s
This commit is contained in:
@@ -60,8 +60,9 @@ $Config = @{
|
||||
RetryCount = 3
|
||||
RetryDelaySeconds = 2
|
||||
AuthoringTestsEnabled = $true
|
||||
AuthoringServiceDirectory = '/home/zaine/master-folder/projects/authoring-service'
|
||||
AuthoringTestsPattern = 'test_authoring_server.py'
|
||||
AuthoringTestsDirectory = Join-Path $PSScriptRoot 'tests'
|
||||
AuthoringTestsDirectory = '/home/zaine/master-folder/projects/authoring-service/tests'
|
||||
AuthoringTestTimeoutSec = 120
|
||||
|
||||
# Tune these patterns to your build tooling.
|
||||
@@ -991,8 +992,8 @@ function Send-BuildStatusNotification {
|
||||
}
|
||||
|
||||
function Get-PythonCommand {
|
||||
$linuxVenvPython = Join-Path $PSScriptRoot '.venv/bin/python'
|
||||
$windowsVenvPython = Join-Path $PSScriptRoot '.venv/Scripts/python.exe'
|
||||
$linuxVenvPython = Join-Path $Config.AuthoringServiceDirectory '.venv/bin/python'
|
||||
$windowsVenvPython = Join-Path $Config.AuthoringServiceDirectory '.venv/Scripts/python.exe'
|
||||
|
||||
if (Test-Path -Path $linuxVenvPython) {
|
||||
return $linuxVenvPython
|
||||
@@ -1032,7 +1033,7 @@ function Invoke-AuthoringServerTests {
|
||||
foreach ($argument in $arguments) {
|
||||
$process.StartInfo.ArgumentList.Add([string]$argument)
|
||||
}
|
||||
$process.StartInfo.WorkingDirectory = $PSScriptRoot
|
||||
$process.StartInfo.WorkingDirectory = $Config.AuthoringServiceDirectory
|
||||
$process.StartInfo.UseShellExecute = $false
|
||||
$process.StartInfo.RedirectStandardOutput = $true
|
||||
$process.StartInfo.RedirectStandardError = $true
|
||||
|
||||
Reference in New Issue
Block a user