Skip to content
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

Add Snippet Generator as a tool to be published, update dotnet.yml to… #1834

Merged
merged 7 commits into from Jul 24, 2021

Conversation

chidozieononiwu
Copy link
Member

  • Add Snippet Generator as a tool to be published, update dotnet.yml to be published to the azure-sdk-tools devOps feed

@check-enforcer-staging
Copy link

This pull request is protected by Check Enforcer.

What is Check Enforcer?

Check Enforcer helps ensure all pull requests are covered by at least one check-run (typically an Azure Pipeline). When all check-runs associated with this pull request pass then Check Enforcer itself will pass.

Why am I getting this message?

You are getting this message because Check Enforcer did not detect any check-runs being associated with this pull request within five minutes. This may indicate that your pull request is not covered by any pipelines and so Check Enforcer is correctly blocking the pull request being merged.

What should I do now?

If the check-enforcer check-run is not passing and all other check-runs associated with this PR are passing (excluding license-cla) then you could try telling Check Enforcer to evaluate your pull request again. You can do this by adding a comment to this pull request as follows:
/check-enforcer evaluate
Typically evaulation only takes a few seconds. If you know that your pull request is not covered by a pipeline and this is expected you can override Check Enforcer using the following command:
/check-enforcer override
Note that using the override command triggers alerts so that follow-up investigations can occur (PRs still need to be approved as normal).

@pakrym
Copy link
Contributor

pakrym commented Jul 22, 2021

No CI pipelines seem to be running, is that expected?

@pakrym
Copy link
Contributor

pakrym commented Jul 22, 2021

@christothes FYI

@chidozieononiwu
Copy link
Member Author

/azp run azure-sdk-tools - dotnet

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@chidozieononiwu
Copy link
Member Author

/azp run azure-sdk-tools - dotnet

@azure-pipelines
Copy link

Azure Pipelines failed to run 2 pipeline(s).

@chidozieononiwu
Copy link
Member Author

/azp run azure-sdk-tools - dotnet

@azure-pipelines
Copy link

Azure Pipelines failed to run 2 pipeline(s).

@chidozieononiwu
Copy link
Member Author

/azp run azure-sdk-tools - dotnet

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@chidozieononiwu
Copy link
Member Author

/azp run azure-sdk-tools - dotnet

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@chidozieononiwu
Copy link
Member Author

/azp run azure-sdk-tools - dotnet

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@chidozieononiwu
Copy link
Member Author

chidozieononiwu commented Jul 22, 2021

No CI pipelines seem to be running, is that expected?

It shows up now.

@pakrym
Copy link
Contributor

pakrym commented Jul 22, 2021

Doesn't look like generator tests are running.

@chidozieononiwu chidozieononiwu force-pushed the AddSnippetGenerator branch 5 times, most recently from 8dd1412 to 14d5ced Compare July 24, 2021 00:54
@pakrym
Copy link
Contributor

pakrym commented Jul 24, 2021

Did you manage to get the tests running?

@@ -11,7 +11,8 @@ trigger:
- hotfix/*
paths:
include:
- src/dotnet/Azure.ClientSdk.Analyzers
- dotnet.proj
- src/dotnet/*
Copy link
Member

Choose a reason for hiding this comment

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

I don't think /* is doing what you expect as devops doesn't support wildcards in the paths.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh I see. Will src/dotnet work?

Copy link
Member

Choose a reason for hiding this comment

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

Yes I believe it should work without the *

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
Copy link
Member

Choose a reason for hiding this comment

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

Did we intend to change this to net5?

Copy link
Member Author

Choose a reason for hiding this comment

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

Praveen is fixing this up with another PR.

@weshaggard
Copy link
Member

@chidozieononiwu where you able to get the tests working?

<PropertyGroup>
<OutputType>Exe</OutputType>
<Description>Generates code snippets for readmes in the azure-sdk-for-net repo.</Description>
<TargetFramework>net5.0</TargetFramework>
Copy link
Member

Choose a reason for hiding this comment

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

@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
Copy link
Member

Choose a reason for hiding this comment

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

For new things comming into the tools repo it would be good if you put them under the "tools/" folder as we want to clean-up the "src/" folder overtime

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.

None yet

3 participants