Skip to content

Instantly share code, notes, and snippets.

@afaniuolo
afaniuolo / Sitecore10AKS-JenkinsDeployPipeline.groovy
Created Mar 2, 2021
Jenkins Deploy Pipeline for Sitecore 10 on AKS
View Sitecore10AKS-JenkinsDeployPipeline.groovy
pipeline {
agent any
parameters {
string(name: 'Environment', defaultValue: 'develop', description: 'Environment/Branch name')
}
environment {
REGISTRY_NAME = 'myacrregistry'
REGISTRY = 'myacrregistry.azurecr.io/'
@afaniuolo
afaniuolo / Sitecore10AKS-JenkinsBuildPipeline.groovy
Created Feb 25, 2021
Jenkins Build Pipeline for Sitecore 10 on AKS
View Sitecore10AKS-JenkinsBuildPipeline.groovy
pipeline {
agent any
parameters {
string(name: 'Environment', defaultValue: 'develop', description: 'Environment/Branch name')
}
environment {
REGISTRY = 'myacrregistry.azurecr.io/'
GIT_REPO_URL = 'https://github.com/afaniuolo/docker-examples.git'
@afaniuolo
afaniuolo / PopulateSecrets.ps1
Last active Mar 5, 2021
Sitecore 10 on AKS - Powershell script to populate secrets for Kubernetes deployment
View PopulateSecrets.ps1
<#
.SYNOPSIS
Generates new secrets for Sitecore K8s deployment
.DESCRIPTION
This Powershell script generates new secrets for a Sitecore K8s deployment.
This script requires the SitecoreInstallFramework module (see https://dev.sitecore.net/Downloads/Sitecore_Installation_Framework/2x/Sitecore_Installation_Framework_230.aspx).
This script needs to be executed from the root deployment folder of a specific topology.
.PARAMETER SitecoreLicensePath
Full path of the Sitecore license
.EXAMPLE