Skip to content

Commit

Permalink
Add SXC Sitecore Commerce Container SDK 10.2.0.80218.30249
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-marcusheath committed Sep 11, 2023
1 parent 878e13b commit b93a03f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion sxc/10.2/k8s-commerce-xc1/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ images:
newName: {registry}/{sxc-nonproduction-project}/sitecore-xc1-cm
newTag: {commerce-version}
- name: sitecore-xc-id
newName: {registry}/{sxc-nonproduction-project}/sitecore-xc-id6
newName: {registry}/{sxc-nonproduction-project}/sitecore-xc-id7
newTag: {commerce-version}
- name: sitecore-xp1-cortexprocessing
newName: {registry}/{project}/sitecore-xp1-cortexprocessing
Expand Down
7 changes: 4 additions & 3 deletions sxc/10.2/scripts/ComposeInit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,12 @@ if (-not (Test-Path $LicenseXmlPath -PathType Leaf)) {

# Check for Sitecore Gallery
Import-Module PowerShellGet
$SitecoreGallery = Get-PSRepository | Where-Object { $_.SourceLocation -eq $SitecoreGalleryRepositoryLocation }
$SitecoreGalleryName = 'SitecoreGallery'
$SitecoreGallery = Get-PSRepository | Where-Object { $_.Name -eq $SitecoreGalleryName }
if (-not $SitecoreGallery) {
Write-Host "Adding Sitecore PowerShell Gallery..." -ForegroundColor Green
Register-PSRepository -Name SitecoreGallery -SourceLocation $SitecoreGalleryRepositoryLocation -InstallationPolicy Trusted
$SitecoreGallery = Get-PSRepository -Name SitecoreGallery
Register-PSRepository -Name $SitecoreGalleryName -SourceLocation $SitecoreGalleryRepositoryLocation -InstallationPolicy Trusted
$SitecoreGallery = Get-PSRepository -Name $SitecoreGalleryName
}

# Install and Import SitecoreDockerTools
Expand Down
4 changes: 2 additions & 2 deletions sxc/10.2/scripts/ContainerBuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Get-ChildItem -Path "$envRootPath" -Include 'docker-compose.build.yml' -Recurse
Push-Location -Path $workingDir

'[Building containers for] {0}' -f $PWD
Write-Host "docker-compose --no-ansi --file (Join-Path $workingDir 'docker-compose.build.yml') build --parallel"
& docker-compose --no-ansi -f (Join-Path $workingDir 'docker-compose.build.yml') build --parallel
Write-Host "docker-compose --ansi never --env-file build.env --file (Join-Path $workingDir 'docker-compose.build.yml') build"
& docker-compose --ansi never --env-file build.env -f (Join-Path $workingDir 'docker-compose.build.yml') build

if ($LASTEXITCODE -gt 0) {
Throw "Error in docker-compose build."
Expand Down
4 changes: 2 additions & 2 deletions sxc/10.2/xc-common/docker-compose.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ services:
isolation: ${ISOLATION}
context: ./id
args:
BASE_IMAGE: ${XP_SITECORE_DOCKER_REGISTRY}sitecore-id6:${XP_SITECORE_TAG}
BASE_IMAGE: ${XP_SITECORE_DOCKER_REGISTRY}sitecore-id7:${XP_SITECORE_TAG}
ASSETS_IMAGE: ${XC_SITECORE_DOCKER_REGISTRY}sitecore-xc0-assets:${XC_PACKAGES_TAG}
image: sitecore-xc-id6
image: sitecore-xc-id7
bizfx:
build:
isolation: ${ISOLATION}
Expand Down
2 changes: 1 addition & 1 deletion sxc/10.2/xc0/.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ XC_NONPRODUCTION_SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxc/nonproduction/
XC_SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxc/
XC_PACKAGES_TAG=10.2-ltsc2019

TRAEFIK_IMAGE=traefik:v2.2.0-windowsservercore-1809
TRAEFIK_IMAGE=traefik:v2.9.8-windowsservercore-1809
TRAEFIK_ISOLATION=hyperv

ISOLATION=default
Expand Down
2 changes: 1 addition & 1 deletion sxc/10.2/xc0/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ services:
restart: unless-stopped
id:
isolation: ${ISOLATION}
image: ${XC_NONPRODUCTION_SITECORE_DOCKER_REGISTRY}sitecore-xc-id6:${XC_PACKAGES_TAG}
image: ${XC_NONPRODUCTION_SITECORE_DOCKER_REGISTRY}sitecore-xc-id7:${XC_PACKAGES_TAG}
environment:
Sitecore_Sitecore__IdentityServer__SitecoreMemberShipOptions__ConnectionString: Data Source=${SQL_SERVER};Initial Catalog=Sitecore.Core;User ID=${SQL_SA_LOGIN};Password=${SQL_SA_PASSWORD}
Sitecore_Sitecore__IdentityServer__AccountOptions__PasswordRecoveryUrl: https://${CM_HOST}/sitecore/login?rc=1
Expand Down
2 changes: 1 addition & 1 deletion sxc/10.2/xc1-cxa/.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ XC_NONPRODUCTION_SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxc/nonproduction/
XC_SITECORE_DOCKER_REGISTRY=scr.sitecore.com/sxc/
XC_PACKAGES_TAG=10.2-ltsc2019

TRAEFIK_IMAGE=traefik:v2.2.0-windowsservercore-1809
TRAEFIK_IMAGE=traefik:v2.9.8-windowsservercore-1809
TRAEFIK_ISOLATION=hyperv

ISOLATION=default
Expand Down
2 changes: 1 addition & 1 deletion sxc/10.2/xc1-cxa/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ services:
condition: service_healthy
id:
isolation: ${ISOLATION}
image: ${XC_NONPRODUCTION_SITECORE_DOCKER_REGISTRY}sitecore-xc-id6:${XC_PACKAGES_TAG}
image: ${XC_NONPRODUCTION_SITECORE_DOCKER_REGISTRY}sitecore-xc-id7:${XC_PACKAGES_TAG}
restart: unless-stopped
environment:
Sitecore_Sitecore__IdentityServer__SitecoreMemberShipOptions__ConnectionString: Data Source=${SQL_SERVER};Initial Catalog=Sitecore.Core;User ID=${SQL_SA_LOGIN};Password=${SQL_SA_PASSWORD}
Expand Down

0 comments on commit b93a03f

Please sign in to comment.