Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEODE-9549: enable netcore tests in CI #867

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
364f525
GEODE-9549: Enable .net core tests in CI
pdxcodemonkey Aug 25, 2021
a648f6f
GEODE-9549: Change to serverless Concourse workers (I hope)
pdxcodemonkey Aug 25, 2021
515cd14
GEODE-9549: gcloud didn't like distroless, maybe ubuntu will make it …
pdxcodemonkey Aug 25, 2021
c163877
GEODE-9549: I think 'slim' is a valid value for gcloud-sdk
pdxcodemonkey Aug 25, 2021
284edcf
GEODE-9549: Well, that didn't work
pdxcodemonkey Aug 25, 2021
757156b
GEODE-9549: Try pinned Alpine 3.13 image
pdxcodemonkey Aug 26, 2021
e2b33ba
GEODE-9549: Build NetCore and NetCore.Test projects individually
pdxcodemonkey Aug 26, 2021
086297e
GEODE-9549: Attempt to fix up build order of netcore projects
pdxcodemonkey Aug 27, 2021
312fae7
GEODE-9549: Change install source dir for NetCore
pdxcodemonkey Aug 27, 2021
8d12919
GEODE-9549: Fix case of directory name in cmake install directive
pdxcodemonkey Sep 15, 2021
974279f
GEODE-9549: Remove post-build steps in .net core projects
pdxcodemonkey Sep 15, 2021
e8ee708
GEODE-9549: Copy C bindings lib to binary dir for tests
pdxcodemonkey Sep 17, 2021
2cb716a
GEODE-9549: Fix up a couple of cmake issues
pdxcodemonkey Sep 17, 2021
31fde17
GEODE-9549: Add scripts project, and configure startserver.ps1
pdxcodemonkey Sep 17, 2021
67cb1e9
GEODE-9549: configure remaining start/stop scripts
pdxcodemonkey Sep 17, 2021
f27effa
GEODE-9549: Specify individual projects in netcore CMakeLists.txt files
pdxcodemonkey Sep 17, 2021
ebab9f7
GEODE-9549: Use ctest to run netcore tests
pdxcodemonkey Sep 17, 2021
5529b52
GEODE-9549: Enable ctest for session tests
pdxcodemonkey Sep 17, 2021
6ebc993
GEODE-9549: remove netcore scripts directory
pdxcodemonkey Sep 17, 2021
5c480d8
GEODE-9549: Make .net core project build in sequence
pdxcodemonkey Sep 19, 2021
34f7ccf
GEODE-9549: Fix netcore test builds
pdxcodemonkey Sep 19, 2021
80d5c79
GEODE-9549: Add license notification to cmake file
pdxcodemonkey Sep 19, 2021
7e176f1
GEODE-9549: Fix source path for library install step
pdxcodemonkey Sep 19, 2021
f8c0392
GEODE-9549: Enable netcore and session tests using ctest
pdxcodemonkey Sep 19, 2021
13acd38
Revert "GEODE-9549: Enable netcore and session tests using ctest"
pdxcodemonkey Sep 19, 2021
2b712c3
GEODE9549: Add ctest for .net core tests
pdxcodemonkey Sep 19, 2021
145976d
GEODE-9549: fix typo
pdxcodemonkey Sep 19, 2021
c375ea3
GEODE-9549: Need to be in the right binary dir to execute netcore tests
pdxcodemonkey Sep 19, 2021
3532bcc
GEODE-9549: Fix up directories for netcore tests
pdxcodemonkey Sep 20, 2021
a005b97
GEODE-9549: Run tests in the build directory, not source
pdxcodemonkey Sep 20, 2021
9cb596f
GEODE-9549: Specify config on dotnet test command line
pdxcodemonkey Sep 20, 2021
7a2d3bf
GEODE-9549: Fix typo
pdxcodemonkey Sep 20, 2021
651a5a9
GEODE-9549: Add tests back into CI
pdxcodemonkey Sep 20, 2021
8f9a4de
GEODE-9549: Only scan netcore subdirectories if we're building .net core
pdxcodemonkey Sep 21, 2021
577c387
GEODE-9549: rename netcore project dirs, remove mixed case names
pdxcodemonkey Sep 21, 2021
3ee183a
Rename .net core project files to match new solution
pdxcodemonkey Sep 21, 2021
7bdb884
GEODE-9549: Finish renaming of netcore projects
pdxcodemonkey Sep 21, 2021
51c7cad
GEODE-9549: Fix up netcore directory names in CI
pdxcodemonkey Sep 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
GEODE-9549: Fix up directories for netcore tests
- Still didn't get it right, they sure use a lot of subdirectories
  • Loading branch information
pdxcodemonkey committed Sep 20, 2021
commit 3532bccc3fc53d0b433bccf4040045b5790c822c
4 changes: 2 additions & 2 deletions ci/lib/templates.lib.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ set -ueo pipefail
remote_shell cmake -E chdir (@= path @) ctest -C ${CMAKE_CONFIG} -j(@= str(parallel) @) --timeout=(@= str(timeout) @) --output-on-failure --repeat until-pass:4 --schedule-random
(@- end @)

(@ def netcore_ctest_bash_task(path, build_config, timeout=300, parallel=6): -@)
(@ def netcore_ctest_bash_task(path, build_config, runtime_version, timeout=300, parallel=6): -@)
set -ueo pipefail
(@= remote_functions() @)
remote_shell cmake -E chdir (@= path @)/bin/(@= build_config @) ctest -C ${CMAKE_CONFIG} -j(@= str(parallel) @) --timeout=(@= str(timeout) @) --output-on-failure --repeat until-pass:4 --schedule-random
remote_shell cmake -E chdir (@= path @)/bin/(@= build_config @)/(@= runtime_version) ctest -C ${CMAKE_CONFIG} -j(@= str(parallel) @) --timeout=(@= str(timeout) @) --output-on-failure --repeat until-pass:4 --schedule-random
(@- end @)

(@ def clang_tidy_bash_task(): -@)
Expand Down
5 changes: 3 additions & 2 deletions ci/lib/templates.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#@ "instance_variables",
#@ "google_variables",
#@ "ctest_bash_task",
#@ "netcore_ctest_bash_task",
#@ "clang_tidy_bash_task",
#@ "clang_format_bash_task",
#@ "rat_check_bash_task",
Expand Down Expand Up @@ -218,8 +219,8 @@ plan:
- #@ remote_task("net-integration-tests", config.config, ctest_bash_task("build/clicache/integration-test2"), "1h", build.params)
- #@ remote_task("net-legacy-integration-tests", config.config, ctest_bash_task("build/clicache/integration-test", timeout=500, parallel=4), "2h", build.params)
#@ end
- #@ remote_task("netcore-integration-test", config.config, netcore_ctest_bash_task("source/netcore/NetCore.Test", config.name, parallel=1), "10m", build.params)
- #@ remote_task("netcore-session-integration-test", config.config, netcore_ctest_bash_task("source/netcore/NetCore.Session.IntegrationTest", config.name, parallel=1), "10m", build.params)s
- #@ remote_task("netcore-integration-test", config.config, netcore_ctest_bash_task("source/netcore/NetCore.Test", config.config, netcore_runtime.version, parallel=1, netcore_runtime.version), "10m", build.params)
- #@ remote_task("netcore-session-integration-test", config.config, netcore_ctest_bash_task("source/netcore/NetCore.Session.IntegrationTests", config.config, netcore_runtime.version, parallel=1), "10m", build.params)
on_failure:
in_parallel:
steps:
Expand Down
4 changes: 4 additions & 0 deletions ci/release/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ configs:
#@overlay/append
- name: release
config: RelWithDebInfo

netcore_runtime:
- version: netcoreapp3.1