charmed-kubernetes / pytest-operator

Apache License 2.0
7 stars 13 forks source link

Execute charmcraft build with lxd group #25

Closed DomFleischmann closed 3 years ago

DomFleischmann commented 3 years ago

With the latest changes in the charmcraft snap it is required to execute charmcraft in the lxd user group.

johnsca commented 3 years ago

I was trying to figure out why it's still failing on build with Password: Invalid password. but I got distracted by other things and didn't make any progress. I also can't figure out why the canonical/kubeflow-volumes-operator#3 PR didn't fail on the charmcraft build even without the LXD group.

DomFleischmann commented 3 years ago

I was trying to figure out why it's still failing on build with Password: Invalid password. but I got distracted by other things and didn't make any progress.

That is because it is missing the lxd user group creation that is in this PR. Both PRs depend on each other this one fails because the user group hasn't been created and the other one fails because charmcraft build is executed without user group.

I also can't figure out why the canonical/kubeflow-volumes-operator#3 PR didn't fail on the charmcraft build even without the LXD group.

That is because I'm accidentaly still pointing to the branch of this PR.