File tree 2 files changed +3
-16
lines changed
2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,7 @@ class RunACICommand extends Command {
27
27
`subscription-id=${ flags [ 'subscription-id' ] } ` ,
28
28
`storage-account=${ flags [ 'storage-account' ] } ` ,
29
29
`blob-container=${ flags [ 'blob-container' ] } ` ,
30
- `resource-group=${ flags [ 'resource-group' ] } ` ,
31
- `client-id=${ flags [ 'client-id' ] } ` ,
32
- `client-secret=${ flags [ 'client-secret' ] } `
30
+ `resource-group=${ flags [ 'resource-group' ] } `
33
31
] ;
34
32
35
33
RunCommand . runCommandImplementation ( flags , argv , args ) ;
@@ -82,14 +80,6 @@ RunACICommand.flags = {
82
80
'resource-group' : Flags . string ( {
83
81
description :
84
82
'Azure Resource Group name. May also be set via AZURE_RESOURCE_GROUP environment variable.'
85
- } ) ,
86
- 'client-id' : Flags . string ( {
87
- description :
88
- 'Azure app client ID. May also be set via AZURE_CLIENT_ID environment variable.'
89
- } ) ,
90
- 'client-secret' : Flags . string ( {
91
- description :
92
- 'Azure app client secret. May also be set via AZURE_CLIENT_SECRET environment variable.'
93
83
} )
94
84
} ;
95
85
Original file line number Diff line number Diff line change @@ -44,11 +44,8 @@ class PlatformAzureACI {
44
44
this . azureSubscriptionId =
45
45
process . env . AZURE_SUBSCRIPTION_ID ||
46
46
platformOpts . platformConfig [ 'subscription-id' ] ;
47
- this . azureClientId =
48
- process . env . AZURE_CLIENT_ID || platformOpts . platformConfig [ 'client-id' ] ;
49
- this . azureClientSecret =
50
- process . env . AZURE_CLIENT_SECRET ||
51
- platformOpts . platformConfig [ 'client-secret' ] ;
47
+ this . azureClientId = process . env . AZURE_CLIENT_ID ;
48
+ this . azureClientSecret = process . env . AZURE_CLIENT_SECRET ;
52
49
53
50
this . storageAccount =
54
51
process . env . AZURE_STORAGE_ACCOUNT ||
You can’t perform that action at this time.
0 commit comments