Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
2019-06-24 23:56:57 DEBUG Webdrivers A working webdriver version is already on the system | |
2019-06-24 23:57:37 INFO Webdrivers webdriver log file is set to ./webdrivers.log | |
2019-06-24 23:57:37 INFO Webdrivers webdriver binary is going to be installed to ./webdrivers | |
2019-06-24 23:57:37 INFO Webdrivers Running under Linux. Need special handling since under Ubuntu it seems to ignore the WD_CHROME_PATH | |
2019-06-24 23:57:37 INFO Webdrivers Running under Jenkins / Ubuntu | |
2019-06-24 23:57:37 DEBUG Webdrivers Checking current version | |
2019-06-24 23:57:37 DEBUG Webdrivers /home/jenkins/workspace/webdriver69_affiliate/label_exp/qa-test-qa-slave/spec_file_path/affiliates_login_spec.rb/webdrivers/chromedriver is not already downloaded | |
2019-06-24 23:57:37 DEBUG Webdrivers WD_CHROME_PATH: /home/jenkins/workspace/webdriver69_affiliate/label_exp/qa-test-qa-slave/spec_file_path/affiliates_login_spec.rb/chrome/opt/google/chrome/chrome | |
2019-06-24 23:57:37 DEBUG Webdrivers making System call: ["/home/jenkins/workspace/webdriver69_ |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
FROM python:2.7-alpine | |
RUN mkdir /app | |
WORKDIR /app | |
COPY requirements.txt requirements.txt | |
RUN pip install -r requirements.txt | |
COPY . . |
docker image build --no-cache -t web . | |
Sending build context to Docker daemon 5.632kB | |
Step 1/8 : FROM python:2.7-alpine | |
---> 9b06bbaac1c7 | |
Step 2/8 : RUN mkdir /app | |
---> Running in 40023c9de219 | |
---> f89e81b020da | |
Removing intermediate container 40023c9de219 | |
Step 3/8 : WORKDIR /app | |
---> 39183ff3f1be |
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "Create an EC2 instance, set up Apache, and create Route53 A records", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
"Type" : "String", |
ubuntu@ip-172-30-112-127:~$ cat install2.log | |
Downloading/unpacking backports.ssl-match-hostname==3.4.0.2 (from -r requirements.txt (line 1)) | |
Downloading backports.ssl_match_hostname-3.4.0.2.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/backports.ssl-match-hostname/setup.py) egg_info for package backports.ssl-match-hostname | |
Downloading/unpacking boto==2.2.2 (from -r requirements.txt (line 2)) | |
Running setup.py (path:/tmp/pip_build_root/boto/setup.py) egg_info for package boto |
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
#!/bin/bash | |
# | |
# git-mv-with-history -- move/rename file or folder, with history. | |
# | |
# Moving a file in git doesn't track history, so the purpose of this | |
# utility is best explained from the kernel wiki: | |
# | |
# Git has a rename command git mv, but that is just for convenience. | |
# The effect is indistinguishable from removing the file and adding another | |
# with different name and the same content. |