File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
integration-tests/js-compute/fixtures/secret-store Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ zx.verbose = true;
19
19
20
20
let stores = await ( async function ( ) {
21
21
try {
22
- return JSON . parse ( await zx `fastly secret-store list --json --token $FASTLY_API_TOKEN` )
22
+ return JSON . parse ( await zx `fastly secret-store list --quiet -- json --token $FASTLY_API_TOKEN` )
23
23
} catch {
24
24
return { data :[ ] }
25
25
}
26
26
} ( ) )
27
27
28
28
const STORE_ID = stores . data . find ( ( { name } ) => name === 'example-test-secret-store' ) ?. id
29
29
if ( ! STORE_ID ) {
30
- process . env . STORE_ID = JSON . parse ( await zx `fastly secret-store create --name=example-test-secret-store --json --token $FASTLY_API_TOKEN` ) . id
30
+ process . env . STORE_ID = JSON . parse ( await zx `fastly secret-store create --quiet -- name=example-test-secret-store --json --token $FASTLY_API_TOKEN` ) . id
31
31
} else {
32
32
process . env . STORE_ID = STORE_ID ;
33
33
}
@@ -43,4 +43,4 @@ let key = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
43
43
await zx `fastly resource-link create --version latest --resource-id $STORE_ID --token $FASTLY_API_TOKEN --autoclone`
44
44
await zx `fastly service-version activate --version latest --token $FASTLY_API_TOKEN`
45
45
46
- console . log ( `Set up has finished! Took ${ ( Date . now ( ) - startTime ) / 1000 } seconds to complete` ) ;
46
+ console . log ( `Set up has finished! Took ${ ( Date . now ( ) - startTime ) / 1000 } seconds to complete` ) ;
You can’t perform that action at this time.
0 commit comments