Skip to content

Instantly share code, notes, and snippets.

View gist:e8501a5b93e554d96be0859c4f4659fb
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']
View gist:14f789bc63a125484f2d58241a094991
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/
View gist:4748d76be1a017b9d97b582ec1b0b7c5
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
View gist:0b9155f431173185b3f5a4cbb3164bf1
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.
View gist:c4d2197e8065ac61d0bfa400d36afd3e
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
View gist:dd3d073372c723886de191c8d1ee3cf8
el8:
box: centos8-foreman-nightly
ansible:
variables:
foreman_repositories_environment: staging
katello_repositories_environment: staging
foreman_installer_module_prs:
- theforeman/foreman_proxy/582
View gist:0610c3126e4f00b1803015431c070195
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:
View gist:df117e181d46d1ca175978c8549ca90a
[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'
View gist:603013cc21a5568aa8d378e649f1c5c0
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
View gist:9c20836081f9371dda25712d5bb44ab2
diff --git a/packages/foreman/nodejs-node-sass/nodejs-node-sass.spec b/packages/foreman/nodejs-node-sass/nodejs-node-sass.spec
index 3a0759fbb..8ce8e21f2 100644
--- a/packages/foreman/nodejs-node-sass/nodejs-node-sass.spec
+++ b/packages/foreman/nodejs-node-sass/nodejs-node-sass.spec
@@ -1,6 +1,7 @@
%{?scl:%scl_package nodejs-%{npm_name}}
%{!?scl:%global pkg_name %{name}}
+%global debug_package %{nil}
%global npm_name node-sass