I hereby claim:
- I am rogmanster on github.
- I am rogman (https://keybase.io/rogman) on keybase.
- I have a public key ASDAO6lM5AzXoYfGC-bycHHG8LtmZRMKhR8XKfHbSgBnjQo
To claim this, I am signing this object:
sudo apt -y install python3-pip | |
git clone https://github.com/rychao/python-scraper | |
chmod +x python-scraper/kith.py | |
pip3 install selenium | |
curl -O https://chromedriver.storage.googleapis.com/87.0.4280.88/chromedriver_linux64.zip | |
sudo apt -y install unzip | |
unzip chromedriver | |
sudo mv chromedriver /usr/local/bin/. |
# LDAP Auth | |
## PERSONA - ADMIN | |
# Set Vault Premium License | |
clear | |
vault login root | |
vault write sys/license text=$VAULT_PREMIUM_LICENSE | |
#Enable KV store | |
vault secrets enable -path=secret kv-v2 |
#!/usr/bin/python3 | |
""" | |
Script that creates Personal Access Token for Gitlab API; | |
Tested with: | |
- GitLab Community Edition 10.1.4 | |
- Gitlab Enterprise Edition 12.6.2 | |
""" | |
import sys | |
import requests | |
from urllib.parse import urljoin |
pipeline { | |
agent any | |
stages { | |
stage('Integration Tests') { | |
steps { | |
sh 'curl -s -o vault.zip https://releases.hashicorp.com/vault/1.4.0/vault_1.4.0_linux_amd64.zip ; yes | unzip vault.zip' | |
withCredentials([string(credentialsId: 'JENKINS_VAULT_ADDR', variable: 'VAULT_ADDR'),string(credentialsId: 'JENKINS_VAULT_TOKEN', variable: 'VAULT_TOKEN')]) { | |
sh ''' | |
set +x | |
## ENV |
{ | |
"oidc_discovery_url":"https://dev-2sqiyoyv.auth0.com/", | |
"bound_issuer":"https://dev-2sqiyoyv.auth0.com/", | |
"default_role":"demo" | |
} |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]:\[\033[33;1m\]\W\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
export TERM=xterm-256color |
#!/bin/bash -e | |
echo "-> Installing dependencies....." | |
apt-get update | |
apt-get upgrade | |
apt-get install -y \ | |
apt-transport-https \ | |
build-essential \ | |
ca-certificates \ | |
curl \ |
I hereby claim:
To claim this, I am signing this object: