I hereby claim:
- I am gomez on github.
- I am gomez (https://keybase.io/gomez) on keybase.
- I have a public key whose fingerprint is AFA5 22C2 8C46 698A 7558 5BA3 6341 1B94 FD70 495B
To claim this, I am signing this object:
DBNAME=DBNAME | |
DBUSER=DBUSER | |
DBPASS=DBPASS | |
# Used parenthesis for the initial 'mysql' command so we can have a heredoc and still | |
# pipe stdout back into mysql. | |
# The tail command skips the first line of output, so we have only the ALTER TABLE commands. | |
# After all that, pipe the output back into the mysql command. | |
(mysql -u$DBUSER -p$DBPASS $DBNAME << ENDSQL |
<?php | |
/** * ownCloud | |
* | |
* @author Steffen Linnder | |
* @copyright 2013 Steffen Lindner mail@steffen-lindner.de | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE | |
* License as published by the Free Software Foundation; either | |
* version 3 of the License, or any later version. |
I hereby claim:
To claim this, I am signing this object:
We just have a root user so copy key to it: | |
ssh-copy-id root@debops1 | |
Let debops bootstrap: | |
debops bootstrap -u root -l debops1 | |
bootstrap works, we now let create the rest and user: |
This howto shows how to move a non-debops Gitlab Installation to debops managed install (and let debops do the upgrade).
You need a working debops gitlab install on a (new) server. See Getting started and debops.gitlab
To be able to import a backup both Gitlab Installations need be the same version:
#!/bin/bash | |
set -e | |
export OC_PASS=test12 | |
for ((j=1;j<=30;j++)); | |
do | |
for ((i=1;i<=50;i++)); | |
do | |
./occ user:add pomes_$i-$j --password-from-env -g tester_$j | |
done |
before_script: - /usr/bin/virtualenv . - source bin/activate Ansible2100: script: - bin/pip install -r requirements.txt - bin/debops-update - ansible-galaxy install -nr requirements.yml --force -p ansible/roles/ - export PATH=$PATH:bin/ - bin/debops --syntax-check | |
before_script: | |
- /usr/bin/virtualenv . | |
- source bin/activate Ansible2100: | |
script: | |
- bin/pip install -r requirements.txt | |
- bin/debops-update | |
- ansible-galaxy install -nr requirements.yml --force -p ansible/roles/ | |
- export PATH=$PATH:bin/ |
# -*- coding: utf-8 -*- | |
""" | |
""" | |
import datetime | |
from email.mime.text import MIMEText | |
import requests | |
import smtplib | |
import sys | |
import os.path |