-
Notifications
You must be signed in to change notification settings - Fork 308
[fix] Update apt-cache before installing dependencies #205
Conversation
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.
LGTM, but let's see if CI catches anything.
Hmm it seems to fail at the pre-validate stage but I have trouble parsing the output. Any pointers? Edit: maybe it's linting, I'm checking Edit2: Seems to be linting but I'm not sure where exactly it fails:
I've ran |
The issue is with molecule itself. More in cloudalchemy/skeleton#5. You can port that fix here and it should work. |
I've migrated the changes but now there are a lot of warnings and errors from Edit: I'd be happy to fix them but let me know how to handle the docker module exception |
Seems like migration to molecule v3 might take more time than I though :( Can you revert previous change and just pin molecule to version v2 in
Sorry for those problems. I'll try to tackle it during weekend. |
Updates the apt cache before installing Grafana dependencies through the package manager. This resolves a bug where old dependencies, or those with a changed name, would not be installed due to the package manager not being able to find them. Also pins molecule in test-requirements to less than v3
3751d4f
to
a9e3a52
Compare
I've reverted and squashed commits.
No worries! Let me know if I can help with anything 🙂 |
Seems like tests don't like refreshing apt cache:
from https://travis-ci.com/cloudalchemy/ansible-grafana/jobs/291642777#L907 If this is necessary we might need to use Maybe we can move refreshing cache to block in which we set up GPG keys for repository? |
I agree, this is not something I'd want to do either.
If you mean the block later in the task, I don't think it works because Edit: looks good 🙂 |
* Update apt-cache before installing dependencies Updates the apt cache before installing Grafana dependencies through the package manager. This resolves a bug where old dependencies, or those with a changed name, would not be installed due to the package manager not being able to find them. Also pins molecule in test-requirements to less than v3 * Move update cache in block with install dependencies
Updates the apt cache before installing Grafana dependencies
through the package manager. This resolves a bug where old dependencies,
or those with a changed name, would not be installed due to
the package manager not being able to find them.
Fixes #200
Ref #201