| Title |
|---|
Rumblings with BanzaiClouds Logging operator |
minikube -p banzai-log start --memory 24000 --cpus 4 --disk-size 100
minikube start -p eck --memory 8192 --cpus 4 --disk-size 50g
| --- | |
| - name: Comparing Semantic versions | |
| hosts: localhost | |
| tasks: | |
| - name: a < b | |
| assert: | |
| that: | |
| - "{{ item.a is version_compare(item.b, '<') }}" | |
| with_items: |
| .tox/ | |
| virtualenv/ | |
| .venv/ | |
| .vagrant/ |
| """ | |
| Testing Nexus Configuration | |
| """ | |
| import os | |
| import json | |
| import requests | |
| from requests.auth import HTTPBasicAuth | |
| from pytest import mark | |
| from testinfra.utils.ansible_runner import AnsibleRunner |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "ubuntu/xenial64" | |
| config.vm.define "minikube" do |kube| | |
| config.vm.provider "virtualbox" do |vb| | |
| vb.memory = "4096" | |
| vb.cpus = "4" | |
| end | |
| config.vm.network "forwarded_port", | |
| guest: 30000, |
| tests/ | |
| .molecule/ |
| // Based on java example: http://docs.oracle.com/javase/tutorial/networking/urls/readingWriting.html | |
| // save as: URLConnectionReader.java | |
| // compile using JDK: javac URLConnectionReader.java | |
| // run: java URLConnectionReader | |
| // good path: returns HTML | |
| // bad path: throws an exception | |
| import java.net.*; | |
| import java.io.*; |
| package adatszerk.duplazo; | |
| import java.util.*; | |
| //import adatszerk.duplazo.exception.*;˚ | |
| /** | |
| * Az adatszerkezet egy sort abrazol | |
| * ... | |
| * (lasd setMaxDupla metodus) ... A DuplazoSor innentől csak összehasonlító művelettel rendelkező típusokra működjön, | |
| * azaz a paraméterezése legyen DuplazoSor<T extends Comparable<T>>. | |
| * ... |