-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #214 from JeremiahSanders/release/1.14.0
Release/1.14.0
- Loading branch information
Showing
31 changed files
with
1,231 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit # Fail or exit immediately if there is an error. | ||
set -o nounset # Fail if an unset variable is used. | ||
set -o pipefail # Fail pipelines if any command errors, not just the last one. | ||
|
||
# Build a local CICEE executable and use its exec command to invoke 'ci/bin/compose.sh'. | ||
|
||
# Context | ||
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd .. && pwd)" | ||
SCRIPT_LOCATION="$(dirname "${BASH_SOURCE[0]}")" | ||
|
||
"${SCRIPT_LOCATION}/cicee-local.sh" exec --harness direct --project-root "${PROJECT_ROOT}" --command "ci/bin/compose.sh" --verbosity "Verbose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit # Fail or exit immediately if there is an error. | ||
set -o nounset # Fail if an unset variable is used. | ||
set -o pipefail # Fail pipelines if any command errors, not just the last one. | ||
|
||
# Build a local CICEE executable and use its exec command to invoke 'ci/bin/validate.sh'. | ||
|
||
# Context | ||
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd .. && pwd)" | ||
SCRIPT_LOCATION="$(dirname "${BASH_SOURCE[0]}")" | ||
|
||
"${SCRIPT_LOCATION}/cicee-local.sh" exec --harness direct --project-root "${PROJECT_ROOT}" --command "ci/bin/validate.sh" --verbosity "Verbose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -o errexit # Fail or exit immediately if there is an error. | ||
set -o nounset # Fail if an unset variable is used. | ||
set -o pipefail # Fail pipelines if any command errors, not just the last one. | ||
|
||
# Execute the normal cicee-exec.sh entrypoint (normally used by CICEE) from current source, providing the variables which CICEE would normally provide. | ||
|
||
# Context | ||
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd .. && pwd)" | ||
LOCAL_CICEE_TEMP_DIR="${TMPDIR}/cicee-entrypoint" | ||
|
||
function __generate_cicee_binary(){ | ||
targetFramework="net8.0" | ||
# Publish the application so we can work with CICEE similarly to other projects | ||
# NOTE: Previous implementations used `dotnet run -- lib`. This stopped working. | ||
# When using `dotnet run` the raw output to STDOUT is prefixed with invisible control characters. Those characters trigger file not found responses from `source <path>`. | ||
# However, if the DLL is executed with `dotnet <dll>` then the output of STDOUT lacks the control characters and it can be loaded with `source`. | ||
rm -rf "${LOCAL_CICEE_TEMP_DIR}" && | ||
mkdir -p "${LOCAL_CICEE_TEMP_DIR}" && | ||
dotnet publish "${PROJECT_ROOT}/src" --framework "${targetFramework}" --output "${LOCAL_CICEE_TEMP_DIR}" | ||
} | ||
|
||
# Now run 'exec' using the Direct harness | ||
__generate_cicee_binary && dotnet "${LOCAL_CICEE_TEMP_DIR}/cicee.dll" $@ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.