Skip to content

Skip building Samples.OracleMDA.* projects#1477

Merged
lucaspimentel merged 2 commits into
masterfrom
lpimentel/remove-oracle-sample-apps
May 25, 2021
Merged

Skip building Samples.OracleMDA.* projects#1477
lucaspimentel merged 2 commits into
masterfrom
lpimentel/remove-oracle-sample-apps

Conversation

@lucaspimentel

@lucaspimentel lucaspimentel commented May 19, 2021

Copy link
Copy Markdown
Member

Remove Samples.OracleMDA and Samples.OracleMDA.Core from build scripts. We don't use them and they are causing issues with the build in #1468. We still need to figure out how to run them in CI anyway, and hopefully by that point we'll have build scripts that are easier to work with (see #1476).

Notes:

  • I added PR comments to the two changes I made manually. Everything else it auto-generated by the GeneratePackageVersions tool.
  • I canceled some of the pipelines which were not necessary (benchmarks, Crank, runner). Let me know if you want me to run them before merging.

@lucaspimentel lucaspimentel added area:builds project files, build scripts, pipelines, versioning, releases, packages status:work-in-progress Actively worked on. If this is a PR, no review needed yet. WIP. type:cleanup Minor code clean up labels May 19, 2021
Comment on lines -81 to -94
},
{
"IntegrationName": "OracleMDA",
"SampleProjectName": "Samples.OracleMDA",
"NugetPackageSearchName": "Oracle.ManagedDataAccess",
"MinVersion": "18.3.0",
"MaxVersionExclusive": "20.0.0"
},
{
"IntegrationName": "OracleMDACore",
"SampleProjectName": "Samples.OracleMDA.Core",
"NugetPackageSearchName": "Oracle.ManagedDataAccess.Core",
"MinVersion": "2.18.3",
"MaxVersionExclusive": "3.0.0"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Manual change

Comment thread build/docker/build.sh Outdated

dotnet publish -f $publishTargetFramework -c $buildConfiguration test/test-applications/instrumentation/CallTargetNativeTest/CallTargetNativeTest.csproj -p:Configuration=$buildConfiguration -p:ManagedProfilerOutputDirectory="$PUBLISH_OUTPUT"

for sample in Samples.Elasticsearch Samples.Elasticsearch.V5 Samples.ServiceStack.Redis Samples.StackExchange.Redis Samples.SqlServer Samples.Microsoft.Data.SqlClient Samples.MongoDB Samples.HttpMessageHandler Samples.WebRequest Samples.Npgsql Samples.MySql Samples.GraphQL Samples.Dapper Samples.NoMultiLoader Samples.RabbitMQ Samples.RuntimeMetrics Samples.FakeDbCommand Samples.Microsoft.Data.Sqlite Samples.SQLite.Core Samples.OracleMDA Samples.OracleMDA.Core ; do

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Manual change

@lucaspimentel lucaspimentel changed the title [WIP] Skip building Samples.OracleMDA.* projects Skip building Samples.OracleMDA.* projects May 19, 2021
@lucaspimentel lucaspimentel removed the status:work-in-progress Actively worked on. If this is a PR, no review needed yet. WIP. label May 19, 2021
@lucaspimentel lucaspimentel marked this pull request as ready for review May 19, 2021 22:17
@lucaspimentel lucaspimentel requested a review from a team as a code owner May 19, 2021 22:17
@andrewlock

Copy link
Copy Markdown
Member

I think this is fine if it unblocks you, but also, it's pretty bad we're not running this in CI. AFACIT we can run Oracle in Docker, so is it just a licensing issue? If so, is it worth looking into testing directly against their cloud, e.g. using their free tier. Even if we only ran it nightly (to avoid outages or flakiness blocking CI etc)?

@tonyredondo tonyredondo requested a review from a team May 20, 2021 18:47

@zacharycmontoya zacharycmontoya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. This is worth creating an internal ticket so we are aware of this testing gap

@lucaspimentel lucaspimentel force-pushed the lpimentel/remove-oracle-sample-apps branch from 01565c4 to badae75 Compare May 25, 2021 15:16
@lucaspimentel

Copy link
Copy Markdown
Member Author

/azp run runner

@lucaspimentel lucaspimentel merged commit 13ee2e4 into master May 25, 2021
@lucaspimentel lucaspimentel deleted the lpimentel/remove-oracle-sample-apps branch May 25, 2021 22:30
@andrewlock andrewlock added this to the 1.27.0 milestone Jun 1, 2021
zacharycmontoya pushed a commit that referenced this pull request Jun 11, 2021
* remove unused Samples.OracleMDA and Samples.OracleMDA.Core from build scripts
* run GeneratePackageVersions tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages type:cleanup Minor code clean up

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants