-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding snap configuration and badge Signed-off-by: Skye Gill <gill.skye95@gmail.com> Signed-off-by: Alex <alexsimonjones@gmail.com> Co-authored-by: Skye Gill <gill.skye95@gmail.com>
- Loading branch information
1 parent
418b9ef
commit c619844
Showing
4 changed files
with
57 additions
and
1 deletion.
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
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,26 @@ | ||
### Snap | ||
|
||
flagD can be released on the snapstore as a snap package. | ||
The homepage for the snap is found [here](https://snapcraft.io/flagd/) | ||
|
||
#### Login | ||
|
||
`snapcraft login` | ||
|
||
#### Build | ||
|
||
`snapcraft` | ||
|
||
Run this command from `snap` directory. | ||
|
||
#### Release | ||
|
||
``` | ||
snapcraft upload flagd_<VERSION>_amd64.snap --release=candidate | ||
``` | ||
|
||
#### Promotion | ||
|
||
``` | ||
snapcraft promote flagd --from-channel=candidate --to-channel=stable | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: flagd | ||
base: core20 | ||
version: "v0.2.5" # x-release-please-version | ||
summary: A feature flag daemon with a Unix philosophy | ||
description: | | ||
Flagd is a simple command line tool for fetching and evaluating feature flags for services. It is designed to conform with the OpenFeature specification. | ||
grade: stable # must be 'stable' to release into candidate/stable channels | ||
confinement: strict | ||
architectures: | ||
- build-on: amd64 | ||
- build-on: arm64 | ||
apps: | ||
flagd: | ||
command: bin/flagd | ||
plugs: | ||
- home | ||
- network | ||
- network-bind | ||
parts: | ||
home: | ||
# See 'snapcraft plugins' | ||
plugin: go | ||
source-type: git | ||
source: https://github.com/open-feature/flagd.git |
c619844
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Go Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.30
.BenchmarkConnectService_ResolveBoolean/happy_path
3917
ns/op 968 B/op 23 allocs/op2845
ns/op 264 B/op 6 allocs/op1.38
BenchmarkConnectService_ResolveString/happy_path
3902
ns/op 1000 B/op 24 allocs/op2872
ns/op 280 B/op 6 allocs/op1.36
BenchmarkConnectService_ResolveFloat/happy_path
4183
ns/op 1040 B/op 24 allocs/op2775
ns/op 264 B/op 6 allocs/op1.51
BenchmarkConnectService_ResolveInt/happy_path
3925
ns/op 968 B/op 23 allocs/op2835
ns/op 264 B/op 6 allocs/op1.38
BenchmarkConnectService_ResolveObject/happy_path
6033
ns/op 2400 B/op 44 allocs/op4342
ns/op 1424 B/op 21 allocs/op1.39
This comment was automatically generated by workflow using github-action-benchmark.