File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 6
6
from sigstore import dsse
7
7
from sigstore ._internal .rekor .client_v2 import (
8
8
DEFAULT_KEY_DETAILS ,
9
+ DEFAULT_REKOR_URL ,
10
+ STAGING_REKOR_URL ,
9
11
Certificate ,
10
12
Hashed ,
11
13
LogEntry ,
20
22
from sigstore .sign import ec
21
23
22
24
ALPHA_REKOR_V2_URL = "https://log2025-alpha1.rekor.sigstage.dev"
25
+ LOCAL_REKOR_V2_URL = "http://localhost:3000"
23
26
24
27
25
- # TODO: add staging and production URLs when available.
26
- @pytest .fixture (params = [ALPHA_REKOR_V2_URL ])
28
+ # TODO: add staging and production URLs when available,
29
+ # and local after using scaffolding/setup-sigstore-env action
30
+ @pytest .fixture (
31
+ params = [
32
+ ALPHA_REKOR_V2_URL ,
33
+ pytest .param (STAGING_REKOR_URL , marks = pytest .mark .xfail ),
34
+ pytest .param (DEFAULT_REKOR_URL , marks = pytest .mark .xfail ),
35
+ pytest .param (LOCAL_REKOR_V2_URL , marks = pytest .mark .xfail ),
36
+ ]
37
+ )
27
38
def client (request ) -> RekorV2Client :
28
39
"""
29
40
Returns a RekorV2Client. This fixture is paramaterized to return clients with various URLs.
You can’t perform that action at this time.
0 commit comments