Operating system | Docker implementation |
---|---|
Linux | Default docker daemon for OS |
macOS | Docker for macOS |
macOS | Docker Toolbox |
Windows | Docker for Windows |
Windows | Docker Toolbox |
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
update-alternatives \ | |
--install /usr/bin/java \ | |
java \ | |
/usr/lib/jvm/java-9-openjdk-amd64/bin/java \ | |
100 | |
update-alternatives --config java |
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
BUILD_VERSION=$(oc start-build $RD_OPTION_BUILD_NAME -n pvd-pre | grep -o '".*"' | tr -d \") | |
while :; do | |
STATUS=$(oc describe bc $RD_OPTION_BUILD_NAME | grep "$BUILD_VERSION" | awk '{print $2}') | |
echo $STATUS | |
case $STATUS in | |
running) | |
sleep 5 | |
continue |
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
function process0(){ | |
echo "process0" | |
sleep 10s | |
} | |
function process1(){ | |
echo "process1" | |
sleep 5s | |
} |
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
### to fix the issue about oc login token shared between the job executions ### | |
HOME=$(pwd)/.${RD_JOB_EXECID} | |
cd $HOME | |
### fix end ### | |
### functions ### | |
# produz logging no console | |
## $1 mensagem | |
function info() { |
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
mvn archetype:generate \ | |
-DgroupId=br.com.itau.java.reactive \ | |
-DartifactId=start \ | |
-DarchetypeArtifactId=maven-archetype-quickstart \ | |
-DinteractiveMode=false |
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
mvn archetype:generate \ | |
-DarchetypeGroupId=org.apache.maven.archetypes \ | |
-DarchetypeArtifactId=maven-archetype-archetype \ | |
-DarchetypeVersion=1.3 |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<template encoding-version="1.2"> | |
<description></description> | |
<groupId>8ce97bbb-0162-1000-233e-5c8cc4c3a93f</groupId> | |
<name>DevOps KPI - Change Volume and Lead Time</name> | |
<snippet> | |
<connections> | |
<id>8a0d9e3d-1744-3d97-0000-000000000000</id> | |
<parentGroupId>33980602-0d29-3ae1-0000-000000000000</parentGroupId> | |
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
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
- description: Infrastructure as Code Rollout Deployment | |
executionEnabled: true | |
group: common/openshift | |
id: 67b0ca39-ea27-4668-9f8a-bb447244508a | |
loglevel: INFO | |
name: openshift-deploy-iac | |
nodeFilterEditable: false | |
options: | |
- description: Openshift Project Namespace | |
name: openshift-project |
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
[ | |
{ | |
"hash":"10ef79ff1720aa5179373871ee58b08674e5c420", | |
"author":"Fábio J. Moraes", | |
"email":"fabiojose@gmail.com", | |
"timestamp":"1510082724", | |
"changes":"4", | |
"insertions":"38", | |
"deletions":"15" | |
}, |