Skip to content

Instantly share code, notes, and snippets.

View paulobalonye's full-sized avatar
🏠
Working from home

Paul Obalonye paulobalonye

🏠
Working from home
  • Cleveland,OH
View GitHub Profile
@paulobalonye
paulobalonye / sc-license-base64.ps1
Created June 25, 2021 16:59 — forked from ThomPuiman/sc-license-base64.ps1
Sitecore K8s Convert License file to base64
function ConvertTo-CompressedBase64String {
[CmdletBinding()]
Param (
[Parameter(Mandatory)]
[ValidateScript({
if (-Not ($_ | Test-Path) ) {
throw "The file or folder $_ does not exist"
}
if (-Not ($_ | Test-Path -PathType Leaf) ) {
throw "The Path argument must be a file. Folder paths are not allowed."
@paulobalonye
paulobalonye / PopulateSecrets.ps1
Created June 24, 2021 19:44 — forked from afaniuolo/PopulateSecrets.ps1
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
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'
@paulobalonye
paulobalonye / prepare-sitecore-k8s.ps1
Created June 21, 2021 22:28 — forked from ThomPuiman/prepare-sitecore-k8s.ps1
Sitecore Kubernetes - Generate Self Signed Certificate and fill out secrets
$prefix = ""
function ConvertTo-CompressedBase64String {
[CmdletBinding()]
Param (
[Parameter(Mandatory)]
[ValidateScript({
if (-Not ($_ | Test-Path) ) {
throw "The file or folder $_ does not exist"
}
@paulobalonye
paulobalonye / docker_wordpress.md
Created October 6, 2020 22:12 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes