Skip to content

Commit

Permalink
[version] bump to 3.0.0.dev10
Browse files Browse the repository at this point in the history
- Update debian package generation
- Add unspecified dependencies (in base)
- Update documentation
  • Loading branch information
adfaure committed Nov 8, 2023
1 parent 23865f4 commit bcacce0
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/debian-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
matrix:
debian:
- { BRANCH_NAME: "debian/3.0", DEBIAN_NAME: "bookworm" }
- { BRANCH_NAME: "bullseye/3.0", DEBIAN_NAME: "bullseye" }
# Branch bullseye not maintained
# - { BRANCH_NAME: "bullseye/3.0", DEBIAN_NAME: "bullseye" }
steps:
- name: Check out repository code
uses: actions/checkout@v2
Expand Down
57 changes: 43 additions & 14 deletions docs/admin/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,25 +51,35 @@ ______________________________
apt-get install gcc make tar python-docutils

# Common dependencies
apt-get install perl perl-base openssh-client openssh-server libdbi-perl libsort-versions-perl
apt-get install perl perl-base openssh-client openssh-server libdbi-perl libsort-versions-perl libterm-ui-perl

# PostgreSQL dependencies
apt-get install postgresql postgresql-client libdbd-pg-perl

# Python3 dependencies
apt-get install python3 python3-sqlalchemy python3-alembic \
python3-click python3-flask \
apt-get install python3 \
python3-alembic python3-click python3-flask \
python3-passlib python3-psutil python3-requests \
python3-simplejson python3-sqlalchemy-utils \
python3-tabulate python3-toml python3-yaml \
python3-zmq python3-psycopg2 python3-fastapi
python3-zmq python3-psycopg2 python3-fastapi \
python3-escapism python3-clustershell python3-rich

# Install procset
dpkg -i <path-to-procset>.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python-procset/python3-procset_1.0-2_all.deb
dpkg -i python3-procset_*.deb

# Install sqlalchemy 2
wget http://ftp.de.debian.org/debian/pool/main/s/sqlalchemy/python3-sqlalchemy_2.0.19+ds1-1_all.deb
dpkg -i python3-sqlalchemy_2*.deb

# Then install oar node package
dpkg -i python3-oar_*.deb oar-common_*.deb oar-server_*.deb

# Due to usage of experimental packages, you might need to run
apt --fix-broken install


Installation from the tarball
_____________________________

Expand Down Expand Up @@ -313,23 +323,33 @@ ______________________________
**Instructions**

*For the Debian like systems*::

# Install dependencies

apt-get update && \
apt-get install -y python3 perl \
python3-sqlalchemy python3-alembic \
python3-alembic \
python3-click python3-flask \
python3-passlib python3-psutil python3-requests \
python3-simplejson python3-sqlalchemy-utils \
python3-tabulate python3-toml python3-yaml \
python3-zmq python3-psycopg2 python3-fastapi
python3-zmq python3-psycopg2 python3-fastapi \
python3-escapism python3-clustershell python3-rich

# Install procset
dpkg -i <path-to-procset>.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python-procset/python3-procset_1.0-2_all.deb
dpkg -i python3-procset_*.deb

# Install sqlalchemy 2
wget http://ftp.de.debian.org/debian/pool/main/s/sqlalchemy/python3-sqlalchemy_2.0.19+ds1-1_all.deb
dpkg -i python3-sqlalchemy_2*.deb

# Then install oar node package
dpkg -i python3-oar_*.deb oar-common_*.deb oar-user_*.deb

# Due to usage of experimental packages, you might need to run
apt --fix-broken install


Installation from the tarball
_____________________________
Expand Down Expand Up @@ -433,19 +453,28 @@ ______________________________
*First install OAR3 dependencies*::

apt-get update && \
apt-get install -y python3 perl \
python3-sqlalchemy python3-alembic \
apt-get install -y python3 perl python3-alembic \
python3-click python3-flask \
python3-passlib python3-psutil python3-requests \
python3-simplejson python3-sqlalchemy-utils \
python3-tabulate python3-toml python3-yaml \
python3-zmq python3-psycopg2 python3-fastapi
python3-zmq python3-psycopg2 python3-fastapi \
python3-escapism python3-clustershell python3-rich

# Install procset
dpkg -i <path-to-procset>.deb
wget http://ftp.de.debian.org/debian/pool/main/p/python-procset/python3-procset_1.0-2_all.deb
dpkg -i python3-procset_*.deb

# Install sqlalchemy 2
wget http://ftp.de.debian.org/debian/pool/main/s/sqlalchemy/python3-sqlalchemy_2.0.19+ds1-1_all.deb
dpkg -i python3-sqlalchemy_2*.deb

# Then install oar node package
dpkg -i python3-oar_*.deb oar-common_*.deb oar-node*.deb

# Due to usage of experimental packages, you might need to run
apt --fix-broken install

# Then install oar node package along with its dependencies
dpkg -i python3-oar_*.deb oar-common_*.deb oar-node_*.deb

Installation from the tarball (sources)
_______________________________________
Expand Down
2 changes: 1 addition & 1 deletion oar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
__version__ = "3.0.0.dev9"
__version__ = "3.0.0.dev10"
VERSION = __version__
2 changes: 1 addition & 1 deletion oar/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
API_VERSION = "3.0.0.dev9"
API_VERSION = "3.0.0.dev10"
3 changes: 2 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ passlib
pyyaml
escapism
toml

rich
clustershell

0 comments on commit bcacce0

Please sign in to comment.