Skip to content

feat: Add SubjectResource entity and db migration #1409

feat: Add SubjectResource entity and db migration

feat: Add SubjectResource entity and db migration #1409

Triggered via pull request August 24, 2024 15:55
Status Failure
Total duration 2m 38s
Artifacts

ci-cd-pull-request.yml

on: pull_request
Check for changes  /  Filter
3s
Generate git short sha  /  Generate git short sha
3s
Get current version  /  Filter
2s
build-infrastructure  /  build
build  /  build-and-test
49s
Dry run deploy infrastructure  /  deploy
Dry run deploy apps  /  Deploy migration job to test
1m 7s
Matrix: Dry run deploy apps / deploy-apps

Annotations

10 errors and 4 warnings
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/External/Altinn/ResourceRegistryClient.cs#L12
'ResourceRegistryClient.GetUpdatedSubjectResources(DateTimeOffset)': not all code paths return a value
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/Program.cs#L7
'IConfigurationBuilder' does not contain a definition for 'AddUserSecrets' and no accessible extension method 'AddUserSecrets' accepting a first argument of type 'IConfigurationBuilder' could be found (are you missing a using directive or an assembly reference?)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/Program.cs#L9
The type or namespace name 'IResourceRegistry' could not be found (are you missing a using directive or an assembly reference?)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/Program.cs#L9
The type or namespace name 'ResourceRegistryClient' could not be found (are you missing a using directive or an assembly reference?)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/External/Altinn/IResourceRegistry.cs#L1
Remove the underscores from assembly name Digdir_Tool_Dialogporten_SubjectResourceSync (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/External/Altinn/IResourceRegistry.cs#L3
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/External/Altinn/IResourceRegistry.cs#L3
Accessibility modifiers required (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0040)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/Features/UpdateSubjectResources/UpdateSubjectResources.cs#L19
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/Program.cs#L8
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build / build-and-test: src/Digdir.Tool.Dialogporten.SubjectResourceSync/External/Altinn/IResourceRegistry.cs#L1
Namespace "Digdir.Tool.Dialogporten.SubjectResourceSync.External.Altinn" does not match folder structure, expected "Digdir_Tool_Dialogporten_SubjectResourceSync.External.Altinn" (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0130)
Dry run deploy apps / Deploy migration job to test
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Dry run deploy apps / Deploy graphql to test
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Dry run deploy apps / Deploy web-api-so to test
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Dry run deploy apps / Deploy web-api-eu to test
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.