oc get dc/zync -n 3scale -o json | jq '.spec.triggers[] | select(.type == "ImageChange") | .imageChangeParams.from.name'
"amp-zync:latest"
This file contains hidden or 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: apps/v1 | |
kind: Deployment | |
metadata: | |
annotations: | |
deployment.kubernetes.io/revision: '1' | |
org.eclipse.che.container.container.machine_name: dev-machine | |
creationTimestamp: '2019-01-15T15:39:29Z' | |
generation: 1 | |
labels: | |
che.original_name: dockerimage |
WebApp
cd /tmp/
git clone [email protected]:integr8ly/tutorial-web-app
cd tutorial-web-app/
npm version 2.1.0
git push origin master
git push --tags
This file contains hidden or 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
// Add Che & Launcher to the top of the catalog. | |
window.OPENSHIFT_CONSTANTS.SAAS_OFFERINGS = [{ | |
title: "Tutorial Web App", | |
icon: "fa fa-cogs", | |
url: "https://cloudservices.skunkhenry.com", | |
description: "Launch quests & steel threads & missions & launchables & tutorials & stuff" | |
}, { | |
title: "Eclipse Che", | |
icon: "fa fa-code", | |
url: "https://che-che2.cloudservices.skunkhenry.com", |
This file contains hidden or 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/sh | |
set +e | |
docker rm $(docker ps -qa --no-trunc --filter "status=exited") | |
docker volume rm $(docker volume ls -qf dangling=true) | |
docker volume ls -qf dangling=true | xargs -r docker volume rm | |
docker rmi $(docker images --filter "dangling=true" -q --no-trunc) |
This file contains hidden or 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
# HELP jvm_threads_current Current thread count of a JVM | |
# TYPE jvm_threads_current gauge | |
jvm_threads_current 111.0 | |
# HELP jvm_threads_daemon Daemon thread count of a JVM | |
# TYPE jvm_threads_daemon gauge | |
jvm_threads_daemon 14.0 | |
# HELP jvm_threads_peak Peak thread count of a JVM | |
# TYPE jvm_threads_peak gauge | |
jvm_threads_peak 111.0 | |
# HELP jvm_threads_started_total Started thread count of a JVM |
This file contains hidden or 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/sh | |
set -x | |
TAG=$1 | |
oc patch deployment webconsole -n openshift-web-console -p "{\"spec\": {\"template\": {\"spec\": {\"containers\": [{\"name\": \"webconsole\", \"image\": \"aerogear/origin-web-console:$TAG\"}]}}}}" | |
oc get configmap broker-config -n ansible-service-broker -o yaml | sed -e "s/tag:.*/tag: \"$TAG\"/" | oc replace -n ansible-service-broker -f - |
This file contains hidden or 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
version: 1.0 | |
name: unifiedpush-apb | |
description: __DEPENDENCIES | |
bindable: True | |
async: optional | |
tags: | |
- mobile-service | |
metadata: | |
displayName: __DEPENDENCIES | |
longDescription: "An APB deploying the AeroGear UnifiedPush Server with persistent storage and authentication through Openshift" |
This file contains hidden or 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: servicecatalog.k8s.io/v1beta1 | |
kind: ClusterServicePlan | |
metadata: | |
name: dependenciestest | |
spec: | |
clusterServiceBrokerName: ansible-service-broker | |
clusterServiceClassRef: | |
name: dependenciestest | |
description: Dependencies Test | |
externalID: 5f04a3f508d7615a422863814f58ad98 |
This file contains hidden or 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
{ | |
"kind": "ClusterServicePlan", | |
"apiVersion": "servicecatalog.k8s.io/v1beta1", | |
"metadata": { | |
"name": "5f04a3f508d7615a422863814f58ad98", | |
"selfLink": "/apis/servicecatalog.k8s.io/v1beta1/clusterserviceplans/5f04a3f508d7615a422863814f58ad98", | |
"uid": "97edff6f-47a9-11e8-9116-0242ac110003", | |
"resourceVersion": "583", | |
"creationTimestamp": "2018-04-24T10:23:55Z" | |
}, |