File tree Expand file tree Collapse file tree 7 files changed +5
-11
lines changed
deploy/vagrant/sfdev/base Expand file tree Collapse file tree 7 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -479,8 +479,6 @@ jobs:
479479 npx playwright install
480480
481481 - name : Run E2E tests
482- env :
483- HG_PATH : /usr/bin/hg
484482 run : ./src/SIL.XForge.Scripture/ClientApp/e2e/pre_merge_ci.sh
485483
486484 - name : Publish test results
Original file line number Diff line number Diff line change @@ -599,9 +599,6 @@ cd ~/code/web-xforge && dotnet clean
599599# Undo temporary changes and/or clean up
600600cd ~/code/web-xforge && git checkout -- .config/dotnet-tools.json
601601
602- # Use system hg.
603- tee --append ~/.pam_environment >/dev/null <<<'HG_PATH=/usr/bin/hg'
604-
605602# Docker
606603
607604# https://docs.docker.com/desktop/install/linux-install/
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ RUN apt-get install -y \
2424 nodejs \
2525 && rm -rf /var/lib/apt/lists/*
2626# Setup Scripture Forge Paths
27- RUN ln -s /usr/bin/hg /usr/local/bin/hg \
28- && mkdir -p /var/lib/scriptureforge/sync \
27+ RUN mkdir -p /var/lib/scriptureforge/sync \
2928 && mkdir -p /var/lib/scriptureforge/audio \
3029 && mkdir -p /var/lib/scriptureforge/training-data \
3130 && mkdir -p /var/lib/xforge/avatars \
Original file line number Diff line number Diff line change 3838 "SecurePort" : 5005
3939 },
4040 "Paratext" : {
41- "HgExe" : " /usr/local/ bin/hg"
41+ "HgExe" : " /usr/bin/hg"
4242 },
4343 "Serval" : {
4444 "ApiServer" : " https://qa.serval-api.org" ,
Original file line number Diff line number Diff line change 2626 "BackendClientId" : " D7bF2gHmMVAaC67a1GF6f0DdQdRpqQwA"
2727 },
2828 "Paratext" : {
29- "HgExe" : " /usr/local/ bin/hg"
29+ "HgExe" : " /usr/bin/hg"
3030 },
3131 "Serval" : {
3232 "ApiServer" : " https://qa.serval-api.org" ,
Original file line number Diff line number Diff line change 4141string secondVersion = await File . ReadAllTextAsync ( secondVersionFileName ) ;
4242
4343// Set up Mercurial
44- string customHgPath = Environment . GetEnvironmentVariable ( "HG_PATH" ) ?? "/usr/local/ bin/hg" ;
44+ string customHgPath = Environment . GetEnvironmentVariable ( "HG_PATH" ) ?? "/usr/bin/hg" ;
4545if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
4646{
4747 customHgPath = Path . GetExtension ( customHgPath . ToLowerInvariant ( ) ) != ".exe" ? customHgPath + ".exe" : customHgPath ;
Original file line number Diff line number Diff line change 6161}
6262
6363// Set up Mercurial
64- string customHgPath = Environment . GetEnvironmentVariable ( "HG_PATH" ) ?? "/usr/local/ bin/hg" ;
64+ string customHgPath = Environment . GetEnvironmentVariable ( "HG_PATH" ) ?? "/usr/bin/hg" ;
6565if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
6666{
6767 customHgPath = Path . GetExtension ( customHgPath . ToLowerInvariant ( ) ) != ".exe" ? customHgPath + ".exe" : customHgPath ;
You can’t perform that action at this time.
0 commit comments