feat: Install python3-pygit2 version 1.6.1 from Ubuntu repositories
This commit is contained in:
@@ -8,6 +8,7 @@ for the list of changes in SaltStack.
|
|||||||
|
|
||||||
- Change Docker base image to `ubuntu:jammy-20220531`
|
- Change Docker base image to `ubuntu:jammy-20220531`
|
||||||
- Upgrade Python to version `3.10`
|
- Upgrade Python to version `3.10`
|
||||||
|
- Install `python3-pygit2` version `1.6.1` from Ubuntu repositories
|
||||||
|
|
||||||
**3004.2**
|
**3004.2**
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ source "${FUNCTIONS_FILE}"
|
|||||||
|
|
||||||
log_info "Installing required packages and build dependencies ..."
|
log_info "Installing required packages and build dependencies ..."
|
||||||
REQUIRED_PACKAGES=(
|
REQUIRED_PACKAGES=(
|
||||||
libssl1.1 zlib1g libffi7 libpcre3 libgssapi3-heimdal
|
libssl3 zlib1g libffi7 libpcre3 libgssapi3-heimdal
|
||||||
)
|
)
|
||||||
|
|
||||||
BUILD_DEPENDENCIES=(
|
BUILD_DEPENDENCIES=(
|
||||||
@@ -35,15 +35,11 @@ log_info "Installing python3 packages ..."
|
|||||||
install_pkgs --quiet \
|
install_pkgs --quiet \
|
||||||
python3-mako python3-pycryptodome python3-cherrypy3 \
|
python3-mako python3-pycryptodome python3-cherrypy3 \
|
||||||
python3-git python3-requests python3-redis python3-gnupg \
|
python3-git python3-requests python3-redis python3-gnupg \
|
||||||
python3-mysqldb python3-dateutil python3-libnacl python3-openssl
|
python3-mysqldb python3-dateutil python3-libnacl python3-openssl \
|
||||||
|
python3-pygit2
|
||||||
|
|
||||||
pip3 install timelib==0.2.5
|
pip3 install timelib==0.2.5
|
||||||
|
|
||||||
# Install pygit2 package
|
|
||||||
install_libssh2
|
|
||||||
install_libgit2
|
|
||||||
pip3 install cached-property cffi==1.14.6 pygit2==1.9.1
|
|
||||||
|
|
||||||
# Downloading bootstrap-salt.sh script
|
# Downloading bootstrap-salt.sh script
|
||||||
BOOTSTRAP_VERSION='2022.03.15'
|
BOOTSTRAP_VERSION='2022.03.15'
|
||||||
BOOTSTRAP_URL="https://raw.githubusercontent.com/saltstack/salt-bootstrap/v${BOOTSTRAP_VERSION}/bootstrap-salt.sh"
|
BOOTSTRAP_URL="https://raw.githubusercontent.com/saltstack/salt-bootstrap/v${BOOTSTRAP_VERSION}/bootstrap-salt.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user