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

feat(gemfile+lock): use ssf customised kitchen-docker repo #294

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

myii
Copy link
Owner

@myii myii commented Feb 17, 2021

Idea was prompted by an unnecessary failure on Tumbleweed during the
kitchen create phase.

https://gitlab.com/myii/fail2ban-formula/-/jobs/1033337903

( 8/10) Installing: openssh-server-8.4p1-4.1.x86_64 [...error]
Installation of openssh-server-8.4p1-4.1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: find: '/etc/init.d/rc[35].d': No such file or directory
ERROR: neither useradd nor busybox found!
error: %prein(openssh-server-8.4p1-4.1.x86_64) scriptlet failed, exit status 1
error: openssh-server-8.4p1-4.1.x86_64: install failed
error: openssh-server-8.4p1-3.1.x86_64: erase skipped
Abort, retry, ignore? [a/r/i] (a): a
Warning: %posttrans scripts skipped while aborting:
    sudo-1.9.5p2-1.2.x86_64.rpm
    openssh-server-8.4p1-4.1.x86_64.rpm
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.

Conducted various local tests but hitting the same failure. Even
noticed it occurring in the salt-bootstrap CI.

The idea is that there is no need to reinstall packages that are already
present in our pre-salted images. This approach will also improve
performance as well. Tested out this idea on a few repos and Tumbleweed
is working fine.


Note, this is the diff for the custom kitchen-docker repo:

Idea was prompted by an unnecessary failure on Tumbleweed during the
`kitchen create` phase.

https://gitlab.com/myii/fail2ban-formula/-/jobs/1033337903

```console
( 8/10) Installing: openssh-server-8.4p1-4.1.x86_64 [...error]
Installation of openssh-server-8.4p1-4.1.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: find: '/etc/init.d/rc[35].d': No such file or directory
ERROR: neither useradd nor busybox found!
error: %prein(openssh-server-8.4p1-4.1.x86_64) scriptlet failed, exit status 1
error: openssh-server-8.4p1-4.1.x86_64: install failed
error: openssh-server-8.4p1-3.1.x86_64: erase skipped
Abort, retry, ignore? [a/r/i] (a): a
Warning: %posttrans scripts skipped while aborting:
    sudo-1.9.5p2-1.2.x86_64.rpm
    openssh-server-8.4p1-4.1.x86_64.rpm
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.
```

Conducted various local tests but hitting the same failure.  Even
noticed it occurring in the `salt-bootstrap` CI.

The idea is that there is no need to reinstall packages that are already
present in our pre-salted images.  This approach will also improve
performance as well.  Tested out this idea on a few repos and Tumbleweed
is working fine.
myii added a commit to saltstack-formulas/apache-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/apt-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/apt-cacher-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/arvados-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/bind-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/cert-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/chrony-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/collectd-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/consul-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/cron-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/deepsea-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/devstack-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/dhcpd-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/django-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/docker-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/eclipse-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/epel-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/exim-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/fail2ban-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/firewalld-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/golang-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/grafana-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/haproxy-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/hostsfile-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/icinga2-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/influxdb-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/iptables-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/iscsi-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/java-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/rkhunter-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/rng-tools-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/rspamd-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/salt-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/sqldeveloper-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/sqlplus-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/strongswan-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/stunnel-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/sudoers-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/suricata-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/sysctl-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/syslog-ng-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/sysstat-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/systemd-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/telegraf-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/template-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/timezone-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/tomcat-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/ufw-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/users-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/varnish-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/vault-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/vim-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/vsftpd-formula that referenced this pull request Feb 17, 2021
myii added a commit to saltstack-formulas/zabbix-formula that referenced this pull request Feb 17, 2021
@myii myii merged commit 16e47cd into master Feb 17, 2021
@myii myii deleted the feat/use-ssf-customised-kitchen-docker-repo branch February 17, 2021 13:57
@myii
Copy link
Owner Author

myii commented Feb 17, 2021

🎉 This PR is included in version 1.244.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant