This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| centos8: | |
| box: centos8 | |
| cpus: 4 | |
| memory: 10000 | |
| centos7-katello-devel: | |
| primary: true | |
| box: centos7 | |
| cpus: 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /home/vagrant/foreman && source .env && BIND=0.0.0.0 bundle exec puma -w 3 -p $PORT --preload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uuid=$(uuidgen) | |
| short=$(hostname -s) | |
| domain=YOUR.DOMAIN | |
| echo "{\"dmi.system.uuid\": \"${uuid}\"}" > /etc/rhsm/facts/uuid.facts | |
| hostnamectl set-hostname ${short}.${uuid%%-*}.${domain} | |
| subscription-manager clean | |
| subscription-manager register --activationkey YOUR_AK --org YOUR_ORG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| As the vagrant user: | |
| $ npm install -g @modelcontextprotocol/server-postgres | |
| $ claude mcp add postgres-server npx @modelcontextprotocol/server-postgres "postgresql://katello:@localhost:5432/katello" | |
| Example use: | |
| $ claude | |
| ╭───────────────────────────────────────────────────╮ | |
| │ ✻ Welcome to Claude Code! │ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Performance test for errata applications migration | |
| # Run with: bundle exec rake katello:dev:performance_test_migration | |
| namespace :katello do | |
| namespace :dev do | |
| desc "Performance test for errata applications migration" | |
| task :performance_test_migration => :environment do | |
| require 'benchmark' | |
| puts "=" * 80 |
OlderNewer