-
Notifications
You must be signed in to change notification settings - Fork 30
[GV-115] Enable multiple engines in CI with Example Project #76
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
Conversation
…by-scheduled-builds' into feature/ci-multi-engine
Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/GV-115 |
$deployment_url = "https://console.improbable.io/projects/${project_name}/deployments/${deployment_name}/overview" | ||
$deployment_button = @{ | ||
type = "button" | ||
text = ":cloud: Deployment $($i+1)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way we can name the deployment after the engine version? Not essential.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to, but hit the deployment name limit, I guess we could just change the entire format so it no longer includes the full timestamp or the gdk commit or something, but I thought it could be annoying to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps you could put it in the deployment description? I've never used it, but apparently there is a --deployment_description
option when launching a deployment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good, I can try that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this, but I can't find the description anywhere in the console :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! Couple questions.
ci/generate-pipeline-steps.sh
Outdated
|
||
# Download the unreal-engine.version file from the GDK repo so we can run the example project builds on the same versions the GDK was run against | ||
GDK_BRANCH_LOCAL="${GDK_BRANCH:-master}" | ||
curl https://raw.githubusercontent.com/spatialos/UnrealGDK/$GDK_BRANCH_LOCAL/ci/unreal-engine.version -o ci/unreal-engine.version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems brittle, but I tried git-ing a single file and it was also annoying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed that we should try to change this, I will try running some experiments on how we could replace this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't find a good replacement, but made this more robust in exchange
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
$deployment_url = "https://console.improbable.io/projects/${project_name}/deployments/${deployment_name}/overview" | ||
$deployment_button = @{ | ||
type = "button" | ||
text = ":cloud: Deployment $($i+1)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps you could put it in the deployment description? I've never used it, but apparently there is a --deployment_description
option when launching a deployment.
Enables multiple engine versions to be tested simultaneously in CI, by reusing the GDK's unreal-engine.version file.
Engine PR to facilitate this: https://github.com/improbableio/UnrealEngine/pull/289
Reviewers: @ImprobableVlad @joshuahuburn