removal of authoring service
All checks were successful
Build Org Website / build (push) Successful in 50s

This commit is contained in:
2026-05-13 15:47:57 +01:00
parent 8feaef21f1
commit d8927c17ba
6 changed files with 26 additions and 5637 deletions

View File

@@ -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