Skip to content

Commit e827ded

Browse files
authored
Stable release (#9)
* Add OpenTelemetry activity tracing * reworked renewals
1 parent 5cd6229 commit e827ded

File tree

13 files changed

+151
-338
lines changed

13 files changed

+151
-338
lines changed

.config/dotnet-tools.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"version": 1,
33
"isRoot": true,
44
"tools": {
5-
"fake-cli": {
6-
"version": "5.20.4",
7-
"commands": [
8-
"fake"
9-
]
10-
},
115
"fsharp.formatting.commandtool": {
126
"version": "9.0.4",
137
"commands": [

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ Pre-requisites:
2323
When building for the first time:
2424
```
2525
dotnet tool restore
26-
dotnet fake build -t init <YOUR_LOCATION> <YOUR_RG> <YOUR_NAMESPACE>
26+
dotnet fsi build.fsx -t init <YOUR_LOCATION> <YOUR_RG> <YOUR_NAMESPACE>
2727
```
2828
Where
2929
- <YOUR_LOCATION> is Azure region where Service Bus will be provisioned
3030
- <YOUR_RG> is the name of the resource group to deploy into
3131
- <YOUR_NAMESPACE> Azure Service Bus namespace to create
3232

3333
```
34-
dotnet fake build
34+
dotnet fsi build.fsx
3535
```
3636

3737

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 1.0.0
2+
* Consumer diagnostic traces
3+
* Token-based renewal cancellation
4+
15
### 1.0.0-beta-1
26

37
* Initial release

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ steps:
3030
addSpnToEnvironment: true
3131
scriptLocation: 'inlineScript'
3232
${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags') }}:
33-
inlineScript: 'dotnet fake build -t release'
33+
inlineScript: 'dotnet fsi build.fsx -t release'
3434
${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/tags')) }}:
35-
inlineScript: 'dotnet fake build -t ci'
35+
inlineScript: 'dotnet fsi build.fsx -t ci'
3636

build.fsx

100644100755
Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
#r "paket:
2-
nuget FSharp.Core ~> 4.7
3-
nuget Fake.DotNet.Cli
4-
nuget Fake.IO.FileSystem
5-
nuget Fake.Core.ReleaseNotes
6-
nuget Fake.Core.Target
7-
nuget Fake.Tools.Git
8-
nuget Microsoft.Extensions.Configuration.Json
9-
nuget Microsoft.Extensions.Configuration.Binder
10-
nuget Farmer ~> 1.4 //"
11-
#load "./.fake/build.fsx/intellisense.fsx"
12-
#if !FAKE
13-
#r "Facades/netstandard"
14-
#endif
1+
#!/usr/bin/env -S dotnet fsi
2+
#r "nuget: Fake.Core.Target"
3+
#r "nuget: Fake.IO.FileSystem"
4+
#r "nuget: Fake.DotNet.Cli"
5+
#r "nuget: Fake.Core.Target"
6+
#r "nuget: Fake.Core.ReleaseNotes"
7+
#r "nuget: Fake.Tools.Git"
8+
#r "nuget: Farmer"
9+
#r "nuget: Microsoft.Extensions.Configuration.Json"
10+
#r "nuget: Microsoft.Extensions.Configuration.Binder"
1511

1612
open Fake.Core
1713
open Fake.Core.TargetOperators
@@ -39,6 +35,13 @@ let ver =
3935
| _ -> SemVer.parse "0.0.0"
4036

4137

38+
System.Environment.GetCommandLineArgs()
39+
|> Array.skip 2 // fsi.exe; build.fsx
40+
|> Array.toList
41+
|> Context.FakeExecutionContext.Create false __SOURCE_FILE__
42+
|> Context.RuntimeContext.Fake
43+
|> Context.setExecutionContext
44+
4245
[<AutoOpen>]
4346
module Shell =
4447
let sh cmd args cwd =

build.fsx.lock

Lines changed: 0 additions & 258 deletions
This file was deleted.

0 commit comments

Comments
 (0)