Skip to content

Instantly share code, notes, and snippets.

View lmilbaum's full-sized avatar

Liora Milbaum lmilbaum

  • Red Hat
  • Israel
View GitHub Profile
#!/usr/bin/env python3
import pytest
from flask import url_for
@pytest.mark.usefixtures('live_server')
class TestLiveServer():
@pytest.mark.parametrize('page', [
➜ training git:(master) ✗ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'fedora/31-cloud-base' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'fedora/31-cloud-base'
default: URL: https://vagrantcloud.com/fedora/31-cloud-base
==> default: Adding box 'fedora/31-cloud-base' (v31.20191023.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/fedora/boxes/31-cloud-base/versions/31.20191023.0/providers/virtualbox.box
default: Download redirected to host: download.fedoraproject.org
(venv) Lioras-MacBook-Pro:devopsloft liora$ vagrant up dev
Bringing machine 'dev' up with 'virtualbox' provider...
==> dev: Importing base box 'ubuntu/bionic64'...
==> dev: Matching MAC address for NAT networking...
==> dev: Checking if box 'ubuntu/bionic64' version '20190122.0.0' is up to date...
==> dev: A newer version of the box 'ubuntu/bionic64' for provider 'virtualbox' is
==> dev: available! You currently have version '20190122.0.0'. The latest is version
==> dev: '20190130.0.0'. Run `vagrant box update` to update.
==> dev: Setting the name of the VM: devopsloft_dev
==> dev: Clearing any previously set network interfaces...
@lmilbaum
lmilbaum / install.sh
Last active July 28, 2018 09:00 — forked from nickman/install.sh
Graphite Server Install Script for Ubuntu
#!/bin/bash
#######################################
# Graphite Install
# Run with sudo for best results
#
#######################################
if [[ "$(/usr/bin/whoami)" != "root" ]]; then
echo "This script must be run as root or using sudo.Script aborted."
exit 1
20:19:30 Started by user jenkins
20:19:30 [EnvInject] - Loading node environment variables.
20:19:30 Building in workspace /var/jenkins_home/jobs/packer/workspace
20:19:30 [EnvInject] - Executing scripts and injecting environment variables after the SCM step.
20:19:30 [EnvInject] - Injecting as environment variables the properties content
20:19:30 PACKER_LOG=1
20:19:30
20:19:30 [EnvInject] - Variables injected successfully.
20:19:31 [workspace] $ /bin/packer build -debug /depy-backend/lift/hashicorp/packer/artifactory.json
20:19:31 2017/11/18 20:19:31 [INFO] Packer version: 1.1.2
TASK [depy.dev : win_command] ****************************************************************************************************************************
fatal: [185.109.149.152]: FAILED! => {"changed": true, "cmd": "C:\\\\ProgramData\\\\chocolatey\\\\bin\\\\choco.exe install -dv -y officeproplus2013 -timeout 2700", "delta": "0:01:33.422083", "end": "2017-07-21 10:47:10.977344", "failed": true, "rc": -2147418113, "start": "2017-07-21 10:45:37.555260", "stderr": "", "stderr_lines": [], "stdout": "Chocolatey v0.10.7\r\nChocolatey is running on Windows v 6.3.9600.0\r\nAttempting to delete file \"C:/ProgramData/chocolatey/choco.exe.old\".\r\nAttempting to delete file \"C:\\ProgramData\\chocolatey\\choco.exe.old\".\r\nCommand line: \"C:\\ProgramData\\chocolatey\\choco.exe\" install -dv -y officeproplus2013 -timeout 2700\r\nReceived arguments: install -dv -y officeproplus2013 -timeout 2700\r\nRemovePendingPackagesTask is now ready and waiting for PreRunMessage.\r\nSending message 'PreRunMessage' out if there are s
Buildfile: /Users/liora/git/Galaxy/build.xml
packer clm:
[exec] 2016/04/02 01:41:34 [INFO] Packer version: 0.10.0 0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
[exec] 2016/04/02 01:41:34 Packer Target OS/Arch: darwin amd64
[exec] 2016/04/02 01:41:34 Built with Go Version: go1.6
[exec] 2016/04/02 01:41:34 Detected home directory from env var: /Users/liora
[exec] 2016/04/02 01:41:34 Using internal plugin for amazon-chroot
[exec] 2016/04/02 01:41:34 Using internal plugin for amazon-instance
[exec] 2016/04/02 01:41:34 Using internal plugin for googlecompute
[exec] 2016/04/02 01:41:34 Using internal plugin for parallels-pvm