-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eliott Bouhana <[email protected]>
- Loading branch information
1 parent
700c3dc
commit ee2309e
Showing
3 changed files
with
28 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -euv | ||
|
||
if [ -e "/binaries/orchestrion" ]; then | ||
echo "Install from folder /binaries/orchestrion" | ||
go mod edit -replace github.com/DataDog/orchestrion=/binaries/orchestrion | ||
go -C /binaries/orchestrion build -o "$(go env GOPATH)/bin/orchestrion" . | ||
elif [ -e "/binaries/orchestrion-load-from-go-get" ]; then | ||
echo "Install from go get -d $(cat /binaries/orchestrion-load-from-go-get)" | ||
go install "$(cat /binaries/orchestrion-load-from-go-get)" | ||
else | ||
echo "Installing production orchestrion" | ||
go install github.com/DataDog/orchestrion@latest | ||
fi | ||
|
||
orchestrion pin | ||
|
||
output="$(orchestrion version)" | ||
version="${output#"orchestrion "}" | ||
echo "$version" > SYSTEM_TESTS_ORCHESTRION_VERSION | ||
|
||
echo "orchestrion version: $(cat /app/SYSTEM_TESTS_ORCHESTRION_VERSION)" |
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