-
Notifications
You must be signed in to change notification settings - Fork 9
VS-118: Create Analyzer EG pipeline #55
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
evergreen/evergreen.yml
Outdated
OS=${OS} \ | ||
${PROJECT_DIRECTORY}/evergreen/install-dependencies.sh | ||
|
||
prepare-resources: |
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.
Do we need 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.
Thanks, removed.
{ | ||
var driverVersion = Environment.GetEnvironmentVariable("DRIVER_VERSION"); | ||
|
||
if (driverVersion != null) |
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.
IMHO: it would be better just to expect of Environment variable to be set. Because otherwise it could hide missed variable, by using defaults.
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.
We need those presets for testing in IDE.
But good point, maybe we can think of some other trick.
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.
In Rider there is a way to specify Environment vars for unit tests. I suppose VS could have something similar.
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, one additional comment regarding push script.
if [ -z "$PACKAGE_VERSION" ] | ||
then | ||
PACKAGE_VERSION=$(git describe --tags) | ||
echo Calculated PACKAGE_VERSION value: "$PACKAGE_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.
In Driver's CI we agreed not to calculate PACKAGE_VERSION for package_push script to avoid accidental pushing incorrect version to nuget.
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.
LGTM
No description provided.