Skip to content

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

Merged
merged 7 commits into from
May 9, 2024
Merged

Conversation

BorisDog
Copy link
Collaborator

@BorisDog BorisDog commented May 6, 2024

No description provided.

OS=${OS} \
${PROJECT_DIRECTORY}/evergreen/install-dependencies.sh

prepare-resources:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this?

Copy link
Collaborator Author

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)
Copy link
Member

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.

Copy link
Collaborator Author

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.

Copy link
Member

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.

@BorisDog BorisDog requested a review from sanych-sun May 9, 2024 18:49
Copy link
Member

@sanych-sun sanych-sun left a 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"
Copy link
Member

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.

@BorisDog BorisDog requested a review from sanych-sun May 9, 2024 19:34
Copy link
Member

@sanych-sun sanych-sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BorisDog BorisDog merged commit 6778676 into mongodb:main May 9, 2024
4 checks passed
@BorisDog BorisDog deleted the vs118 branch May 9, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants