Skip to content

Commit

Permalink
Merged PR 5018: Merge 'develop' to 'main'
Browse files Browse the repository at this point in the history
Merged PR 4960: Upgrade to 10.4

Related work items: #9341

Related work items: #9341
  • Loading branch information
Alexander Doroshenko committed Jul 9, 2024
2 parents 22aa86d + 68db34d commit c5ed520
Show file tree
Hide file tree
Showing 35 changed files with 132 additions and 178 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
COMPOSE_PROJECT_NAME=sitecore-xp0
SITECORE_DOCKER_REGISTRY=scr.sitecore.com/
SITECORE_VERSION=10.3
SITECORE_VERSION=10.4

SITECORE_ADMIN_PASSWORD=b
SQL_SERVER=mssql
Expand Down
1 change: 1 addition & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ major-version-bump-message: '\+semver:\s?(dotnotuse)'
minor-version-bump-message: '\+semver:\s?(breaking|major)'
patch-version-bump-message: '\+semver:\s?(feature|minor)'
no-bump-message: '\+semver:\s?(none|skip)'
next-version: 1040.0.0
branches:
develop:
tag: beta
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Lighthouse Demo and the tools and processes in it is a Sitecore® solution example built using Sitecore Experience Accelerator™ (SXA) on Sitecore Experience Platform™ (XP) following the Helix architecture principles.

The latest Lighthouse demo is built to support **[Sitecore Experience Platform 10.3](https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103.aspx)** using **[Sitecore Experience Accelerator (SXA) 10.3](https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/10x/Sitecore_Experience_Accelerator_1030.aspx)**. It can only be deployed inside Docker containers.
The latest Lighthouse demo is built to support **[Sitecore Experience Platform 10.4](https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/103/Sitecore_Experience_Platform_103.aspx)** using **[Sitecore Experience Accelerator (SXA) 10.4](https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/10x/Sitecore_Experience_Accelerator_1030.aspx)**. It can only be deployed inside Docker containers.

## Important notice

Expand Down
6 changes: 3 additions & 3 deletions docker-compose-xp1.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
context: .\docker\images\windows\demo-mssql-init
args:
PARENT_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/sitecore-xp1-mssql-init:${SITECORE_VERSION}-${WINDOWSSERVERCORE_VERSION}
HEADLESS_SERVICES_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xm1-assets:21.0-1809
HEADLESS_SERVICES_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xm1-assets:22.0-1809
SPE_ASSETS_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-spe-assets:6.4-${SITECORE_ASSET_NANOSERVER_VERSION}
SOLUTION_IMAGE: ${REGISTRY}build/lighthouse-solution:${SITECORE_VERSION}-${NANOSERVER_VERSION}-${SOLUTION_VERSION}
XGEN_ASSETS: adoprog/custom-xgenerator-assets:10.1-${NANOSERVER_VERSION}
Expand All @@ -32,7 +32,7 @@ services:
BASE_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/sitecore-xp1-cd:${SITECORE_VERSION}-${WINDOWSSERVERCORE_VERSION}
SPE_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-spe-assets:6.4-${SITECORE_ASSET_NANOSERVER_VERSION}
SXA_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-sxa-xp1-assets:${SITECORE_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:21.0-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:22.0-${SITECORE_ASSET_NANOSERVER_VERSION}
CMP_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-chub-assets:5.0.0-${SITECORE_ASSET_NANOSERVER_VERSION}
TOOLS_ASSETS: ${SITECORE_DOCKER_REGISTRY}tools/sitecore-docker-tools-assets:${TOOLS_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
DELTA_ASSET_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp-pre/sitecore-xp1-assets:10.3.2.009809.492-10.0.17763.4851-1809
Expand All @@ -47,7 +47,7 @@ services:
TOOLS_ASSETS: ${SITECORE_DOCKER_REGISTRY}tools/sitecore-docker-tools-assets:${TOOLS_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
SPE_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-spe-assets:6.4-${SITECORE_ASSET_NANOSERVER_VERSION}
SXA_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-sxa-xp1-assets:${SITECORE_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:21.0-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:22.0-${SITECORE_ASSET_NANOSERVER_VERSION}
CMP_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-chub-assets:5.0.0-${SITECORE_ASSET_NANOSERVER_VERSION}
XGEN_ASSETS: adoprog/custom-xgenerator-assets:10.1-${NANOSERVER_VERSION}
SOLUTION_IMAGE: ${REGISTRY}build/lighthouse-solution:${SITECORE_VERSION}-${NANOSERVER_VERSION}-${SOLUTION_VERSION}
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
context: .\docker\images\windows\demo-mssql-init
args:
PARENT_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/sitecore-xp1-mssql-init:${SITECORE_VERSION}-${WINDOWSSERVERCORE_VERSION}
HEADLESS_SERVICES_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xm1-assets:21.0-1809
HEADLESS_SERVICES_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xm1-assets:22.0-1809
SPE_ASSETS_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-spe-assets:6.4-${SITECORE_ASSET_NANOSERVER_VERSION}
SOLUTION_IMAGE: ${REGISTRY}build/lighthouse-solution:${SITECORE_VERSION}-${NANOSERVER_VERSION}-${SOLUTION_VERSION}
XGEN_ASSETS: adoprog/custom-xgenerator-assets:10.1-${NANOSERVER_VERSION}
Expand All @@ -54,7 +54,7 @@ services:
TOOLS_ASSETS: ${SITECORE_DOCKER_REGISTRY}tools/sitecore-docker-tools-assets:${TOOLS_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
SPE_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-spe-assets:6.4-${SITECORE_ASSET_NANOSERVER_VERSION}
SXA_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-sxa-xp1-assets:${SITECORE_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:21.0-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:22.0-${SITECORE_ASSET_NANOSERVER_VERSION}
CMP_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-chub-assets:5.0.0-${SITECORE_ASSET_NANOSERVER_VERSION}
XGEN_ASSETS: adoprog/custom-xgenerator-assets:10.1-${NANOSERVER_VERSION}
SOLUTION_IMAGE: ${REGISTRY}build/lighthouse-solution:${SITECORE_VERSION}-${NANOSERVER_VERSION}-${SOLUTION_VERSION}
Expand All @@ -73,7 +73,7 @@ services:
BASE_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp/sitecore-xp1-cd:${SITECORE_VERSION}-${WINDOWSSERVERCORE_VERSION}
SPE_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-spe-assets:6.4-${SITECORE_ASSET_NANOSERVER_VERSION}
SXA_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-sxa-xp1-assets:${SITECORE_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:21.0-${SITECORE_ASSET_NANOSERVER_VERSION}
HEADLESS_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-headless-services-xp1-assets:22.0-${SITECORE_ASSET_NANOSERVER_VERSION}
CMP_ASSETS: ${SITECORE_DOCKER_REGISTRY}sxp/modules/sitecore-chub-assets:5.0.0-${SITECORE_ASSET_NANOSERVER_VERSION}
TOOLS_ASSETS: ${SITECORE_DOCKER_REGISTRY}tools/sitecore-docker-tools-assets:${TOOLS_VERSION}-${SITECORE_ASSET_NANOSERVER_VERSION}
DELTA_ASSET_IMAGE: ${SITECORE_DOCKER_REGISTRY}sxp-pre/sitecore-xp1-assets:10.3.2.009809.492-10.0.17763.4851-1809
Expand Down
8 changes: 4 additions & 4 deletions docker/build-and-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resources:

variables:
GitVersion.SemVer: ""
SITECORE_VERSION: "10.3"
SITECORE_VERSION: "10.4"
GitVersion.PreReleaseLabel: ""
tag: "$(GitVersion.SemVer)"
additionalImageTags: ""
Expand Down Expand Up @@ -330,7 +330,7 @@ stages:
inputs:
targetType: "inline"
script: |
Invoke-RestMethod -Uri "$(DEV_PORTAL_V2_UPDATE_DEFINITION)&definitionId=17" -Method POST -Body "{ tag: '$(GitVersion.SemVer)', revision: '$(GitVersion.Sha)' }" -ContentType "application/json"
Invoke-RestMethod -Uri "$(DEV_PORTAL_V2_UPDATE_DEFINITION)&definitionId=49" -Method POST -Body "{ tag: '$(GitVersion.SemVer)', revision: '$(GitVersion.Sha)' }" -ContentType "application/json"
- stage: Update_DEV_Portal_Databases_Stable
displayName: "Update 'stable' version in the DEV portal database"
dependsOn:
Expand All @@ -353,7 +353,7 @@ stages:
inputs:
targetType: "inline"
script: |
Invoke-RestMethod -Uri "$(DEV_PORTAL_V2_UPDATE_DEFINITION)&definitionId=20" -Method POST -Body "{ tag: '$(GitVersion.SemVer)', revision: '$(GitVersion.Sha)' }" -ContentType "application/json"
Invoke-RestMethod -Uri "$(DEV_PORTAL_V2_UPDATE_DEFINITION)&definitionId=52" -Method POST -Body "{ tag: '$(GitVersion.SemVer)', revision: '$(GitVersion.Sha)' }" -ContentType "application/json"
- stage: Update_PROD_Portal_Database_Stable
displayName: "Update 'stable' version in the PROD portal database"
Expand All @@ -377,7 +377,7 @@ stages:
inputs:
targetType: "inline"
script: |
Invoke-RestMethod -Uri "$(PROD_PORTAL_V2_UPDATE_DEFINITION)&definitionId=11" -Method POST -Body "{ tag: '$(GitVersion.SemVer)', revision: '$(GitVersion.Sha)' }" -ContentType "application/json"
Invoke-RestMethod -Uri "$(PROD_PORTAL_V2_UPDATE_DEFINITION)&definitionId=33" -Method POST -Body "{ tag: '$(GitVersion.SemVer)', revision: '$(GitVersion.Sha)' }" -ContentType "application/json"
- deployment: Update_Production_Database_Deployment
displayName: "Update Production Database Deployment"
environment: Production Portal Database
Expand Down
2 changes: 1 addition & 1 deletion docker/images/windows/demo-cd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN icacls 'C:\inetpub\wwwroot' /grant 'IIS_IUSRS:(OI)(CI)F' /t | Out-Null
FROM modules as production

# Copy Product Hotfixes
COPY --from=deltaAssetImage /platform/cd/inetpub/wwwroot/ /inetpub/wwwroot/
# COPY --from=deltaAssetImage /platform/cd/inetpub/wwwroot/ /inetpub/wwwroot/

COPY ./hotfix/ /inetpub/wwwroot/
COPY --from=solution /solution/cd/ /inetpub/wwwroot/
Expand Down
2 changes: 1 addition & 1 deletion docker/images/windows/demo-standalone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN icacls 'C:\inetpub\wwwroot' /grant 'IIS_IUSRS:(OI)(CI)F' /t | Out-Null
FROM modules as production

# Copy Product Hotfixes
COPY --from=deltaAssetImage /platform/cm/inetpub/wwwroot/ /inetpub/wwwroot/
# COPY --from=deltaAssetImage /platform/cm/inetpub/wwwroot/ /inetpub/wwwroot/

COPY --from=solution /solution/cm/ /inetpub/wwwroot/

Expand Down
2 changes: 1 addition & 1 deletion init-ci.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Param (
,
[Parameter(
HelpMessage = "Sitecore version")]
[string]$SitecoreVersion = "10.3"
[string]$SitecoreVersion = "10.4"
,
[Parameter(
HelpMessage = "Specify if the version of Sitecore is a pre-release version")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<PackageReference Include="Microsoft.AspNet.Mvc" Version="5.2.4" />
<PackageReference Include="Microsoft.AspNet.Razor" Version="3.2.4" />
<PackageReference Include="Microsoft.AspNet.WebPages" Version="3.2.4" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Owin">
<Version>4.2.2</Version>
</PackageReference>
Expand All @@ -59,59 +59,55 @@
<Version>13.0.1</Version>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Analytics.Core" Version="10.3.*-*">
<PackageReference Include="Sitecore.Analytics.Core" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Analytics.Model" Version="10.3.*-*">
<PackageReference Include="Sitecore.Analytics.Model" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Analytics" Version="10.3.*-*">
<PackageReference Include="Sitecore.Analytics" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Annotations" Version="10.3.*-*">
<PackageReference Include="Sitecore.Annotations" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.ExperienceEditor.Speak" Version="10.3.*-*">
<PackageReference Include="Sitecore.ExperienceEditor.Speak" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.ExperienceEditor.Speak.Ribbon" Version="10.3.*-*">
<PackageReference Include="Sitecore.ExperienceEditor.Speak.Ribbon" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.ExperienceExplorer.Core" Version="10.3.*-*">
<PackageReference Include="Sitecore.ExperienceExplorer.Core" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.ExperienceExplorer.Web" Version="10.3.*-*">
<PackageReference Include="Sitecore.ExperienceExplorer.Web" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Kernel" Version="10.3.*-*">
<PackageReference Include="Sitecore.Kernel" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Nexus.Consumption" Version="1.5.0">
<PackageReference Include="Sitecore.Mvc" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Mvc" Version="10.3.*-*">
<PackageReference Include="Sitecore.Owin.Authentication" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Owin.Authentication" Version="10.3.*-*">
<PackageReference Include="Sitecore.Owin" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Owin" Version="10.3.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Speak.Client" Version="10.3.*-*">
<PackageReference Include="Sitecore.Speak.Client" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion src/Feature/Accounts/code/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="7.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,11 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Sitecore.Kernel" Version="10.3.*-*">
<PackageReference Include="Sitecore.Kernel" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.Nexus.Consumption" Version="1.5.0">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
<PackageReference Include="Sitecore.ContentSearch" Version="10.3.*-*">
<PackageReference Include="Sitecore.ContentSearch" Version="10.4.*-*">
<PrivateAssets>all</PrivateAssets>
<ExcludeAssets>runtime</ExcludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion src/Feature/ContentTagging/code/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="7.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection" publicKeyToken="ADB9793829DDAE60" culture="neutral"/>
Expand Down
Loading

0 comments on commit c5ed520

Please sign in to comment.