-
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
fix(compose-ng): Adding ability to set devices #269
Conversation
LGTM, but can you add example pillars to |
Yeah, and actually I jumped the gun on the PR. There is an issue. I'll fix tomorrow though. |
96a0ba7
to
2f9e0e6
Compare
Should I add a new container as an example or add the devices key to an existing one? |
Whichever you prefer to be honest. thanks
…On Thu, Dec 17, 2020 at 9:48 PM Nathan Snow ***@***.***> wrote:
Should I add a new container as an example or add the devices key to an
existing one?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#269 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFUUQVAQUX5U3O7IRSYKWLSVJ4CNANCNFSM4U7HE6TA>
.
|
2f9e0e6
to
4d6943b
Compare
Added pillar example |
Oops, wrong account. That was my comment just above. |
4d6943b
to
cfefeb5
Compare
@japtain-cack The CI is finally running again and it's showing us that this is failing the https://gitlab.com/saltstack-formulas/docker-formula/-/jobs/921902322#L158
While you haven't touched |
I merged #270, thanks. Please get GitLab CI (funny to say that) working and all should be good. I doubt CI supports arm64? |
cfefeb5
to
2b04ee7
Compare
Ok, I think I have all the tests passing now. Let me know if I should do anything else. |
Thanks @japtain-cack, CI tests passing so all looks good -- merged.
@noelmcloughlin This formulas was one of 4 out of 95 that I couldn't get working properly in GitLab CI. We're currently only running all of the pre-flight checks. Perhaps the |
🎉 This PR is included in version 1.1.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@myii 91/95 is impressive. well done. Some people are running this formula on Rasberry Pi so #270 was arch64. I remember fixing up Travis CI on this formula a while back and wondering if the platform should be changed to vagrant so that |
@noelmcloughlin Vagrant-based testing (using GitHub Actions) is probably the way to go for this formula. We've got some (Windows) examples:
Obviously, would need to use Linux platforms!
Yes, we're using Line 25 in a5b95c0
The problem is that this formula would require Docker-in-Docker-in-Docker(!), which I wouldn't expect to work too well:
To be honest, even Travis CI was struggling with that and not all of the states could be run in that setup. |
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
?No.
Related issues and/or pull requests
Describe the changes you're proposing
This adds support for devices. List of host devices to expose within the container. Can be expressed as a comma-separated list or a YAML list.
Pillar / config required to test the proposed changes
Debug log showing how the proposed changes work
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context