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
| #!/bin/bash | |
| shopt -s expand_aliases | |
| set -e | |
| set -x | |
| EXPORT_ORG="export-$RANDOM" | |
| PRODUCT="prod" | |
| REPO1="katello" | |
| REPO1_URL="https://fedorapeople.org/groups/katello/releases/yum/3.8/katello/el7/x86_64/" | |
| REPO2="misc" | |
| REPO2_URL="https://fixtures.pulpproject.org/rpm-with-modules/" |
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 ~/hammer-cli-katello | |
| bundle install | |
| bundle exec bash | |
| cd ~ | |
| wget https://partha.fedorapeople.org/devel/hammer.tgz | |
| tar zxf hammer.tgz | |
| ll .hammer # verify there's stuff in that dir | |
| cd hammer-cli-katello | |
| hammer ping |
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
| Install dynaconf 3 and update /etc/pulp/settings.py | |
| sudo systemctl stop pulpcore* | |
| sudo su - postgres | |
| dropdb pulp -p 7878 | |
| createdb pulp -p 7878 | |
| exit | |
| cd /usr/local/lib/pulp/src/pulpcore/ | |
| sudo -u pulp PULP_SETTINGS='/etc/pulp/settings.py' DJANGO_SETTINGS_MODULE='pulpcore.app.settings' /usr/local/lib/pulp/bin/django-admin migrate --no-input | |
| sudo -u pulp PULP_SETTINGS='/etc/pulp/settings.py' DJANGO_SETTINGS_MODULE='pulpcore.app.settings' /usr/local/lib/pulp/bin/django-admin reset-admin-password --password password |
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
| #!/usr/bin/env sh | |
| KATELLO_PATH=/home/vagrant/katello | |
| if [[ -n $1 ]] | |
| then | |
| RAKE_PATH=`bundle show rake` | |
| mode=all ruby -I"lib:test:${KATELLO_PATH}/test:${KATELLO_PATH}/spec" -I"${RAKE_PATH}/lib" $@ | |
| else | |
| mode=all bundle exec rake test:katello |
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
| webpack_dev_server true in config/settings.yaml | |
| BIND=0.0.0.0 ./node_modules/.bin/webpack-dev-server --watch-poll 1000 --disable-host-check --config config/webpack.config.js $WEBPACK_OPTS | |
| bundle exec puma -b 'tcp://0.0.0.0' -p 3000 |
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 ip link delete virbr0 |