Both things have been introduced recently, and let you access even private ec2 instances
- Without VPN
- No open SSH port
- Authentication / Authorization is fully delegated to IAM
# Assumes valid AWS Credentials in ENV
! XTerm resources | |
! | |
! Remember to run `xrdb < .Xresources` after changing anything. | |
! | |
! Tavis Ormandy <taviso@gmail.com> | |
! Set the default UI font (menus, toolbar, etc) | |
XTerm*XftFont: Segoe UI:size=10:antialias=true:style=Regular | |
! Color of UI Components |
Both things have been introduced recently, and let you access even private ec2 instances
# Assumes valid AWS Credentials in ENV
job_name=debug-`date +%Y%m%d%H%M%S` | |
kubectl create job ${job_name} --from cj/myveeva-v118273-app-maint | |
kubectl label pod -l job-name=${job_name} run=debug | |
kubectl wait --for condition=Ready pod -l job-name=${job_name} | |
pod_name=`kubectl get pods -l job-name=${job_name} -o jsonpath='{.items[0].metadata.name}'` | |
echo "installing tools" | |
kubectl exec ${pod_name} -- sh -c "apk -q update; apk -q add bash curl jq openssh rsync vim unzip postgresql-client; pip install -q ipython" |
# Ubuntu 18:04 | |
FROM registry.opensource.zalan.do/stups/ubuntu:latest | |
#============================== | |
# Locale and encoding settings | |
#============================== | |
# Note: LANGUAGE="${LANG_WHICH}_${LANG_WHERE}.${ENCODING}" | |
ENV LANG_WHICH="en" \ | |
LANG_WHERE="US" \ | |
LOCALE_TAG="en_US" \ |
#coding:utf-8 | |
import psutil | |
from mpl_toolkits.mplot3d import Axes3D | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
TIME_NUM = 90 | |
FRAMES = 360 |
This is a demo to show how simple it is to create UI tests with SeleniumHQ based on Zalenium.
To try it out you need Python3 and virtualenv and Docker. Download/clone this repo and run run-tests.sh
.
$ ./gradlew fullAcceptanceTest | |
:fullAcceptanceTest | |
:nakadi:clean | |
:nakadi:compileJava | |
Note: /home/user/forks/nakadi/src/main/java/org/zalando/nakadi/config/JsonConfig.java uses or overrides a deprecated API. | |
Note: Recompile with -Xlint:deprecation for details. | |
Note: Some input files use unchecked or unsafe operations. | |
Note: Recompile with -Xlint:unchecked for details. | |
:nakadi:compileGroovy UP-TO-DATE | |
:nakadi:processResources |
docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 -v $(which docker):/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/videos:/home/seluser/videos --privileged dosel/zalenium start --sauceLabsEnabled false | |
Docker binary already present, will use that one. | |
Docker version 1.12.3, build 6b644ec | |
Starting Nginx reverse proxy... | |
Starting Selenium Hub... | |
.14:01:53.275 INFO - Launching Selenium Grid hub | |
..14:01:53.753 INFO - binding de.zalando.tip.zalenium.servlet.live to /grid/admin/live/* | |
log4j:WARN No appenders could be found for logger (org.seleniumhq.jetty9.util.log). | |
log4j:WARN Please initialize the log4j system properly. |
###Docker-selenium Individual Contributor License Agreement | |
Thank you for your interest in contributing to open source software projects (“Projects”) made available by elgalu/docker-selenium, elgalu/dosel, Dosel or its affiliates (“Dosel”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Dosel or docker-selenium in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact elgalu3@gmail.com. | |
You agree that the following terms apply to all of your past, present and future Contributions. | |
**Copyright License.** You hereby grant, and agree to grant, to Dosel or docker-selenium a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transfera |
# For https://github.com/elgalu/docker-selenium/issues/113 | |
FROM elgalu/selenium | |
USER root | |
ENV DEBIAN_FRONTEND=noninteractive \ | |
DEBCONF_NONINTERACTIVE_SEEN=true | |
############### | |
# Install git # |