File tree 5 files changed +31
-8
lines changed
5 files changed +31
-8
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ allowed-duplicate-crates = [
3
3
" bitflags" ,
4
4
" crossterm" ,
5
5
" h2" ,
6
+ " headers-core" ,
7
+ " headers" ,
6
8
" heck" ,
7
- " http" ,
8
9
" http-body" ,
9
- " hyper " ,
10
+ " http " ,
10
11
" hyper-tls" ,
12
+ " hyper" ,
11
13
" mio" ,
12
14
" pbkdf2" ,
13
15
" regex-automata" ,
@@ -16,16 +18,18 @@ allowed-duplicate-crates = [
16
18
" rustls-pemfile" ,
17
19
" syn" ,
18
20
" sync_wrapper" ,
19
- " system-configuration" ,
20
21
" system-configuration-sys" ,
21
- " windows-sys" ,
22
- " windows-targets" ,
22
+ " system-configuration" ,
23
+ " tokio-tungstenite" ,
24
+ " tungstenite" ,
23
25
" windows_aarch64_gnullvm" ,
24
26
" windows_aarch64_msvc" ,
25
27
" windows_i686_gnu" ,
26
28
" windows_i686_msvc" ,
27
29
" windows_x86_64_gnu" ,
28
30
" windows_x86_64_gnullvm" ,
29
31
" windows_x86_64_msvc" ,
32
+ " windows-sys" ,
33
+ " windows-targets" ,
30
34
" winreg" ,
31
35
]
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: build
2
2
3
3
on :
4
4
workflow_call :
5
+ secrets :
6
+ POSTHOG_API_KEY :
7
+ description : ' PostHog API key'
8
+ required : false
5
9
6
10
env :
7
11
CARGO_TERM_COLOR : always
70
74
os : linux
71
75
arch : amd64
72
76
runner : ubuntu-latest
77
+ secrets :
78
+ POSTHOG_API_KEY : ${{ secrets.POSTHOG_API_KEY }}
73
79
74
80
docker-linux-arm64 :
75
81
if : ${{ github.event_name != 'pull_request' }}
80
86
os : linux
81
87
arch : arm64
82
88
runner : buildjet-4vcpu-ubuntu-2204-arm
89
+ secrets :
90
+ POSTHOG_API_KEY : ${{ secrets.POSTHOG_API_KEY }}
83
91
84
92
helm :
85
93
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 18
18
description : ' Runner to use'
19
19
default : ' ubuntu-latest'
20
20
type : string
21
+ secrets :
22
+ POSTHOG_API_KEY :
23
+ description : ' Posthog API key'
24
+ required : true
21
25
22
26
env :
23
27
CARGO_TERM_COLOR : always
67
71
username : ${{ github.actor }}
68
72
password : ${{ secrets.GITHUB_TOKEN }}
69
73
70
- - name : Build and push
74
+ - name : container-build
71
75
id : build
72
76
uses : docker/build-push-action@v6
73
77
with :
Original file line number Diff line number Diff line change 24
24
packages : write
25
25
26
26
uses : ./.github/workflows/build.yml
27
+ secrets :
28
+ POSTHOG_API_KEY : ${{ secrets.POSTHOG_API_KEY }}
27
29
28
30
merge :
29
31
runs-on : ubuntu-latest
@@ -149,8 +151,13 @@ jobs:
149
151
tool : git-cliff
150
152
151
153
- name : changelog
154
+ if : startsWith(github.ref, 'refs/tags/')
152
155
run : git cliff -o CHANGELOG.md -l
153
156
157
+ - name : changelog
158
+ if : github.ref == 'refs/heads/main'
159
+ run : git cliff -o CHANGELOG.md -u
160
+
154
161
- name : versioned release
155
162
uses : softprops/action-gh-release@v2
156
163
if : startsWith(github.ref, 'refs/tags/')
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ pub struct Serve {
30
30
// TODO(thomas): fetch these from the CRD
31
31
#[ clap( long, default_value = "1hr" ) ]
32
32
inactivity_timeout : humantime:: Duration ,
33
- /// Client ID for the OpenID provider that will be used.
33
+ /// Client ID for the ` OpenID` provider that will be used.
34
34
#[ clap( long, default_value = CLIENT_ID , env = "KUBERIFT_CLIENT_ID" ) ]
35
35
client_id : String ,
36
- /// URL to the OpenID configuration. This is how the server knows what
36
+ /// URL to the ` OpenID` configuration. This is how the server knows what
37
37
/// endpoints to use and how to validate tokens.
38
38
#[ clap( long, default_value = OID_CONFIG_URL , env = "KUBERIFT_OID_CONFIG_URL" ) ]
39
39
openid_configuration : String ,
You can’t perform that action at this time.
0 commit comments