Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bots: Fix candlepin image refresh #11387

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bots/images/candlepin
6 changes: 5 additions & 1 deletion bots/images/scripts/candlepin.setup
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ yum -y install $CANDLEPIN_DEPS

# Check out candlepin; HACK: newer releases split out Ansible roles to
# https:/candlepin/ansible-role-candlepin, but these playbooks are
# completely broken with Ansible 2.6.
# impossible to work with: https://bugzilla.redhat.com/show_bug.cgi?id=1688153
git clone --depth=1 -b candlepin-2.5.1-1 https:/candlepin/candlepin.git /root/candlepin

# HACK: Apply https:/candlepin/ansible-role-candlepin/commit/82ae5bf521 to old checkout
sed -i '/rubygem-qpid_proton/ s/$/\n - rubygem-json_pure/' /root/candlepin/vagrant/roles/candlepin-root/tasks/main.yml
perl -i -00ne 'print unless /(Gem refreshing|Install gem dependencies)/' /root/candlepin/vagrant/roles/candlepin-root/tasks/main.yml

# Insert our variables and change parameters
cp /var/lib/testvm/candlepin-defaults.yml /root/candlepin/vagrant/roles/candlepin-user/defaults/main.yml

Expand Down