Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
Ryan Newton d8bc6f7339 Major change: use fully qualified docker image names: e.g. ambrosia/ambrosia-dev 2018-12-12 17:56:36 -08:00
Ryan Newton 8a838c7368 Change ambrosia docker tag names to ambrosia/ambrosia 2018-12-12 17:25:23 -08:00
Ryan Newton 18e54cfa4c Remove the copy of AmbrosiaCS.csproj from ALL scripts that execute AmbrosiaCS codegen 2018-12-12 13:18:23 -08:00
Jonathan Goldstein b74fa61aae Committing merge 2018-12-12 11:15:22 -08:00
Jonathan Goldstein ea8c2a2e49 Added all dependencies everywhere to aboid dll hell 2018-12-12 11:13:49 -08:00
Ryan Newton 5d47f2b38c Merge branch 'master' into ryan/native 2018-12-11 23:10:09 -08:00
Ryan Newton 7213a75383 Fix powershell scripts to not mutate the environment (it can affect the calling shell). Add a link to CONTRIBUTING.md 2018-12-11 22:53:58 -08:00
Ryan Newton 5dbfe0a042 native: significant refactoring. Get the tiny hello world program running. 2018-12-11 18:33:41 -08:00
Darren 7fdf7598c4 Fixed bug where using AMBVARIANT and was clashing with Generate-Assemblies. Made separate env var (AMBVARIANTCORE) to fix it 2018-12-11 16:37:40 -08:00
Ryan Newton f5c9245d5c Refactor: moving pieces out of service.c into the native lib 2018-12-11 15:23:30 -08:00
Ryan Newton c0676ec63d Native: cleanup and refactor: add upport/downport args to connect_sockets 2018-12-11 11:40:10 -08:00
Ryan Newton 34716dc004 native WIP: update the checkpoint send for the new protocol 2018-12-11 10:42:42 -08:00
Ryan Newton d72a87a6e4 Native: cleanup and refactor: add upport/downport args to connect_sockets 2018-12-11 10:42:41 -08:00
Ryan Newton 9ec0dae746 minor: add PORTOFFSET idiom to PTI run_small_PTI_and_shutdown gesture for local, non-containerized testing 2018-12-11 10:42:17 -08:00
Ryan Newton c2dfc69d37 Update wire protocol doc (still unfinished) + tweak how runAmbrosia script traps errors 2018-12-10 19:05:36 -08:00
Ryan Newton 638d70ce67 runAmbrosia: add exit-cleanup to handle signals or exit on error 2018-12-10 17:23:49 -08:00
Darren 1814c24b48 Updated Async tests to work. The Job.csproj in PerformanceTest needed Newtonsoft 2018-12-10 14:48:15 -08:00
Ryan Newton 631fa4de38 Up the ante: require PTI to pass on both Win/netcore and Win/net46 2018-12-10 13:57:08 -08:00
Ryan Newton 1479a8c4b0 Generalize the build script to try to get PTI codegen working on Win/net46 CI 2018-12-10 13:23:20 -08:00
Jonathan Goldstein d35d1c9efe Merge branch 'master' of https://github.com/Microsoft/AMBROSIA 2018-12-10 11:06:23 -08:00
Jonathan Goldstein 0799778705 Added rounds and exiting to PerformanceTest 2018-12-10 11:05:22 -08:00
Ryan Newton d5f6785a31 Fix previous: change PATH in Dockerfile so that Job/Server are in fact on path. 2018-12-10 10:46:53 -08:00
Ryan Newton c7cad7a302 Remove the publishing of PTI Job/Server into ./bin (required symlinks).
Leave the Job/Server publish dirs separate and use them in place in test scripts.

The only place where we are STILL unsafely munging published output is
in CodeGenDependencies.  Search for "DANGER, WARNING, FIXME", which
occurs in three scripts.
2018-12-10 10:30:44 -08:00
Ryan Newton 323ab04942 Native client: more cleanup and refactor 2018-12-09 20:18:55 -08:00
Ryan Newton 2a69085bfb Native client cleanup 2018-12-09 18:49:57 -08:00
Ryan Newton 499344842e wip on restoring native service and test 2018-12-09 17:22:45 -08:00
Ryan Newton f9651c41fe work on run_small pti variant. Get it working with bash 3.2 for Mac OS 2018-12-09 16:17:19 -05:00
Ryan Newton 28430577c5 Attempt to CLEANUP the registered instances to prevent growth without bound 2018-12-09 12:04:43 -08:00
Ryan Newton b90d387ff0 Attempt to uniformly use unique instance names based on BUILD_BUILDID 2018-12-09 11:53:27 -08:00
Ryan Newton 80b0451992 Add a CI mode for testing the tmux script so it doesnt become rotted. Looks funny but works. Push things down into an internal directory. 2018-12-09 11:38:29 -08:00
Ryan Newton 6301595487 Restore TwoContainers script and push the CI frontier so that PTI is expected pass in container mode. 2018-12-09 11:03:08 -08:00
Ryan Newton a519d4c48d Several things:
* build_docker: turn on output DEDUP
 * build_docker: tweak env vars responded to for suppressing different steps
 * runAmbrosiaService: rework shutdown sequence
 * run_linux_ci: don't extract tarball when running tests
 * PTI/run_small: fix regression bug when reworking this script to use runAmb*
 * DusBin: file away KubernetesLocalDemo as unfinished for now

Testing: This commit passes ./Scripts/run_linux_ci.sh on my Mac laptop.
2018-12-09 10:46:35 -08:00
Ryan Newton 2173258c21 Add argument to run_small_PTI to differentiate instance names and run concurrently 2018-12-09 01:07:45 -08:00
Ryan Newton b97cf3d71b Typo fix in script. Tweak the single-container PTI to use relative logs. Trying to get it going locally non-dockerized 2018-12-09 00:58:57 -08:00
Ryan Newton 0d49a77298 Script changes: set OS, and use squish mode on macos for now (needs realpath). Change runAmbrosiaService so that the immortal coordinator lines can be tagged differently 2018-12-09 00:48:25 -08:00
Ryan Newton 0d6d4241d7 Several things:
* Disable PTI attempts for now, which are currently erroring on
   AddRegister and then hanging on ImmortalCoord lanuch.
   This is blocked on the ./bin corruption at
   the moment due to muxing dotnet publish outputs.
 * Switch the build_dotnet_bindist.sh script to not "cross the
   streams" and leave these outputs separate (needs symlinks!)  .
 * Switch the Linux CI to "nodocker" default if no argument is given
 * Script tweak to make run_small_PTI_and_shutdown.sh more usable by hand.
2018-12-09 01:31:39 -05:00
Ryan Newton 914828d8b4 Remove unnecessary execute perms from binary distribution, which avoids polluting tab completion. 2018-12-08 20:03:00 -08:00
Ryan Newton a3dc329231 Refactors in the scripts for launching PTI. (But still don't demand that it passes.) 2018-12-08 17:31:39 -08:00
Ryan Newton 9222d0c6ad Factor out the run-PTI stuff from build_docker_images and into its own CI script. Call it but don't demand that it work. 2018-12-08 17:04:03 -08:00
Ryan Newton 8470562b85 Shifting the frontier of what's tested / expected pass:
* net46: working up through codegen, but not PTI Job/Server build
 * docker: fully build (but not run) PTI again
2018-12-08 15:06:55 -08:00
Ryan Newton 4188c97843 Several changes related to restoring CI:
* allow codegen errors for now on net46 (Expected Failure)
  * truncate the Dockerfile to just before codegen for PTI
    (and therefore unset DONT_BUILD_PTI flag from CI script)
  * update README badges
Also set AMBROSIA_DOTNET_* env vars in Dockerfile.
2018-12-08 14:14:13 -08:00
Ryan Newton e47b574ed5 Push the non-docker build script up through the end of the PTI build. 2018-12-08 11:53:37 -08:00
Ryan Newton 673ab88b1d Fix PTI cross-platform build script to populate AmbrosiaCS.csproj in the dest dir before running Codegen 2018-12-08 11:44:25 -08:00
Ryan Newton bb54cbd5cd Remove GeneratedSourceFiles for PTI - that currently needs to be rerun for different platforms it seems. Add gitignore. Remove azure-pipelines -- ADO committed that without even asking!! 2018-12-08 11:19:49 -08:00
Ryan Newton c3133b185d Bring Linux (non-docker) CI up to where Windows is -- attempt codegen but allow Expected Failure. 2018-12-08 10:43:41 -08:00
Ryan Newton bce7d65472 Fix shell scripting error replicated in several places. 2018-12-08 10:29:30 -08:00
Tal Zaccai c38dcd269f bugfix 2018-12-08 01:02:08 -08:00
Ryan Newton 04b1dabfa5 Merge in wip/test-codegen branch which develops the CI and dotnet CLI scripts. 2018-12-07 23:06:08 -08:00
Ryan Newton 9f0c6db676 Merge branch 'master' of github.com:Microsoft/AMBROSIA 2018-12-07 16:22:54 -08:00
Ryan Newton 64c2f14dc8 Publish PTI to a separate directory, not mixing with the published output of the core AMBROSIA binary distribution, CC #5 2018-12-07 16:22:50 -08:00