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
| oc new-build nodejs:8~https://github.com/hodrigohamalho/aghata.git --context-dir=codigo-fonte/cliente --name=mpog-gestaoriscos-frontend-s2i | |
| oc new-build --name=mpog-gestaoriscos-frontend \ | |
| --docker-image=registry.access.redhat.com/rhscl/nginx-112-rhel7 \ | |
| --source-image=mpog-gestaoriscos-frontend-s2i \ | |
| --source-image-path=/opt/app-root/src/dist/:. \ | |
| --dockerfile=$'FROM rhscl/nginx-112-rhel7\nCOPY dist /opt/app-root/src\nCMD ["nginx", "-g", "daemon off;"]' | |
| oc new-app mpog-gestaoriscos-frontend --name=mpog-gestaoriscos-frontend |
Slide Deck: https://redhat.slides.com/rdasilva/amq-streams
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <profiles> | |
| <profile> | |
| <repositories> | |
| <repository> | |
| <releases> | |
| <updatePolicy>never</updatePolicy> |
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
| oc patch bc/cookbook --patch '{"spec":{"resources":{"limits":{"memory":"1Gi"}}}}' | |
| buildconfig "cookbook" patched |
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
| oc create -f https://github.com/sclorg/s2i-nodejs-container/blob/master/imagestreams/nodejs-rhel7.json -n openshift | |
| oc new-project app-nodejs | |
| oc new-build nodejs:8~https://github.com/hodrigohamalho/sal-frontend --name=sal-frontend-s2i | |
| oc new-build --name=sal-frontend-nginx \ | |
| --docker-image=registry.access.redhat.com/rhscl/nginx-112-rhel7 \ | |
| --source-image=sal-frontend-s2i \ | |
| --source-image-path=/opt/app-root/src/dist/:. \ |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <profiles> | |
| <profile> | |
| <repositories> | |
| <repository> | |
| <releases> | |
| <updatePolicy>never</updatePolicy> |
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
| <?xml version="1.0"?> | |
| <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <deployment> | |
| <dependencies> | |
| <module name="org.keycloak.keycloak-server-spi-private" /> | |
| </dependencies> | |
| </deployment> |
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
| [OSEv3:vars] | |
| timeout=60 | |
| ansible_ssh_user=ec2-user | |
| ansible_become=true | |
| deployment_type=openshift-enterprise | |
| openshift_release=3.7 | |
| openshift_clock_enabled=true | |
| openshift_master_cluster_method=native |
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
| # NFS Server Host - CHANGE the GUID! | |
| HOST=support1.54d2.internal | |
| ROOT_NFS=/exports | |
| NFS_CONFIG_FILE=/etc/exports.d/openshift-ansible.exports | |
| create-pv () { | |
| DIR=$1 | |
| SIZE=$2 | |
| ACCESS_MODE=$3 | |
| RECLAIM_POLICY=$4 |