Closed solarchad closed 4 years ago
Thanks @myii. I made these changes but I see that Travis is still unhappy. Is it failing for unrelated reasons now?
@solarchad The commitlint
is passing now but the yamllint
is still failing on the same lines.
https://travis-ci.com/saltstack-formulas/docker-formula/jobs/278367547#L298-L301
$ yamllint -s .
./pillar.example
18:28 warning truthy value should be one of [false, true] (truthy)
44:28 warning truthy value should be one of [false, true] (truthy)
Perhaps you didn't add the changes to the latest commit you pushed?
Whoops, sorry about that. I forgot to add the pillar.example
before the last push. Just added it and pushed again. 🤞
:tada: This PR is included in version 0.43.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
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 should avoid this problem when trying to start the service (and the container was created but not running). For example:
I hit the problem with the AWS ecs-agent and in their ECS developer guide (on page 212), you can see that they have their systemd unit file using an
ExecStartPre
to remove the container before trying to start it.This is useful if say the container gets created from a failed run. If you try to run it again, it will continue to fail because the container was created with the same name.
Pillar / config required to test the proposed changes
See the
pillar.example
.Debug log showing how the proposed changes work
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context