Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Set up CD with Azure Pipelines (#3)
Browse files Browse the repository at this point in the history
* Set correct assembly metadata
* Update metadata and documentation
  • Loading branch information
mbhoek authored Jun 30, 2019
1 parent 0eb188f commit ff85226
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,43 @@ You can find me (@mbhoek) on https://gitter.im/techtalk/specflow-plugin-dev for
- [ ] Proper README
- [x] Add LICENSE
- [ ] Make issue tracker available (1.0.0+)
- [ ] Move TODO to TODO+ document?
- Too bad VS does not support TODO+ extension (it's VSCode only)
- [ ] Howto setup services
- [ ] NuGet
- [ ] Azure DevOps
- [ ] GitHub

### CI/CD

- [x] Semantic versioning
- GitVersion Build Task
- [ ] GitHub workflow (?)
- [x] GitHub workflow (?)
- https://guides.github.com/introduction/flow/
- [ ] CI -> Azure Pipelines
- [ ] Build using Azure Pipelines
- [ ] Smoke Test using the .Tests project
- Can't really get used to this, I prefer gitflow thus far
- Trying to stick to it just to learn
- [x] CI -> Azure Pipelines
- [x] Build using Azure Pipelines
- [x] Smoke Test using the .Tests project
- [ ] CD -> NuGet
- [ ] Release a succesful build (gating?)
- [x] Release a succesful build (gating?)
- [ ] Signed packages
- https://docs.microsoft.com/en-us/nuget/reference/signed-packages-reference
- I'd like to sign the release commits (in git) as well (tags?)
- Signed packages feels like a hassle with the Certification needed (and costs)
- Probably best delayed until it's a really popular package
- [ ] GitHub Releases? How and why?
- [x] Implement GitHub Release from Azure DevOps
- Still feels like you always need a manual step to release (vs GitFlow which allows you to auto-release)

### Code

- [x] Add .gitignore
- [ ] Add .editorconfig
- [ ] Add source code quality guidelines
- [ ] Add SourceLink
- [x] Add SourceLink
- https://devblogs.microsoft.com/nuget/introducing-source-code-link-for-nuget-packages/
- [x] Set Assembly metadata correctly

### Tests

Expand All @@ -52,4 +66,3 @@ You can find me (@mbhoek) on https://gitter.im/techtalk/specflow-plugin-dev for
- [ ] Slack
- [ ] Twitter
- [ ] LinkedIn
- [ ] GitHub Releases
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19324-01">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="SpecFlow" Version="3.0.224" />
<PackageReference Include="SpecFlow.Tools.MsBuild.Generation" Version="3.0.224" />
<PackageReference Include="SpecFlow.xUnit" Version="3.0.224" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<AssemblyName>SolidToken.SpecFlow.DependencyInjection.SpecFlowPlugin</AssemblyName>
<PackageId>SolidToken.SpecFlow.DependencyInjection</PackageId>
<Product>SpecFlow.DependencyInjection</Product>
<Description>SpecFlow Plugin for Microsoft.Extensions.DependencyInjection</Description>
<Authors>Mark Hoek</Authors>
<Company>Solid Token</Company>
Expand All @@ -12,13 +12,15 @@
<RepositoryUrl>https://github.com/solidtoken/SpecFlow.DependencyInjection.git</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<RootNamespace>SolidToken.SpecFlow.DependencyInjection</RootNamespace>
<AssemblyName>SolidToken.SpecFlow.DependencyInjection.SpecFlowPlugin</AssemblyName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="4.0.1-beta1-65">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.2.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19324-01" PrivateAssets="All" />
<PackageReference Include="SpecFlow" Version="3.0.224" />
</ItemGroup>
</Project>

0 comments on commit ff85226

Please sign in to comment.