I hereby claim:
- I am gertvdijk on github.
- I am gertvdijk (https://keybase.io/gertvdijk) on keybase.
- I have a public key whose fingerprint is BB0F CCD1 00FB 082F D67E FBF9 B90E 30CB A08C 9903
To claim this, I am signing this object:
import time | |
from typing import Optional | |
import docker | |
import pytest | |
class PostgresImage: | |
_container_id: Optional[str] = None | |
_container_obj: Optional[docker.models.containers.Container] = None |
# 0) Create Gerrit dev instance, create project 'foo', clone it, etc. | |
export GERRIT_PROJECT=foo | |
# Have set up a ~/.ssh/config with 'Host ${GERRIT_HOST}' configuration that sets | |
# user and port. | |
export GERRIT_HOST=testgerrit | |
git clone ssh://${GERRIT_HOST}/$GERRIT_PROJECT | |
cd $GERRIT_PROJECT | |
scp -p ${GERRIT_HOST}:hooks/commit-msg .git/hooks/ |
#!/bin/sh -ex | |
SITE_PATH="${HOME}/site" | |
GERRIT_WAR="/path/to/gerrit.war" | |
# Because Gerrit's "daemon --init" can't take init options we will do this | |
# separately. Feature request filed: | |
# https://bugs.chromium.org/p/gerrit/issues/detail?id=9004 | |
# Init site (provision). Note that the GERRIT_WAR may be a different version |
#!/bin/bash | |
# Based on https://github.com/coreos/rkt/blob/v1.15.0/scripts/install-rkt.sh | |
# | |
# Pre-requirement: install the packages: | |
# - ca-certificates | |
# - curl | |
# - gnupg2 | |
# - bash-completion | |
# - checkinstall |
I hereby claim:
To claim this, I am signing this object: