Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 8bb900d

Browse files
author
Jamie Brynes
authored
Fix launch script (#61)
1 parent 9ce7c43 commit 8bb900d

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

ci/launch.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,18 @@ buildkite-agent artifact download "build\assembly\**\*" .
1111

1212
uploadAssembly "${ASSEMBLY_PREFIX}" "${PROJECT_NAME}"
1313

14-
echo "Launching deployments"
15-
16-
spatial cloud launch "${ASSEMBLY_NAME}" cloud_launch.json "${ASSEMBLY_NAME}" --snapshot=snapshots/default.snapshot
14+
echo "Launching deployment"
15+
16+
dotnet run -p workers/unity/Packages/io.improbable.gdk.deploymentlauncher/.DeploymentLauncher/DeploymentLauncher.csproj -- \
17+
create \
18+
--project_name "${PROJECT_NAME}" \
19+
--assembly_name "${ASSEMBLY_NAME}" \
20+
--deployment_name "${ASSEMBLY_NAME}" \
21+
--launch_json_path cloud_launch.json \
22+
--snapshot_path snapshots/default.snapshot \
23+
--region EU \
24+
--tags "dev_login"
1725

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

20-
buildkite-agent annotate --style "success" "Deployment URL: ${CONSOLE_URL}"
28+
buildkite-agent annotate --style "success" "Deployment URL: ${CONSOLE_URL}<br/>"

0 commit comments

Comments
 (0)