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/bash | |
if [ $# -ne 1 ]; then | |
echo "One parameter expected:" | |
echo "- the new size limit (in Mb)" | |
exit 1 | |
fi | |
SIZE_IN_MB=$1 | |
if [[ ! $SIZE_IN_MB =~ ^[0-9]+$ || $SIZE_IN_MB -eq 0 ]]; then |
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
--- | |
- hosts: moodle | |
gather_facts: no | |
become: yes | |
tasks: | |
- name: Install required packages | |
apt: | |
name: "{{item}}" | |
update_cache: yes |
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
language: java | |
sudo: required | |
install: true | |
services: | |
- docker | |
addons: | |
sonarcloud: | |
organization: "gustavomcarmo-github" |
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
package br.com.esign.selenium.utils; | |
import org.openqa.selenium.JavascriptExecutor; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.support.ui.ExpectedConditions; | |
import org.openqa.selenium.support.ui.WebDriverWait; | |
/** | |
* Selenium utilitary class |
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
--- | |
- hosts: nexus-client-hosts | |
gather_facts: no | |
vars_prompt: | |
- name: "maven_master_password" | |
prompt: "Maven master password" | |
private: yes | |
- name: "nexus_username" | |
prompt: "Nexus username" |
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/bash | |
rx='^v([0-9]+\.){0,2}(\*|[0-9]+)$' | |
if [[ ${bamboo.planRepository.1.revision} =~ $rx ]]; then | |
TAG=${bamboo.planRepository.1.revision} | |
else | |
TAG=latest | |
fi | |
echo TAG=$TAG > properties.txt | |
cat properties.txt |
NewerOlder