-
Notifications
You must be signed in to change notification settings - Fork 329
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(formula): modernize, fix bugs/travis, archive/windows support #256
feat(formula): modernize, fix bugs/travis, archive/windows support #256
Conversation
cb8f2ac
to
d7973af
Compare
Updated the PR to fix/add some states (which were tested manually)
The Swarm support (salt module) is really basic and pillar driven (no sanity checks). Here is
|
6b79813
to
b388931
Compare
b388931
to
631d9b8
Compare
001391f
to
457f976
Compare
beedd4b
to
f6479e1
Compare
- align tom template formula - fix bugs - add Windows support - Add saltstack dockercompose module support - Get rid of confusing old legacy spagetti jinja conditionals - Travis CI (package/archive) is passing - Windows is passing - Fixes/obsoletes: saltstack-formulas#252, saltstack-formulas#249, saltstack-formulas#243, saltstack-formulas#236, saltstack-formulas#234, saltstack-formulas#219, saltstack-formulas#202, saltstack-formulas#191 - Fixes/obsoletes: saltstack-formulas#190, saltstack-formulas#160, saltstack-formulas#95, saltstack-formulas#85, saltstack-formulas#74 - Includes saltstack-formulas#251 and saltstack-formulas#253 - Add Swarm support BREAKING CHANGE: This version is not backwards compatible. Update your states and pillar data to align with new formula. - MacOS was not tested in this PR but hopefully no regression. - docker.containers: sls was simplified (raise PR if regression)
f6479e1
to
1e48667
Compare
Updated commit to fix saltstack/salt#58920 (CentOS) |
@myii is unavailable for review and this PR is too big to be reviewed anyway. So other measurements are needed:
Since it's open for 9 days and I need some of these features for current projects I will selfie-merge. Hope everyone is happy with this. The commit is marked as BREAKING so a new major semantic release will be generated. I will close fixed issues. |
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@noelmcloughlin for posterity, I checked out the PR branch and tested it on centos 8, centos 7.3 and appeared to work just fine for installing docker and docker-compose. Happy to do some more testing if anything crops up. Thanks! |
@BadgerOps Thank you. This is the first time Travis CI/CD is working so that helps. |
* saltstack-formulas/docker-formula#256 - Includes using TOFS for Kitchen & Travis templates.
PR progress checklist (to be filled in by reviewers)
What type of PR is this?
Primary type
[build]
Changes related to the build system[chore]
Changes to the build process or auxiliary tools and libraries such as documentation generation[ci]
Changes to the continuous integration configuration[feat]
A new feature[fix]
A bug fix[perf]
A code change that improves performance[refactor]
A code change that neither fixes a bug nor adds a feature[revert]
A change used to revert a previous commit[style]
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)Secondary type
[docs]
Documentation changes[test]
Adding missing or correcting existing testsDoes this PR introduce a
BREAKING CHANGE
?YES !!!
Related issues and/or pull requests
#252
#249
#243
#236
#234
#219
#202
#191
#190
#160
#95
#85
#74
#251
#253
Describe the changes you're proposing
This PR modernizes the docker formula by doing the following:
BREAKING CHANGE: This version is not backward compatible. Update
your states and pillar data to align with the new formula structure.
docker.containers
sls was simplified (tested manually)docker.swarm
support is really basic (init.sls tested manually)README
andpillar.example
Pillar / config required to test the proposed changes
Debug log showing how the proposed changes work
For Linux See Travis CI/CD
For Windows see below:
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context