Skip to content

Commit 6827c9b

Browse files
committed
Redesign of command handling
1 parent de21ef0 commit 6827c9b

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/cd-pipeline.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ on:
88
environment:
99
required: true
1010
type: string
11-
11+
secrets:
12+
DATAVERSECLIENTID:
13+
required: true
14+
DATAVERSECLIENTSECRET:
15+
required: true
16+
DATAVERSEENVURL:
17+
required: true
1218

1319
jobs:
1420
Deployment:

.github/workflows/main-pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ jobs:
5757
if: ${{ (github.ref == 'refs/heads/main' || contains(github.ref, 'release')) && github.event_name != 'pull_request' }}
5858
with:
5959
environment: 'staging'
60-
60+
secrets:
61+
DATAVERSECLIENTID: ${{ secrets.DATAVERSECLIENTID }}
62+
DATAVERSECLIENTSECRET: ${{ secrets.DATAVERSECLIENTSECRET }}
63+
DATAVERSEENVURL: ${{ secrets.DATAVERSEENVURL }}
6164

6265

6366

src/Dataverse.ConfigurationMigrationTool/Dataverse.ConfigurationMigrationTool.Console/Services/Dataverse/SdkDataverseServiceFactory.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ public SdkDataverseServiceFactory(IOptions<SdkDataverseServiceFactoryOptions> op
1818
}
1919
public IOrganizationServiceAsync2 Create()
2020
{
21+
_logger.LogInformation("ClientId Length", _options.ClientId.ToString().Length);
22+
_logger.LogInformation("ClientSecret Length", _options.ClientSecret.ToString().Length);
23+
_logger.LogInformation("Url Length", _options.Url.ToString().Length);
2124
// throw new InvalidOperationException($"test: {_options.Url} {_options.ClientId} {_options.ClientSecret}");
2225
var serviceClient = new ServiceClient(
2326
new Uri(_options.Url),

0 commit comments

Comments
 (0)