Skip to content

Instantly share code, notes, and snippets.

@ianballou
Created April 29, 2021 17:47
Show Gist options
  • Save ianballou/342b53e1c3de6dec07a8c430b984f4a1 to your computer and use it in GitHub Desktop.
Save ianballou/342b53e1c3de6dec07a8c430b984f4a1 to your computer and use it in GitHub Desktop.
Install or update Pulp 3 from PyPI on a Katello system
sudo pip3 install scikit-build nose
sudo yum install -y gcc make cmake bzip2-devel expat-devel file-devel glib2-devel libcurl-devel libmodulemd2-devel ninja-build libxml2-devel python36-devel python36-gobject rpm-devel openssl-devel sqlite-devel xz-devel zchunk-devel zlib-devel swig3
sudo pip3 install "git+https://github.com/pulp/pulpcore.git" \
"git+https://github.com/pulp/pulp_file.git" \
"git+https://github.com/pulp/pulp_rpm.git" \
"git+https://github.com/pulp/pulp_container.git" \
"git+https://github.com/pulp/pulp-2to3-migration.git"
cd /tmp
sudo -u pulp PULP_SETTINGS='/etc/pulp/settings.py' /usr/local/bin/pulpcore-manager migrate
cd ~/foreman
bundle exec rails katello:reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment