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(kitchen): use bootstrapped opensuse images until 2019.2.2 #52

Merged
merged 2 commits into from
Oct 1, 2019

Conversation

myii
Copy link
Owner

@myii myii commented Oct 1, 2019


To do this effectively, had to prepare with another commit first:

refactor(kitchen): use macros for each section under `driver`
  • Separated the logic in the kitchen.yml template, so that this workaround could be applied a bit more cleanly.

Final point, when it's time to use the pre-salted images again, only the second commit needs to be reverted (or a simulation of that). It may be more appropriate to use a boolean value to be able to switch the selection as required.

Update: The "reversion" mentioned in the paragraph above will need to include the commit in #53 as well.

* The current pre-salted `opensuse` images are using `mirror.23media.com`
  - https://github.com/netmanagers/salt-image-builder/blob/d6e57f6b22570530a627c89a94fed02754a3197d/scripts/prepare.sh#L99
  - This has been proving to be unreliable in recent days, causing failed builds
* Preparing new pre-salted images would pull in `2019.2.1`, which is a no-go
  - netmanagers/salt-image-builder#7
  - saltstack/salt#54765
* This workaround is to use bootstrapped images in the interim
myii added a commit to saltstack-formulas/template-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/iptables-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/sysctl-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/locale-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/keepalived-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/collectd-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/vim-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/golang-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/vsftpd-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/logrotate-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/fail2ban-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/dhcpd-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/mysql-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/timezone-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/rkhunter-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/php-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/users-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/systemd-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/redis-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/exim-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/grafana-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/apt-cacher-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/openvpn-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/deepsea-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/postgres-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/sudoers-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/influxdb-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/libvirt-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/nginx-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/prometheus-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/stunnel-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/syslog-ng-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/ufw-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/cron-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/postfix-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/bind-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/sysstat-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/chrony-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/cert-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/openssh-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/lvm-formula that referenced this pull request Oct 1, 2019
myii added a commit to saltstack-formulas/salt-formula that referenced this pull request Oct 1, 2019
@myii myii merged commit c1f1d14 into master Oct 1, 2019
@myii myii deleted the feat/use-bootstrapped-opensuse-images branch October 1, 2019 20:40
myii added a commit to myii/vault-formula that referenced this pull request Oct 1, 2019
@myii
Copy link
Owner Author

myii commented Oct 1, 2019

🎉 This PR is included in version 1.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@myii myii added the released label Oct 1, 2019
myii added a commit that referenced this pull request Oct 1, 2019
* Completes #52
* Found when working on saltstack-formulas/vault-formula#47
  - Wasn't necessary while testing on the `template-formula`
* List of packages taken from:
  - https://github.com/netmanagers/salt-image-builder/blob/d6e57f6b22570530a627c89a94fed02754a3197d/scripts/prepare.sh
  - Removed duplicate `net-tools`
  - Removed extraneous `udev` (installed already during initial provisioning)
myii pushed a commit that referenced this pull request Oct 1, 2019
## [1.11.1](v1.11.0...v1.11.1) (2019-10-01)

### Bug Fixes

* **kitchen:** install required packages to bootstrapped `opensuse` ([3c436cb](3c436cb)), closes [#52](#52)
noelmcloughlin pushed a commit to noelmcloughlin/golang-formula that referenced this pull request Nov 18, 2019
blarghmatey pushed a commit to mitodl/nginx-formula that referenced this pull request Dec 17, 2019
markbreedlove pushed a commit to mitodl/nginx-formula that referenced this pull request Dec 17, 2019
noelmcloughlin pushed a commit to noelmcloughlin/salt-formula that referenced this pull request Jan 22, 2020
noelmcloughlin pushed a commit to noelmcloughlin/salt-formula that referenced this pull request Jan 23, 2020
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