-
Notifications
You must be signed in to change notification settings - Fork 85
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
ci(kitchen+travis): replace EOL pre-salted images #148
Merged
aboe76
merged 1 commit into
saltstack-formulas:develop
from
myii:ci/replace-eol-pre-salted-images
Aug 6, 2019
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci(kitchen+travis): replace EOL pre-salted images
* Fedora: 30 => 29 & 29 => 28 (EOL) * OpenSuse: 15 => 42 (EOL) - Use `dist: xenial` to prevent failures Squashed commits: * ci(kitchen+travis): add new `amazonlinux-2` pre-salted images * ci(kitchen+travis): use new `debian-10` pre-salted image for `develop`
- Loading branch information
commit 42ab22c13fa4269a91fcea5471e25fa29d7acbd8
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ driver: | |
# the `env.matrix` instances defined in `.travis.yml` | ||
platforms: | ||
## SALT `develop` | ||
- name: debian-9-develop-py3 | ||
- name: debian-10-develop-py3 | ||
driver: | ||
image: netmanagers/salt-develop-py3:debian-9 | ||
image: netmanagers/salt-develop-py3:debian-10 | ||
provision_command: | ||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop | ||
|
@@ -30,9 +30,9 @@ platforms: | |
provision_command: | ||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop | ||
- name: fedora-29-develop-py3 | ||
- name: fedora-30-develop-py3 | ||
driver: | ||
image: netmanagers/salt-develop-py3:fedora-29 | ||
image: netmanagers/salt-develop-py3:fedora-30 | ||
provision_command: | ||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop | ||
|
@@ -43,6 +43,12 @@ platforms: | |
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop | ||
run_command: /usr/lib/systemd/systemd | ||
- name: amazonlinux-2-develop-py2 | ||
driver: | ||
image: netmanagers/salt-develop-py2:amazonlinux-2 | ||
provision_command: | ||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com | ||
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop | ||
|
||
## SALT `2019.2` | ||
- name: debian-9-2019-2-py3 | ||
|
@@ -54,13 +60,16 @@ platforms: | |
- name: centos-7-2019-2-py3 | ||
driver: | ||
image: netmanagers/salt-2019.2-py3:centos-7 | ||
- name: fedora-29-2019-2-py3 | ||
- name: fedora-30-2019-2-py3 | ||
driver: | ||
image: netmanagers/salt-2019.2-py3:fedora-29 | ||
image: netmanagers/salt-2019.2-py3:fedora-30 | ||
- name: opensuse-leap-15-2019-2-py3 | ||
driver: | ||
image: netmanagers/salt-2019.2-py3:opensuse-leap-15 | ||
run_command: /usr/lib/systemd/systemd | ||
- name: amazonlinux-2-2019-2-py2 | ||
driver: | ||
image: netmanagers/salt-2019.2-py2:amazonlinux-2 | ||
|
||
## SALT `2018.3` | ||
- name: debian-9-2018-3-py2 | ||
|
@@ -75,10 +84,13 @@ platforms: | |
- name: fedora-29-2018-3-py2 | ||
driver: | ||
image: netmanagers/salt-2018.3-py2:fedora-29 | ||
- name: opensuse-leap-42-2018-3-py2 | ||
- name: opensuse-leap-15-2018-3-py2 | ||
driver: | ||
image: netmanagers/salt-2018.3-py2:opensuse-leap-42 | ||
image: netmanagers/salt-2018.3-py2:opensuse-leap-15 | ||
run_command: /usr/lib/systemd/systemd | ||
- name: amazonlinux-2-2018-3-py2 | ||
driver: | ||
image: netmanagers/salt-2018.3-py2:amazonlinux-2 | ||
|
||
## SALT `2017.7` | ||
- name: debian-8-2017-7-py2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See comment below. |
||
|
@@ -91,13 +103,16 @@ platforms: | |
driver: | ||
image: netmanagers/salt-2017.7-py2:centos-6 | ||
run_command: /sbin/init | ||
- name: fedora-28-2017-7-py2 | ||
- name: fedora-29-2017-7-py2 | ||
driver: | ||
image: netmanagers/salt-2017.7-py2:fedora-28 | ||
- name: opensuse-leap-42-2017-7-py2 | ||
image: netmanagers/salt-2017.7-py2:fedora-29 | ||
- name: opensuse-leap-15-2017-7-py2 | ||
driver: | ||
image: netmanagers/salt-2017.7-py2:opensuse-leap-42 | ||
image: netmanagers/salt-2017.7-py2:opensuse-leap-15 | ||
run_command: /usr/lib/systemd/systemd | ||
- name: amazonlinux-2-2017-7-py2 | ||
driver: | ||
image: netmanagers/salt-2017.7-py2:amazonlinux-2 | ||
|
||
provisioner: | ||
name: salt_solo | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You changed previous debian-9 to debian-10. I would have changed this debian-8 commented line instead.
Maybe also let debian-9 be tested and the new debian-10 recently released be tested too, keeping both for some time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daks Thanks for the suggestion. With so many images to choose from, it's always going to be hard to select 6 for the matrix! The general idea behind the Debian images was to have all of the supported versions represented at least once. So that became:
10
x 19
x 28
x 1In terms of the matrix itself, we've now got 6 different platforms, so we need to use each one once. Since
amazonlinux-2
was a straight swap withcentos-7
, that's what I did.Ultimately, each formula can use it's own combination, so I'm not sure how to improve this without losing something else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say that, even if it's still supported one year, Debian 8 is now the least critical to remove for Debian versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be easier to track the debian version from the saltstack repo, debian 10 packages are still a wip.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javierbertoli I'd love to get your input on this discussion above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kinda agree with @daks, that we should keep them for a while, but also remember we don't need to use/enable them all as long as the relevant tests so a matrix:
would cover most of the relevant cases. I think that:
might satisfy those cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javierbertoli that would cover most OSes and derivatives
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daks @aboe76 @javierbertoli Can we reach a decision on this soon? The first stage of PRs to standardise the files has almost completed (thanks to you all for your reviews and merges). The second stage will depend on this decision; I've also got a
users-formula
PR waiting in the wings.Actually, there is another way: we could wait for me to get
ssf-formula
out there and then have a PR there to make this final decision. Perhaps that would be even better, since all the PRs would be triggered from a PR merge in that formula...So another question: I've been considering where to put this
ssf-formula
repo. I don't want to be presumptuous and put it into this org immediately. I was thinking to start the repo in my account and test it out for a few more iterations. Then we could decide to bring it across at the right time. What do you think?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@myii looks fine to put this tool in your personal account (that's where I looked for it :) at least for now. Then we could move it to org.
About the images list, the one from @javierbertoli looks fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daks Thanks for the feedback, I'll start the repo in my account, as planned.
In terms of the matrix, a few queries:
amazonlinux
images we have?ssf-formula
, there was a logjam for an hour or two.vault-formula
, where we're keeping hold of a platform that still usesupstart
-- is it worth ensuring we have one of these in the matrix as well, such as an Ubuntu-14.04 (which is still under support for a while yet)?