-
-
Notifications
You must be signed in to change notification settings - Fork 15
Building distribution package
Adam Schubert edited this page Mar 23, 2019
·
1 revision
apt-get update -qy
apt-get install -y curl gnupg apt-transport-https
curl -sL https://apt.salamek.cz/apt/conf/salamek.gpg.key | apt-key add -
curl -sL https://deb.nodesource.com/setup_11.x | bash -
echo "deb https://apt.salamek.cz/apt all main" | tee /etc/apt/sources.list.d/salamek.cz.list
apt-get update -qy
apt-get install -y nodejs python3-python-gitlab python3-paramiko python3-git python3-flask-celery-helper python3-dev python-pip redis-server python3-pip python3-stdeb python3-celery nodejs git python3-markupsafe python3-psycopg2 python3-dateutil python3-docopt python3-yaml python3-wtforms python3-raven python3-flask-migrate python3-flask-babel python3-flask-navigation python3-cron-descriptor python3-flask-login python3-kombu rabbitmq-server
cd gitlab_tools/static
npm install
cd -
export DEB_BUILD_OPTIONS=nocheck
python3 setup.py --command-packages=stdeb.command bdist_deb
echo "[salamek]" >> /etc/pacman.conf
echo "Server = https://arch.salamek.cz/any" >> /etc/pacman.conf
echo "SigLevel = Optional" >> /etc/pacman.conf
pacman -Syu python-pip base gcc nodejs python-crypto sudo git python-gitlab redis python-paramiko openssh npm python-gitpython python-flask-celery-helper python-celery python-flask python-babel python-yaml python-flask-login python-flask-migrate python-flask-wtf python-raven python-docopt python-eventlet python-psycopg2 python-flask-babel python-flask-navigation python-cron-descriptor fakeroot systemd python-kombu rabbitmq --noconfirm
cd archlinux
makepkg -f