-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add small readme, make sure Configuration is generic in pipeline
- Loading branch information
Showing
31 changed files
with
383 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Always be deploying | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'README.md' | ||
- '.editorconfig' | ||
push: | ||
paths-ignore: | ||
- 'README.md' | ||
- '.editorconfig' | ||
branches: | ||
- master | ||
tags: | ||
- "*.*.*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- run: | | ||
git fetch --prune --unshallow --tags | ||
echo exit code $? | ||
git tag --list | ||
- uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '3.1.201' | ||
source-url: https://nuget.pkg.github.com/elastic/index.json | ||
env: | ||
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- run: ./build.sh build -s true | ||
name: Build | ||
- run: ./build.sh generatepackages -s true | ||
name: Generate local nuget packages | ||
- run: ./build.sh validatepackages -s true | ||
name: "validate *.npkg files that were created" | ||
- run: ./build.sh generateapichanges -s true | ||
name: "Inspect public API changes" | ||
|
||
- name: publish canary packages github package repository | ||
if: github.event_name == 'push' && startswith(github.ref, 'refs/heads') | ||
shell: bash | ||
run: | | ||
until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols true; do echo "Retrying"; sleep 1; done; | ||
# Github packages requires authentication, this is likely going away in the future so for now we publish to feedz.io | ||
- run: dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.FEEDZ_IO_API_KEY}} -s https://f.feedz.io/elastic/all/nuget/index.json --skip-duplicate --no-symbols true | ||
name: publish canary packages to feedz.io | ||
if: github.event_name == 'push' && startswith(github.ref, 'refs/heads') | ||
|
||
- run: ./build.sh generatereleasenotes -s true | ||
name: Generate release notes for tag | ||
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags') | ||
- run: ./build.sh createreleaseongithub -s true --token ${{secrets.GITHUB_TOKEN}} | ||
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags') | ||
name: Create or update release for tag on github | ||
|
||
- run: dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.NUGET_ORG_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true | ||
name: release to nuget.org | ||
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# elastic-transport-net | ||
|
||
Transport classes and utilities shared among .NET Elastic client libraries | ||
|
||
This library was lifted from [elasticsearch-net](https://github.com/elastic/elasticsearch-net) and then transformed to be used across all Elastic services rather than only Elasticsearch. | ||
|
||
|
||
Provides the clients connectivity components, exposes a (potentially) cluster aware request pipeline that can be resilient to nodes dropping in & out of rotation. | ||
This package is heavily optimized for the Elastic (elastic.co) product suite and Elastic Cloud (cloud.elastic.co) SAAS offering. | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/> | ||
<PropertyGroup> | ||
<Authors>Elastic and contributors</Authors> | ||
<Copyright>Elasticsearch BV</Copyright> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<RepositoryUrl>https://github.com/elastic/elastic-transport-net</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/elastic/elastic-transport-net</PackageProjectUrl> | ||
<PackageReleaseNotes>https://github.com/elastic/elastic-transport-net/releases</PackageReleaseNotes> | ||
|
||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>$(SolutionRoot)\build\keys\keypair.snk</AssemblyOriginatorKeyFile> | ||
|
||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<PackageIcon>nuget-icon.png</PackageIcon> | ||
|
||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="../../nuget-icon.png" CopyToOutputDirectory="PreserveNewest"> | ||
<Link>nuget-icon.png</Link> | ||
<Pack>True</Pack> | ||
<PackagePath>nuget-icon.png</PackagePath> | ||
</Content> | ||
<None Include="../../license.txt" CopyToOutputDirectory="PreserveNewest"> | ||
<Pack>True</Pack> | ||
<PackagePath>license.txt</PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/> | ||
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="4.0.0" PrivateAssets="All" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.