- if [ -f /usr/bin/yum ]; then
- sudo yum -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
- elif [ -f /usr/bin/apt-get ]; then
- sudo apt-get update
- sudo apt-get install -y libxml2-dev libxslt-dev zlib1g-dev
- fi
-
-- builder:
- name: allow-local-ssh-root
- builders:
- - shell: |
- #!/bin/bash
- echo "" | sudo tee -a /etc/ssh/sshd_config
- echo "Match address 127.0.0.1" | sudo tee -a /etc/ssh/sshd_config
- echo " PermitRootLogin without-password" | sudo tee -a /etc/ssh/sshd_config
- echo "" | sudo tee -a /etc/ssh/sshd_config
- echo "Match address ::1" | sudo tee -a /etc/ssh/sshd_config
- echo " PermitRootLogin without-password" | sudo tee -a /etc/ssh/sshd_config
- mkdir -p .ssh
- ssh-keygen -f ~/.ssh/id_rsa -b 2048 -P ""
- sudo mkdir -p /root/.ssh
- cat ~/.ssh/id_rsa.pub | sudo tee -a /root/.ssh/authorized_keys
- if [ -f /usr/bin/yum ]; then
- sudo systemctl restart sshd
- elif [ -f /usr/bin/apt-get ]; then
- sudo service ssh restart
- fi
+ ./scripts/prepare-node.sh
+ ./scripts/allow-local-ssh-root.sh
+ ./scripts/ci-beaker.sh {os}
+
+ publishers:
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'