Skip to content

Instantly share code, notes, and snippets.

<VirtualHost *:443>
ServerName centos.installer
DocumentRoot "/var/www"
## Directories, there should at least be a declaration for /var/www
<Directory "/var/www">
Options SymLinksIfOwnerMatch
cd forklift/
git checkout daa523e6d5c1a3ad2696fede8fc02b6052c03234
ansible-playbook pipelines/install_pipeline.yml -e @pipelines/vars/common/katello_nightly_centos8.yml -e foreman_installer_module_branches=['theforeman/pulpcore/714e1874be73327e3f568428ac0ef3ad0cf8f81a']
cd forklift/
ansible-playbook pipelines/install_pipeline.yml -e @pipelines/vars/common/foreman_nightly_centos7.yml -e koji_task_ids=[]
cd foreman
rake pk:generate_source
ls pkg/foreman-2.6.0.tar.gz
cd foreman-packaging
git checkout rpm/develop
cp ../foreman/pkg/foreman-2.6.0.tar.gz packages/foreman/foreman/
alias beaker-test-el7='BEAKER_HYPERVISOR=docker BEAKER_provision=yes BEAKER_destroy=yes BEAKER_setfile=centos7-64{hostname=centos7-64.example.com} bundle exec rake beaker'
alias beaker-test-el8='BEAKER_HYPERVISOR=docker BEAKER_provision=yes BEAKER_destroy=yes BEAKER_setfile=centos8-64{hostname=centos8-64.example.com} bundle exec rake beaker'
alias beaker-test-debian10='BEAKER_HYPERVISOR=docker BEAKER_provision=yes BEAKER_destroy=yes BEAKER_setfile=debian10-64{hostname=debian10-64.example.com} bundle exec rake beaker'
alias beaker-test-ubuntu18='BEAKER_HYPERVISOR=docker BEAKER_provision=yes BEAKER_destroy=yes BEAKER_setfile=ubuntu1804-64{hostname=ubuntu1804-64.example.com} bundle exec rake beaker'
alias beaker-test-el7-nodestroy='BEAKER_HYPERVISOR=docker BEAKER_provision=yes BEAKER_destroy=no BEAKER_setfile=centos7-64{hostname=centos7-64.example.com} bundle exec rake beaker'
alias beaker-test-el8-nodestroy='BEAKER_HYPERVISOR=docker BEAKER_provision=yes BEAKER_destroy=no BEAKER_setfile=centos8-64{hostname=cent
ActiveRecord::RecordInvalid: Validation failed: Provider type translation missing: en.activerecord.errors.models.job_template.attributes.provider_type.uniq
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:80:in `raise_validation_error'
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:53:in `save!'
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:318:in `block in save!'
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:278:in `transaction'
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in `transaction'
/home/vagrant/foreman/.vendor/ruby/2.7.0/gems/activerecord-6.0.3.
epel-release.noarch 8-8.el8 @@commandline
haveged.x86_64 1.9.13-2.el8 @epel
rubygem-gssapi.noarch 1.3.0-2.el8 @epel
rubygem-locale.noarch 2.1.2-3.el8.2 @epel
rubygem-mime-types-data.noarch 3.2019.0331-1.el8 @epel
rubygem-rack.noarch 2.2.2-1.el8 @epel
rubygem-rb-inotify.noarch 0.10.0-1.el8 @epel
el8:
box: centos8-foreman-nightly
ansible:
variables:
foreman_repositories_environment: staging
katello_repositories_environment: staging
foreman_installer_module_prs:
- theforeman/foreman_proxy/582
iff --git a/package_manifest.yaml b/package_manifest.yaml
index b50649d9a..edec804e4 100644
--- a/package_manifest.yaml
+++ b/package_manifest.yaml
@@ -1,5 +1,7 @@
---
packages:
+ vars:
+ foremandist: .fm2_1
children:
[Librarian] The specfile is unchanged: nothing to do.
[Librarian] Install: dependencies resolved
[Librarian] Installing puppetlabs-translate/2.2.0 <https://forgeapi.puppetlabs.com/>
Unable to load puppet. Please install it using native packages for your platform (eg .deb, .rpm, .dmg, etc).
puppet --version returned pid 3308408 exit 1
/usr/share/gems/gems/bundler-1.17.2/lib/bundler/spec_set.rb:91:in `block in materialize': Could not find rake-13.0.1 in any of the sources (Bundler::GemNotFound)
from /usr/share/gems/gems/bundler-1.17.2/lib/bundler/spec_set.rb:85:in `map!'
from /usr/share/gems/gems/bundler-1.17.2/lib/bundler/spec_set.rb:85:in `materialize'
from /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:170:in `specs'
from /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:237:in `specs_for'
fatal: [rubygem-kafo]: FAILED! => changed=true
cmd: mock --recurse --chain -r mock/el7-scl.cfg --localrepo /home/ehelms/workspace/upstream/foreman-packaging/mock_builds SRPMs/*
delta: '0:00:06.959372'
end: '2020-04-07 12:28:07.951739'
msg: non-zero return code
rc: 30
start: '2020-04-07 12:28:00.992367'
stderr: |-
INFO: mock.py version 2.2 starting (python version = 3.7.6)...
INFO: Using 'dnf' instead of 'yum' for bootstrap chroot