Project to easy use Epitech BLIH on all OS and distributions.
Blih
script was extracted from Epitech repository: Epitech Dump
Test your container:
docker run -it gaam1n/blih -u firstname.lastname@epitech.eu whoami
It's extracted from Blih helper:
Usage: blih.py [options] command ...
Global Options :
-u user | --user=user -- Run as user
-v | --verbose -- Verbose
-b url | --baseurl=url -- Base URL for BLIH
-t | --token -- Specify token in the cmdline
Commands :
repository -- Repository management
sshkey -- SSH-KEYS management
whoami -- Print who you are
blih -u firstname.lastname@epitech.eu sshkey upload
/path/to/your/public/key
With docker you must mount you ssh-key in container with following command:
docker run -it -v ~/.ssh:/root/.ssh gaam1n/blih -u {epitech_mail} sshkey upload /root/.ssh/id_rsa.pub
blih -u firstname.lastname@epitech.eu repository create
my_repo
git clone git@git.epitech.eu:/{epitech_mail}/{repo_name}
If your first login (when you beginning Epitech) it's not your email you must use it.
blih -u firstname.lastname@epitech.eu repository setacl
my_repo ramassage-tek r
echo "alias blih="docker run -it gaam1n/blih" >> ~/.bashrc
You can add
-u firstname.lastname@epitech.eu
if you want quickly useblih
All informations about this container and Blih.
- Python version:
3.8
- Blih version:
1.7