This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# delete existing git secret from older install | |
kubectl delete secret git-ssh-key | |
helm repo add forgerock https://storage.googleapis.com/forgerock-charts | |
helm repo update | |
# make sure you are in your namespace here. Try the kubens command! | |
helm install forgerock/cmp-platform | |
# this will take approx. 3-5 min to provision everything. Create /etc/host entries for all the ingresses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script that downloads all nightly builds into a staging directory | |
# Vagrant guests should have this staging directory mounted locally. | |
# This script leaves the product names as generic (no release in the name), but creates a RELEASE file | |
# with all of the version info. It is suggest to copy this RELEASE file into the guest to have a record | |
# of which binaries got installed. | |
dir=./staging/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: settings.k8s.io/v1alpha1 | |
kind: PodPreset | |
metadata: | |
name: test | |
spec: | |
selector: | |
matchLabels: | |
app: test | |
env: | |
- name: SETME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This will pre-pull the docker images into the minikube cache | |
eval $(minikube docker-env) | |
for i in git openidm opendj openam openig amster | |
do | |
echo "getting $i" | |
docker pull gcr.io/engineering-devops/$i:5.5.0 | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker build -t alpine-jdk . | |
FROM alpine:edge | |
# Default to UTF-8 file.encoding | |
ENV LANG C.UTF-8 | |
# add a simple script that can auto-detect the appropriate JAVA_HOME value | |
# based on whether the JDK or only the JRE is installed | |
RUN { \ | |
echo '#!/bin/sh'; \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: authn | |
labels: | |
name: authn | |
spec: | |
containers: | |
- name: authn | |
image: forgerock/ms-oauth-authn:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/searchrate -p 389 -h userstore-0.userstore -D "cn=directory manager" -w password \ | |
-F -c 10 -t 10 --baseDn "dc=openam,dc=forgerock,dc=org" \ | |
-g "rand(0,1000)" "(uid=user.%d)" | |
bin/modrate -p 389 -D "cn=directory manager" -h userstore-0.userstore -w password \ | |
-F -c 20 -t 10 -b "uid=user.%d,ou=People,dc=openam,dc=forgerock,dc=org" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define suffix=dc=openam,dc=forgerock,dc=org | |
branch: [suffix] | |
branch: ou=famrecords,ou=openam-session,ou=tokens,[suffix] | |
subordinateTemplate: cts | |
template: cts | |
rdnAttr: coreTokenId | |
objectClass: frCoreToken |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
file { | |
type => idmRecon | |
# start_position => beginning | |
path => "/opt/openidm/audit/recon.csv" | |
} | |
file { | |
type => idmActivity | |
# start_position => beginning | |
path => "/opt/openidm/audit/activity.csv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// go to http://localhost:8080/script | |
Jenkins.instance.pluginManager.plugins.each{ | |
plugin -> | |
println ("${plugin.getShortName()}:${plugin.getVersion()}") | |
} |