Skip to content

Instantly share code, notes, and snippets.

@afaniuolo
afaniuolo / PopulateSecrets.ps1
Last active February 17, 2022 15:33
Sitecore 10 on AKS - Powershell script to populate secrets for Kubernetes deployment
<#
.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
@afaniuolo
afaniuolo / Sitecore10AKS-JenkinsBuildPipeline.groovy
Created February 25, 2021 02:46
Jenkins Build Pipeline for Sitecore 10 on AKS
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 / Sitecore10AKS-JenkinsDeployPipeline.groovy
Created March 2, 2021 02:14
Jenkins Deploy Pipeline for Sitecore 10 on AKS
pipeline {
agent any
parameters {
string(name: 'Environment', defaultValue: 'develop', description: 'Environment/Branch name')
}
environment {
REGISTRY_NAME = 'myacrregistry'
REGISTRY = 'myacrregistry.azurecr.io/'