Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import pytest | |
from nailgun.entities import Organization | |
from robottelo.config import settings | |
from robottelo.manifests import clone, upload_manifest_locked | |
@pytest.fixture(scope="session") | |
def robottelo_props(): | |
settings.configure() | |
@pytest.fixture |
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
FROM fedora:latest | |
MAINTAINER http://fedoraproject.org/wiki/Cloud | |
ARG ssh_prv_key | |
ENV PYCURL_SSL_LIBRARY=openssl | |
RUN dnf -d10 -y update && dnf clean all | |
RUN dnf -d10 -y install java-1.8.0-openjdk \ | |
openssh-server \ | |
git \ |
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 '/home/rplevka/work/rplevka/robottelo/tests/foreman/api'> | |
<Module 'test_activationkey.py'> | |
<UnitTestCase 'ActivationKeyTestCase'> | |
<TestCaseFunction 'test_negative_create_with_invalid_host_limit'> | |
<TestCaseFunction 'test_negative_create_with_invalid_name'> | |
<TestCaseFunction 'test_negative_create_with_no_host_limit'> | |
<TestCaseFunction 'test_negative_create_with_no_host_limit_set_max'> | |
<TestCaseFunction 'test_negative_update_limit'> | |
<TestCaseFunction 'test_negative_update_max_hosts'> | |
<TestCaseFunction 'test_negative_update_name'> |
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
[server] | |
#hostname=sat-6-5-qa-rhel7.localhost.example.com | |
hostname=tyan-gt24-12.khw1.lab.eng.bos.redhat.com | |
ssh_key=/home/rplevka/.ssh/jenkins | |
[compute_resources] | |
libvirt_hostname=foo.bar.localhost.com | |
#libvirt_hostname=192.168.121.1 | |
[fake_manifest] |
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
# libvirt hypervisor ip/hostname | |
# the hypervisor needs to be listening for tcp connections (qemu+tcp://.../system) | |
[compute_resources] | |
libvirt_hostname=192.168.121.1 | |
# only needed for Satellite (downstream) | |
[fake_manifest] | |
url=http://path.to/original/manifest-latest.zip | |
key_url=http://path.to/original/manifest.key | |
cert_url=http://path.to/original/manifest.crt |
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
#!/usr/bin/env bash | |
set -e | |
set -o pipefail | |
plugin_repo_url="http://updates.jenkins-ci.org/download/plugins" | |
plugin_dir="/var/lib/jenkins/plugins" | |
include_optionals=false | |
showUsage() { |
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
#!/usr/bin/python | |
import json | |
import os | |
import re | |
import requests | |
from shutil import copyfile | |
from tempfile import mkdtemp | |
update_center_url = 'https://updates.jenkins.io/update-center.json' |
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
FROM jenkins/jenkins:lts-alpine | |
USER root | |
RUN apk add --no-cache python3 py3-virtualenv curl-dev libxml2-dev libxslt-dev grep sed && \ | |
python3 -m ensurepip && \ | |
pip3 install --upgrade pip setuptools && \ | |
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \ | |
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \ | |
rm -r /root/.cache | |
RUN apk add pkgconf | |
RUN apk add build-base |