Skip to content

2683 - Correct the directory structure#397

Merged
hopep-mobilise merged 1 commit into
mainfrom
2683-validate-infra-dir-fix
Jun 22, 2026
Merged

2683 - Correct the directory structure#397
hopep-mobilise merged 1 commit into
mainfrom
2683-validate-infra-dir-fix

Conversation

@hopep-mobilise

Copy link
Copy Markdown
Contributor

Context

Update the validate infra workflow to match the directory structure.

https://trello.com/c/p76gfyrn/2683-schedule-validate-infra-workflow

Changes proposed in this pull request

Update the terraform_base and terraform_version_file variables.

Guidance to review

Run the "Validate Infra" workflow as it already exists for the service. You can point it at the branch but that will always produce a false positive as the docker image will be different for main and the branch but you should see that the structure is correct and it's just the sha that's different. This will produce a workflow Teams message in SD Infra Alerts Teams channel.

image

There are 3 jobs in the workflow, AKS infrastructure, Domains infrastructure and Domains environment. The workflow card will show which job to look at in the bottom left corner (Infrastructure in the image above). You can click the Workflow Run button to go to the correct run.
The jobs must show a green tick not a red cross.
You can alter any value in the terraform production.tfvars.json in your branch to check that the terraform plan picks up those changes, remembering that the docker image is a false positive.

Checklist

  • I have performed a self-review of my code, including formatting and typos
  • I have cleaned the commit history
  • I have added the Devops label
  • I have attached the pull request to the trello card

@github-actions

Copy link
Copy Markdown

Summary

Summary
Generated on: 06/22/2026 - 08:30:35
Parser: Cobertura
Assemblies: 4
Classes: 120
Files: 117
Line coverage: 79.4% (2352 of 2961)
Covered lines: 2352
Uncovered lines: 609
Coverable lines: 2961
Total lines: 7693
Branch coverage: 71.2% (362 of 508)
Covered branches: 362
Total branches: 508
Method coverage: Feature is only available for sponsors

Coverage

SAPData - 79.8%
Name Line Branch
SAPData 79.8% 64.4%
SAPData.Filters.SqlViewFilterProvider 100% 100%
SAPData.GenerateIndexes 100% 100%
SAPData.GenerateRawTables 58.6% 39%
SAPData.GenerateViews 86.8% 83.7%
SAPData.Models.DataMapMapping 0%
SAPPub.Core - 76.9%
Name Line Branch
SAPPub.Core 76.9% 100%
SAPPub.Core.Enums.Progress8BandingExtensions 100% 100%
SAPPub.Core.Exceptions.NotFoundException 100%
SAPPub.Core.Extensions.DoubleExtensions 100%
SAPPub.Core.Extensions.EstablishmentExtensions 100%
SAPPub.Core.Extensions.EstablishmentStatusExtensions 94.7% 100%
SAPPub.Core.Extensions.SchoolSearchDocumentExtensions 100%
SAPPub.Core.Extensions.StringExtensions 100% 100%
SAPPub.Core.Helpers.AcademicYearsHelper 100%
SAPPub.Core.Helpers.MappingHelper 88.8% 100%
SAPPub.Core.Helpers.TextHelpers 86.6% 100%
SAPPub.Core.ServiceModels.Common.Pager 75%
SAPPub.Core.ServiceModels.Search.InputModels.SearchQuery 100%
SAPPub.Core.Services.EmailService 100% 100%
SAPPub.Core.Services.EstablishmentService 100%
SAPPub.Core.Services.Gateway.GatewayLocalAuthorityService 0%
SAPPub.Core.Services.Gateway.GatewaySettingsService 0%
SAPPub.Core.Services.Gateway.GatewayUserAuditService 0%
SAPPub.Core.Services.Gateway.GatewayUserLAService 0%
SAPPub.Core.Services.Gateway.GatewayUserService 0%
SAPPub.Core.Services.KS4.Absence.EnglandAbsenceService 100%
SAPPub.Core.Services.KS4.Absence.EstablishmentAbsenceService 100%
SAPPub.Core.Services.KS4.Absence.LAAbsenceService 100%
SAPPub.Core.Services.KS4.Attendance.AttendanceService 100% 100%
SAPPub.Core.Services.KS4.Destinations.EnglandDestinationsService 100%
SAPPub.Core.Services.KS4.Destinations.EstablishmentDestinationsService 100%
SAPPub.Core.Services.KS4.Destinations.LADestinationsService 100%
SAPPub.Core.Services.KS4.DestinationsService 0%
SAPPub.Core.Services.KS4.Performance.EnglandPerformanceService 100%
SAPPub.Core.Services.KS4.Performance.EnglishAndMathsResultsService 100%
SAPPub.Core.Services.KS4.Performance.EstablishmentPerformanceService 100%
SAPPub.Core.Services.KS4.Performance.LAPerformanceService 100%
SAPPub.Core.Services.KS4.SubjectEntries.EstablishmentSubjectEntriesService 100%
SAPPub.Core.Services.KS4.Workforce.EstablishmentWorkforceService 100%
SAPPub.Core.Services.MySchoolsListService 94.5% 100%
SAPPub.Core.Services.Search.FeatureFlagSearchVisibilityPolicy 0%
SAPPub.Core.ValueObjects.CodedDouble 0%
SAPPub.Infrastructure - 62.5%
Name Line Branch
SAPPub.Infrastructure 62.5% 31.8%
SAPPub.Infrastructure.Mapping.ValueCodes.CodedDoubleTypeHandler 9% 0%
SAPPub.Infrastructure.Mapping.ValueCodes.ReasonCodeLookup 50%
SAPPub.Infrastructure.Mapping.ValueCodes.ReflectionCodedValueMapper 0% 0%
SAPPub.Infrastructure.Mapping.ValueCodes.ValueCodeParser 0% 0%
SAPPub.Infrastructure.PostcodeLookup.PostcodeLookupService 100%
SAPPub.Infrastructure.PostgresSearch.PostgresSchoolSearchIndexReader 100%
SAPPub.Infrastructure.Repositories.EmailRepository 94.1%
SAPPub.Infrastructure.Repositories.EstablishmentRepository 100% 100%
SAPPub.Infrastructure.Repositories.Gateway.GatewayLocalAuthorityRepository 100% 100%
SAPPub.Infrastructure.Repositories.Gateway.GatewayUserAuditRepository 100%
SAPPub.Infrastructure.Repositories.Gateway.GatewayUserRepository 100%
SAPPub.Infrastructure.Repositories.Generic.DapperCommandBuilder 0% 0%
SAPPub.Infrastructure.Repositories.Generic.DapperRepository`1 90% 100%
SAPPub.Infrastructure.Repositories.Generic.JSONRepository`1 0% 0%
SAPPub.Infrastructure.Repositories.Helpers.DapperHelpers 70.8% 11.1%
SAPPub.Infrastructure.Repositories.KS4.Absence.EnglandAbsenceRepository 100%
SAPPub.Infrastructure.Repositories.KS4.Absence.EstablishmentAbsenceReposito
ry
100%
SAPPub.Infrastructure.Repositories.KS4.Absence.LAAbsenceRepository 100%
SAPPub.Infrastructure.Repositories.KS4.Destinations.EnglandDestinationsRepo
sitory
100%
SAPPub.Infrastructure.Repositories.KS4.Destinations.EstablishmentDestinatio
nsRepository
100%
SAPPub.Infrastructure.Repositories.KS4.Destinations.LADestinationsRepositor
y
100%
SAPPub.Infrastructure.Repositories.KS4.Performance.EnglandPerformanceReposi
tory
100%
SAPPub.Infrastructure.Repositories.KS4.Performance.EstablishmentPerformance
Repository
100%
SAPPub.Infrastructure.Repositories.KS4.Performance.LAPerformanceRepository 100%
SAPPub.Infrastructure.Repositories.KS4.SubjectEntries.EstablishmentSubjectE
ntriesRepository
100%
SAPPub.Infrastructure.Repositories.KS4.Workforce.EstablishmentWorkforceRepo
sitory
100%
SAPPub.Infrastructure.Repositories.LaUrlsRepository 100%
SAPPub.Web - 86.9%
Name Line Branch
SAPPub.Web 86.9% 88.6%
SAPPub.Web.Areas.Compare.Filters.SecondaryComparisonQueryValidationAttribut
e
100%
SAPPub.Web.Areas.Compare.ViewModels.Secondary.CompareSecondarySchoolBaseVie
wModel
100%
SAPPub.Web.Areas.Gateway.Controllers.GatewayController 53% 50%
SAPPub.Web.Constants.Constants 100%
SAPPub.Web.Controllers.CookiesController 90.4% 100%
SAPPub.Web.Controllers.ErrorController 82.3% 100%
SAPPub.Web.Controllers.HealthController 67.5% 100%
SAPPub.Web.Controllers.HelpController 100%
SAPPub.Web.Controllers.HomeController 100%
SAPPub.Web.Controllers.MySchoolsController 100% 100%
SAPPub.Web.Controllers.MySchoolsListController 100% 100%
SAPPub.Web.Controllers.SchoolController 0%
SAPPub.Web.Controllers.SearchController 100% 100%
SAPPub.Web.Controllers.SecondarySchoolController 100%
SAPPub.Web.Helpers.CommonHelper 100% 100%
SAPPub.Web.Helpers.DisplayField`1 93.7%
SAPPub.Web.Helpers.DisplayFieldExtensions 100% 100%
SAPPub.Web.Helpers.EnumHelper 100%
SAPPub.Web.Helpers.TempDataHelper 91.6% 100%
SAPPub.Web.Helpers.UrlHelper 100% 100%
SAPPub.Web.Middleware.DependenciesExtensions 100% 100%
SAPPub.Web.Middleware.GatewayMiddleware 100% 100%
SAPPub.Web.Middleware.GatewayMiddlewareExtensions 0%
SAPPub.Web.Middleware.NotFoundExceptionHandler 50% 50%
SAPPub.Web.Middleware.SecurityHeadersMiddleware 89.1%
SAPPub.Web.Middleware.SecurityHeadersMiddlewareExtensions 100%
SAPPub.Web.Models.Common.PagerViewModel 62% 100%
SAPPub.Web.Models.Common.PaginationItem 85.7%
SAPPub.Web.Models.ErrorViewModel 0%
SAPPub.Web.Models.MySchools.MySchoolModel 100%
SAPPub.Web.Models.MySchools.MySchoolsListViewModel 100%
SAPPub.Web.Models.Search.SearchResult 100% 100%
SAPPub.Web.Models.Search.SearchResultsViewModel 100% 100%
SAPPub.Web.Models.SecondarySchool.AboutSchoolViewModel 100% 100%
SAPPub.Web.Models.SecondarySchool.AcademicPerformanceAttainmentAndProgressV
iewModel
99% 100%
SAPPub.Web.Models.SecondarySchool.AcademicPerformanceEnglishAndMathsResults
ViewModel
100%
SAPPub.Web.Models.SecondarySchool.AcademicPerformanceSubjectsEnteredViewMod
el
100%
SAPPub.Web.Models.SecondarySchool.AdmissionsViewModel 100% 100%
SAPPub.Web.Models.SecondarySchool.AttendanceViewModel 100%
SAPPub.Web.Models.SecondarySchool.CurriculumAndExtraCurricularActivitiesVie
wModel
100%
SAPPub.Web.Models.SecondarySchool.DestinationsViewModel 100%
SAPPub.Web.Models.SecondarySchool.SecondarySchoolBaseViewModel 100%
SAPPub.Web.Models.SecondarySchool.SuccessorOrPredecessorDetailsModel 100%
SAPPub.Web.ViewComponents.Banner.Banner 100%
SAPPub.Web.ViewComponents.MySchools.AddSchoolButton 100%
SAPPub.Web.ViewComponents.Pagination.Pagination 100%
SAPPub.Web.ViewComponents.VerticalNavigation.VerticalNavigation 100%
SAPPub.Web.ViewComponents.VerticalNavigation.VerticalNavigationModel 100%
SAPPub.Web.ViewComponents.VerticalNavigationCompareSecondary.VerticalNaviga
tionCompareSecondary
100%
SAPPub.Web.ViewComponents.VerticalNavigationCompareSecondary.VerticalNaviga
tionCompareSecondaryModel
0% 0%
SAPPub.Web.ViewComponents.VerticalNavigationMySchools.VerticalNavigationMyS
chools
100%
SAPSec.Web.Setup.WebApplicationBuilderExtensions 33.8% 12.5%

@github-actions

Copy link
Copy Markdown

school/100273/saint-paul-roman-catholic-infant-school/secondary/destinations

https://127.0.0.1:36917/school/100273/saint-paul-roman-catholic-infant-school/secondary/destinations

Violations: 1

IMPACT: Critical


label: Form elements must have labels

Target: #current-view

Target: #data-overtime-view


school/100273/saint-paul-roman-catholic-infant-school/secondary/academic-performance-english-and-maths-results

https://127.0.0.1:36917/school/100273/saint-paul-roman-catholic-infant-school/secondary/academic-performance-english-and-maths-results

Violations: 1

IMPACT: Critical


label: Form elements must have labels

Target: #current-view

Target: #data-overtime-view


@hopep-mobilise hopep-mobilise merged commit dc1f6db into main Jun 22, 2026
18 checks passed
@hopep-mobilise hopep-mobilise deleted the 2683-validate-infra-dir-fix branch June 22, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants