Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
update launch script
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Brynes committed Feb 21, 2020
1 parent a0bff5c commit 572ced4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ci/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ uploadAssembly "${ASSEMBLY_PREFIX}" "${PROJECT_NAME}"

echo "--- Launching deployment :airplane_departure:"

# If the RUNTIME_VERSION env variable is already set, i.e. - through the Buildkite menu
# then skip reading the file.
if [[ -z $"{RUNTIME_VERSION:-}" ]]; then
export RUNTIME_VERSION="$(cat workers/unity/Packages/io.improbable.gdk.tools/runtime.pinned)"
fi

dotnet run -p workers/unity/Packages/io.improbable.gdk.deploymentlauncher/.DeploymentLauncher/DeploymentLauncher.csproj -- \
create \
--project_name "${PROJECT_NAME}" \
Expand All @@ -26,7 +32,8 @@ dotnet run -p workers/unity/Packages/io.improbable.gdk.deploymentlauncher/.Deplo
--launch_json_path cloud_launch.json \
--snapshot_path snapshots/default.snapshot \
--region EU \
--tags "dev_login"
--tags "dev_login" \
--runtime_version "${RUNTIME_VERSION}"

CONSOLE_URL="https://console.improbable.io/projects/${PROJECT_NAME}/deployments/${ASSEMBLY_NAME}/overview"

Expand Down

0 comments on commit 572ced4

Please sign in to comment.