Skip to content

Drop MODEL_SETTINGS from example charms and Charmcraft profiles #2652

Description

@dwilding

In tox.ini for our example charms we have

[testenv]
...
pass_env =
    PYTHONPATH
    CHARM_BUILD_DIR
    MODEL_SETTINGS

I assume that MODEL_SETTINGS is there to make it easier to pass model config settings to Juju for integration tests. But we don't document this anywhere or read MODEL_SETTINGS in Jubilant etc. So the charmer would have to figure out how to wire up everything themselves.

Is it really a useful placeholder? How about we drop it from the example charms and Charmcraft profiles.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationrainy daySmall items done in ~10% of each week's timesmall itemA small item, for some value of 'small'

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions