https Conosle URL: https://master.jvmcon-f38a.openshiftworkshop.com
Content: http://starter-guides-lab-workshop.apps.jvmcon-f38a.openshiftworkshop.com
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>test</groupId> | |
<artifactId>test</artifactId> | |
<version>1.0-SNAPSHOT</version> |
POSTGRESQL_VERSION="9.1.4" | |
# Installing DB (one-time) | |
cd $OPENSHIFT_DATA_DIR | |
wget http://ftp.postgresql.org/pub/source/v${POSTGRESQL_VERSION}/postgresql-${POSTGRESQL_VERSION}.tar.gz | |
tar xf postgresql-${POSTGRESQL_VERSION}.tar.gz | |
rm postgresql-${POSTGRESQL_VERSION}.tar.gz |
RUN curl -sL -o /etc/yum.repos.d/centos-essentials.repo https://gist.githubusercontent.com/marekjelen/c08a3c3a548820144f2da01d2bad6279/raw/centos-essentials.repo | |
ENV PATH=/opt/essentials/bin:$PATH |
def ancestors(options = {}) | |
options[:direction] ||= :up | |
self.tree_relation_builder(options) | |
end | |
def descendants(options = {}) | |
options[:direction] ||= :down | |
self.tree_relation_builder(options) | |
end |
#!/bin/bash | |
for i in {1..20}; do | |
cat <<EOF > tmp.json | |
{ | |
"apiVersion": "v1", | |
"kind": "PersistentVolume", | |
"metadata": { | |
"name": "pv-${i}" | |
}, |
#!/usr/bin/env ruby | |
puts 'Hello!!!' |
docker run -p 8080:8080 -e CONTENT_URL_PREFIX="https://raw.githubusercontent.com/osevg/workshopper-content/36" -e WORKSHOPS_URLS="https://raw.githubusercontent.com/osevg/workshopper-content/36/_workshops/training.yml" -e CONSOLE_ADDRESS="console.<name>.gce.pixy.io:8443" -e ROUTER_ADDRESS="apps.<name>.gce.pixy.io" osevg/workshopper | |
oc new-app osevg/workshopper -e CONTENT_URL_PREFIX="https://raw.githubusercontent.com/osevg/workshopper-content/36" -e WORKSHOPS_URLS="https://raw.githubusercontent.com/osevg/workshopper-content/36/_workshops/training.yml" -e CONSOLE_ADDRESS="console.<name>.gce.pixy.io:8443" -e ROUTER_ADDRESS="apps.<name>.gce.pixy.io" |